Skip to content
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

Merged
merged 2 commits into from
Sep 18, 2018

Conversation

emlun
Copy link
Member

@emlun emlun commented Sep 18, 2018

Copy link
Contributor

@equalsJeffH equalsJeffH left a 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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice

Copy link
Member Author

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.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[=attestation certificate=] ?

Copy link
Member Author

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=]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[=attestation type=] ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will do!

@emlun emlun merged commit 721c507 into issue-1024-fido-u2f-attca Sep 18, 2018
@emlun emlun deleted the pr-1054-more-implementation-specific branch September 18, 2018 16:46
@emlun emlun added the process:meta-pr Pull requests into other pull requests rather than main label Feb 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
process:meta-pr Pull requests into other pull requests rather than main type:editorial
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants