Changeset 268834 in webkit
- Timestamp:
- Oct 21, 2020, 3:15:58 PM (6 years ago)
- Location:
- branches/safari-610-branch
- Files:
-
- 4 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/http/wpt/webauthn/public-key-credential-create-success-local.https.html (modified) (1 diff)
-
Source/WebKit/ChangeLog (modified) (1 diff)
-
Source/WebKit/UIProcess/WebAuthentication/Cocoa/LocalAuthenticator.mm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/safari-610-branch/LayoutTests/ChangeLog
r268529 r268834 1 2020-10-21 Russell Epstein <repstein@apple.com> 2 3 Cherry-pick r268602. rdar://problem/70541712 4 5 [WebAuthn] Remove the "alg" field in the attestation statement 6 https://bugs.webkit.org/show_bug.cgi?id=217720 7 <rdar://problem/70349734> 8 9 Reviewed by Brent Fulgham. 10 11 Source/WebKit: 12 13 This old field was used in an unreleased old attestation statement format and is not used by 14 the final attestation statement format that will be added to the spec: 15 https://github.com/w3c/webauthn/pull/1491. 16 17 Therefore, remove it to resolve confusion. 18 19 Covered by existing tests. 20 21 * UIProcess/WebAuthentication/Cocoa/LocalAuthenticator.mm: 22 (WebKit::LocalAuthenticator::continueMakeCredentialAfterAttested): 23 24 LayoutTests: 25 26 * http/wpt/webauthn/public-key-credential-create-success-local.https.html: 27 28 29 git-svn-id: https://svn.webkit.org/repository/webkit/trunk@268602 268f45cc-cd09-0410-ab3c-d52691b4dbfc 30 31 2020-10-16 Jiewen Tan <jiewen_tan@apple.com> 32 33 [WebAuthn] Remove the "alg" field in the attestation statement 34 https://bugs.webkit.org/show_bug.cgi?id=217720 35 <rdar://problem/70349734> 36 37 Reviewed by Brent Fulgham. 38 39 * http/wpt/webauthn/public-key-credential-create-success-local.https.html: 40 1 41 2020-10-08 Russell Epstein <repstein@apple.com> 2 42 -
branches/safari-610-branch/LayoutTests/http/wpt/webauthn/public-key-credential-create-success-local.https.html
r259680 r268834 39 39 assert_object_equals(attestationObject.attStmt, { }); 40 40 else { 41 assert_equals(attestationObject.attStmt.alg, -7);42 41 assert_equals(attestationObject.attStmt.x5c.length, 2); 43 42 assert_array_equals(attestationObject.attStmt.x5c[0], Base64URL.parse(testAttestationCertificateBase64)); -
branches/safari-610-branch/Source/WebKit/ChangeLog
r268833 r268834 1 2020-10-21 Russell Epstein <repstein@apple.com> 2 3 Cherry-pick r268602. rdar://problem/70541712 4 5 [WebAuthn] Remove the "alg" field in the attestation statement 6 https://bugs.webkit.org/show_bug.cgi?id=217720 7 <rdar://problem/70349734> 8 9 Reviewed by Brent Fulgham. 10 11 Source/WebKit: 12 13 This old field was used in an unreleased old attestation statement format and is not used by 14 the final attestation statement format that will be added to the spec: 15 https://github.com/w3c/webauthn/pull/1491. 16 17 Therefore, remove it to resolve confusion. 18 19 Covered by existing tests. 20 21 * UIProcess/WebAuthentication/Cocoa/LocalAuthenticator.mm: 22 (WebKit::LocalAuthenticator::continueMakeCredentialAfterAttested): 23 24 LayoutTests: 25 26 * http/wpt/webauthn/public-key-credential-create-success-local.https.html: 27 28 29 git-svn-id: https://svn.webkit.org/repository/webkit/trunk@268602 268f45cc-cd09-0410-ab3c-d52691b4dbfc 30 31 2020-10-16 Jiewen Tan <jiewen_tan@apple.com> 32 33 [WebAuthn] Remove the "alg" field in the attestation statement 34 https://bugs.webkit.org/show_bug.cgi?id=217720 35 <rdar://problem/70349734> 36 37 Reviewed by Brent Fulgham. 38 39 This old field was used in an unreleased old attestation statement format and is not used by 40 the final attestation statement format that will be added to the spec: 41 https://github.com/w3c/webauthn/pull/1491. 42 43 Therefore, remove it to resolve confusion. 44 45 Covered by existing tests. 46 47 * UIProcess/WebAuthentication/Cocoa/LocalAuthenticator.mm: 48 (WebKit::LocalAuthenticator::continueMakeCredentialAfterAttested): 49 1 50 2020-10-21 Russell Epstein <repstein@apple.com> 2 51 -
branches/safari-610-branch/Source/WebKit/UIProcess/WebAuthentication/Cocoa/LocalAuthenticator.mm
r263782 r268834 403 403 cbor::CBORValue::MapValue attestationStatementMap; 404 404 { 405 attestationStatementMap[cbor::CBORValue("alg")] = cbor::CBORValue(COSE::ES256);406 405 Vector<cbor::CBORValue> cborArray; 407 406 for (size_t i = 0; i < [certificates count]; i++)
Note:
See TracChangeset
for help on using the changeset viewer.