⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 268834 in webkit


Ignore:
Timestamp:
Oct 21, 2020, 3:15:58 PM (6 years ago)
Author:
Alan Coon
Message:

Cherry-pick r268602. rdar://problem/70541712

[WebAuthn] Remove the "alg" field in the attestation statement
https://bugs.webkit.org/show_bug.cgi?id=217720
<rdar://problem/70349734>

Reviewed by Brent Fulgham.

Source/WebKit:

This old field was used in an unreleased old attestation statement format and is not used by
the final attestation statement format that will be added to the spec:
https://github.com/w3c/webauthn/pull/1491.

Therefore, remove it to resolve confusion.

Covered by existing tests.

  • UIProcess/WebAuthentication/Cocoa/LocalAuthenticator.mm: (WebKit::LocalAuthenticator::continueMakeCredentialAfterAttested):

LayoutTests:

  • http/wpt/webauthn/public-key-credential-create-success-local.https.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@268602 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Location:
branches/safari-610-branch
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/safari-610-branch/LayoutTests/ChangeLog

    r268529 r268834  
     12020-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
    1412020-10-08  Russell Epstein  <repstein@apple.com>
    242
  • branches/safari-610-branch/LayoutTests/http/wpt/webauthn/public-key-credential-create-success-local.https.html

    r259680 r268834  
    3939            assert_object_equals(attestationObject.attStmt, { });
    4040        else {
    41             assert_equals(attestationObject.attStmt.alg, -7);
    4241            assert_equals(attestationObject.attStmt.x5c.length, 2);
    4342            assert_array_equals(attestationObject.attStmt.x5c[0], Base64URL.parse(testAttestationCertificateBase64));
  • branches/safari-610-branch/Source/WebKit/ChangeLog

    r268833 r268834  
     12020-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
    1502020-10-21  Russell Epstein  <repstein@apple.com>
    251
  • branches/safari-610-branch/Source/WebKit/UIProcess/WebAuthentication/Cocoa/LocalAuthenticator.mm

    r263782 r268834  
    403403    cbor::CBORValue::MapValue attestationStatementMap;
    404404    {
    405         attestationStatementMap[cbor::CBORValue("alg")] = cbor::CBORValue(COSE::ES256);
    406405        Vector<cbor::CBORValue> cborArray;
    407406        for (size_t i = 0; i < [certificates count]; i++)
Note: See TracChangeset for help on using the changeset viewer.