-
Notifications
You must be signed in to change notification settings - Fork 11.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test #20017
base: main
Are you sure you want to change the base?
test #20017
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
3 Skipped Deployments
|
0a7034c
to
8f86df1
Compare
8f86df1
to
90a91c6
Compare
f056421
to
de1eacd
Compare
0f9b9a8
to
0a911f0
Compare
7734654
to
63320e2
Compare
272320e
to
953eb3a
Compare
953eb3a
to
2210d13
Compare
2210d13
to
90a3f3d
Compare
90a3f3d
to
9c9a1f8
Compare
// Step 1. Decode the CBOR object and map it to a COSE_Sign1 structure | ||
let cose_sign1 = CoseSign1::from_bytes(document_data) | ||
.map_err(|_| SuiError::AttestationFailedToVerify("cannot parse cose sign1".to_string()))?; | ||
let now = SystemTime::now(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nitro enclave attestation expires in 3 hours. is it safe to use system time now from validators?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
local time is not consistent, we can read Clock on the Move level and pass its value to the native call
InvalidUserData, | ||
} | ||
|
||
impl From<ciborium::de::Error<std::io::Error>> for NitroError { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove
Description
Describe the changes or additions included in this PR.
Test plan
How did you test the new or updated feature?
Release notes
Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required.
For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates.