-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
verifier: add judge logic for quote and eventlog string
This patch adds a check logic before trying to base decoding TDX/SGX quote and AAEL/CCEL. This would do help to raise a meaningful error message when an evidence with empty Quote is given to verifier module. Also, when AAEL/CCEL is existed inside the evidence but without any value, the deserialization and parse will also be skipped. Signed-off-by: Xynnn007 <[email protected]>
- Loading branch information
Showing
2 changed files
with
12 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters