-
Notifications
You must be signed in to change notification settings - Fork 166
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
Make implementation-specificness of attestn.verif. return values more explicit #1071
Make implementation-specificness of attestn.verif. return values more explicit #1071
Conversation
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.
LGTM, thx! a couple nits suggested below.
index.bs
Outdated
@@ -3944,10 +3949,12 @@ even if the SafetyNet API is also present. | |||
contained fields. | |||
- Verify that |response| is a valid SafetyNet response of version |ver|. | |||
- Verify that the nonce in the |response| is identical to the Base64url encoding of the SHA-256 hash of the concatenation of |authenticatorData| and |clientDataHash|. | |||
- Verify that the attestation certificate is issued to the hostname "attest.android.com" (see | |||
- Let |attestationCert| be the attestation certificate. | |||
- Verify that |attestatioCert| is issued to the hostname "attest.android.com" (see |
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.
nice
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.
Thanks!
index.bs
Outdated
@@ -3944,10 +3949,12 @@ even if the SafetyNet API is also present. | |||
contained fields. | |||
- Verify that |response| is a valid SafetyNet response of version |ver|. | |||
- Verify that the nonce in the |response| is identical to the Base64url encoding of the SHA-256 hash of the concatenation of |authenticatorData| and |clientDataHash|. | |||
- Verify that the attestation certificate is issued to the hostname "attest.android.com" (see | |||
- Let |attestationCert| be the attestation certificate. |
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.
[=attestation certificate=] ?
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.
Will do!
index.bs
Outdated
[SafetyNet online documentation](https://developer.android.com/training/safetynet/index.html#compat-check-response)). | ||
- Verify that the `ctsProfileMatch` attribute in the payload of |response| is [TRUE]. | ||
- If successful, return attestation type [=Basic=] with the [=attestation trust path=] set to the above attestation certificate. | ||
- If successful, return implementation-specific values representing attestation type [=Basic=] and [=attestation trust path=] |
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.
[=attestation type=] ?
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.
Will do!
See #1054 (comment)
Preview | Diff