[webauthn] Add "smart-card" to AuthenticatorTransport enum (WebKit) (#1835)

micolous has just created a new issue for https://github.com/w3c/webauthn:

== Add "smart-card" to AuthenticatorTransport enum (WebKit) ==
## Proposed Change

Apple/WebKit has added a new transport, `smart-card`, in https://github.com/WebKit/WebKit/pull/2207

https://github.com/WebKit/WebKit/blob/f5eb326e26ffc147b9421cbb3db9ce1d21750d8e/Source/WebCore/Modules/webauthn/WebAuthenticationConstants.h#L95

This transport does *not* appear in the list of transports in the spec: https://w3c.github.io/webauthn/#enum-transport

This should be added to the list.

It looks like this transport uses the [CryptoTokenKit TKSmartCard API](https://developer.apple.com/documentation/cryptotokenkit/tksmartcard), from which a vague reading may suggest this eventually hooks into platform PC/SC APIs... which makes me think this is basically the same as the (standard) `nfc` transport, but is intended to work with NFC transceivers on macOS.

However, when I tried to use this on Safari 16.0 on macOS 12.6 with a PC/SC compatible NFC transceiver (which works fine with other applications), Safari doesn't try to use it at all. Perhaps Apple folks (or those with Radar access) could comment further, as [the public bug](https://bugs.webkit.org/show_bug.cgi?id=242365) is light on details.

Please view or discuss this issue at https://github.com/w3c/webauthn/issues/1835 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Saturday, 17 December 2022 07:13:11 UTC