Conversation
6927282 to
70b627f
Compare
Made-with: Cursor
3d6b335 to
75306f7
Compare
attestation-gateway/src/android/key_description/key_description.rs
Outdated
Show resolved
Hide resolved
| } | ||
|
|
||
| pub fn from_x509(cert_chain: Vec<X509>) -> eyre::Result<Self, AndroidCertChainError> { | ||
| if cert_chain.len() < 2 { |
There was a problem hiding this comment.
I think it would be at least 3 cert in the chain, but I did not do research on this, do you have a sense of why we chosed 2?
There was a problem hiding this comment.
Actually I just instinctively used 2 because I have special treatment for first and last cert in chain. Honestly it could be 1.
|
Warning Review the following alerts detected in dependencies. According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.
|
…eway-face-auth-flow-a-endpoint-android
…uth-flow-a-endpoint-android' of github.com:worldcoin/attestation-gateway into dmitrytyshchenko/corplat-603-attestation-gateway-face-auth-flow-a-endpoint-android
Wire AndroidAttestationService, cert chain verification, and embedded Google hardware attestation roots. Extend BundleIdentifier with certificate_sha256_digest_base64 for attestation signature checks.