-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cherry-pick r294122. rdar://problem/93191958
[WebAuthn] Include backup state in authenticatorData https://bugs.webkit.org/show_bug.cgi?id=240353 rdar://problem/93191958 Reviewed by Brent Fulgham. Source/WebCore: Add flags for credential backup state: w3c/webauthn#1695 * Modules/webauthn/WebAuthenticationConstants.h: Source/WebKit: This patch adds support for backup state flags, which will be added to the Web Authentication spec soon via w3c/webauthn#1695 These flags are set whenever a credential is "backup eligible" and "backed up" hinting to RPs that the credential is "durable" and may persist through device restores. This is useful for RPs that may choose to offer to remove the user password if a credental is in this state. * UIProcess/WebAuthentication/Cocoa/LocalAuthenticator.mm: (WebKit::LocalAuthenticatorInternal::authDataFlags): (WebKit::LocalAuthenticator::continueMakeCredentialAfterUserVerification): (WebKit::LocalAuthenticator::continueGetAssertionAfterUserVerification): Canonical link: https://commits.webkit.org/250501@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@294122 268f45cc-cd09-0410-ab3c-d52691b4dbfc Canonical link: https://commits.webkit.org/[email protected] git-svn-id: https://svn.webkit.org/repository/webkit/branches/safari-7614.1.13-branch@294134 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
4 changed files
with
119 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,49 @@ | ||
2022-05-12 Russell Epstein <[email protected]> | ||
|
||
Cherry-pick r294122. rdar://problem/93191958 | ||
|
||
[WebAuthn] Include backup state in authenticatorData | ||
https://bugs.webkit.org/show_bug.cgi?id=240353 | ||
rdar://problem/93191958 | ||
|
||
Reviewed by Brent Fulgham. | ||
|
||
Source/WebCore: | ||
|
||
Add flags for credential backup state: https://github.com/w3c/webauthn/pull/1695 | ||
|
||
* Modules/webauthn/WebAuthenticationConstants.h: | ||
|
||
Source/WebKit: | ||
|
||
This patch adds support for backup state flags, which will be added to | ||
the Web Authentication spec soon via https://github.com/w3c/webauthn/pull/1695 | ||
|
||
These flags are set whenever a credential is "backup eligible" and "backed up" | ||
hinting to RPs that the credential is "durable" and may persist through device | ||
restores. This is useful for RPs that may choose to offer to remove the user | ||
password if a credental is in this state. | ||
|
||
* UIProcess/WebAuthentication/Cocoa/LocalAuthenticator.mm: | ||
(WebKit::LocalAuthenticatorInternal::authDataFlags): | ||
(WebKit::LocalAuthenticator::continueMakeCredentialAfterUserVerification): | ||
(WebKit::LocalAuthenticator::continueGetAssertionAfterUserVerification): | ||
|
||
|
||
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@294122 268f45cc-cd09-0410-ab3c-d52691b4dbfc | ||
|
||
2022-05-12 J Pascoe <[email protected]> | ||
|
||
[WebAuthn] Include backup state in authenticatorData | ||
https://bugs.webkit.org/show_bug.cgi?id=240353 | ||
rdar://problem/93191958 | ||
|
||
Reviewed by Brent Fulgham. | ||
|
||
Add flags for credential backup state: https://github.com/w3c/webauthn/pull/1695 | ||
|
||
* Modules/webauthn/WebAuthenticationConstants.h: | ||
|
||
2022-05-12 Russell Epstein <[email protected]> | ||
|
||
Cherry-pick r294088. rdar://problem/93134975 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,58 @@ | ||
2022-05-12 Russell Epstein <[email protected]> | ||
|
||
Cherry-pick r294122. rdar://problem/93191958 | ||
|
||
[WebAuthn] Include backup state in authenticatorData | ||
https://bugs.webkit.org/show_bug.cgi?id=240353 | ||
rdar://problem/93191958 | ||
|
||
Reviewed by Brent Fulgham. | ||
|
||
Source/WebCore: | ||
|
||
Add flags for credential backup state: https://github.com/w3c/webauthn/pull/1695 | ||
|
||
* Modules/webauthn/WebAuthenticationConstants.h: | ||
|
||
Source/WebKit: | ||
|
||
This patch adds support for backup state flags, which will be added to | ||
the Web Authentication spec soon via https://github.com/w3c/webauthn/pull/1695 | ||
|
||
These flags are set whenever a credential is "backup eligible" and "backed up" | ||
hinting to RPs that the credential is "durable" and may persist through device | ||
restores. This is useful for RPs that may choose to offer to remove the user | ||
password if a credental is in this state. | ||
|
||
* UIProcess/WebAuthentication/Cocoa/LocalAuthenticator.mm: | ||
(WebKit::LocalAuthenticatorInternal::authDataFlags): | ||
(WebKit::LocalAuthenticator::continueMakeCredentialAfterUserVerification): | ||
(WebKit::LocalAuthenticator::continueGetAssertionAfterUserVerification): | ||
|
||
|
||
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@294122 268f45cc-cd09-0410-ab3c-d52691b4dbfc | ||
|
||
2022-05-12 J Pascoe <[email protected]> | ||
|
||
[WebAuthn] Include backup state in authenticatorData | ||
https://bugs.webkit.org/show_bug.cgi?id=240353 | ||
rdar://problem/93191958 | ||
|
||
Reviewed by Brent Fulgham. | ||
|
||
This patch adds support for backup state flags, which will be added to | ||
the Web Authentication spec soon via https://github.com/w3c/webauthn/pull/1695 | ||
|
||
These flags are set whenever a credential is "backup eligible" and "backed up" | ||
hinting to RPs that the credential is "durable" and may persist through device | ||
restores. This is useful for RPs that may choose to offer to remove the user | ||
password if a credental is in this state. | ||
|
||
* UIProcess/WebAuthentication/Cocoa/LocalAuthenticator.mm: | ||
(WebKit::LocalAuthenticatorInternal::authDataFlags): | ||
(WebKit::LocalAuthenticator::continueMakeCredentialAfterUserVerification): | ||
(WebKit::LocalAuthenticator::continueGetAssertionAfterUserVerification): | ||
|
||
2022-05-12 Russell Epstein <[email protected]> | ||
|
||
Cherry-pick r294084. rdar://problem/93036066 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters