WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
233389
[WebAuthn] Consider support for the displayName for FIDO authenticator
https://bugs.webkit.org/show_bug.cgi?id=233389
Summary
[WebAuthn] Consider support for the displayName for FIDO authenticator
pascoe@apple.com
Reported
2021-11-19 16:28:39 PST
Vendors have requested that we support displayName for platform authenticator. Adding icon while at it.
Attachments
Patch
(8.92 KB, patch)
2021-11-19 16:32 PST
,
pascoe@apple.com
no flags
Details
Formatted Diff
Diff
Patch
(8.82 KB, patch)
2021-12-06 10:30 PST
,
pascoe@apple.com
no flags
Details
Formatted Diff
Diff
Patch
(8.68 KB, patch)
2021-12-08 10:15 PST
,
pascoe@apple.com
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
pascoe@apple.com
Comment 1
2021-11-19 16:28:44 PST
rdar://84938707
pascoe@apple.com
Comment 2
2021-11-19 16:32:34 PST
Created
attachment 444868
[details]
Patch
pascoe@apple.com
Comment 3
2021-12-06 10:30:51 PST
Created
attachment 446049
[details]
Patch
Brent Fulgham
Comment 4
2021-12-07 15:01:59 PST
Comment on
attachment 446049
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=446049&action=review
> Source/WebKit/ChangeLog:9 > + Start storing the displayName and icon fields with the platform authenticator
Are these part of the WebAuthn spec? If so, could you add comments in the code indicating the relevant spec step to make it easy to find/validate this later?
> Source/WebKit/UIProcess/API/Cocoa/_WKWebAuthenticationPanel.mm:271 > + [credential setDictionary:@{
Could also be done with 'initWithObjectsAndKeys: ', but I doubt there's any real performance benefit to doing so.
pascoe@apple.com
Comment 5
2021-12-08 10:15:30 PST
Created
attachment 446381
[details]
Patch
pascoe@apple.com
Comment 6
2021-12-08 10:16:57 PST
Thank you for the review. Addressed comments and removed icon from the change, as it is a field that was removed from the webauthn spec in:
https://github.com/w3c/webauthn/pull/1337
Brent Fulgham
Comment 7
2021-12-08 10:21:26 PST
Comment on
attachment 446381
[details]
Patch r=me. Nice!
EWS
Comment 8
2021-12-08 15:50:32 PST
Committed
r286746
(
244991@main
): <
https://commits.webkit.org/244991@main
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 446381
[details]
.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug