WebAuthn: Difference between revisions

added eWBM's Goldengate "World's 1st, Fido 2 & Security Level 2 certified" key - press release
Clarify how user verification works. The previous text seems to be based on how the Windows 10 implementation, but on other platforms (e.g. Android) a PIN is just of many available options and is not required.
Line 12: Line 12:


== Background ==
== Background ==
FIDO2 is the successor of the FIDO Universal 2nd Factor (U2F) legacy protocol. FIDO2 authentication has all the advantages of U2F—the primary difference is that a FIDO2 authenticator is a multi-factor authenticator.
FIDO2 is the successor of the FIDO Universal 2nd Factor (U2F) legacy protocol. FIDO2 authentication has all the advantages of U2F—the primary difference is that a FIDO2 authenticator can also be a multi-factor authenticator.


A FIDO2 authenticator may be used in either single-factor mode or multi-factor mode. In single-factor mode, the authenticator is activated by a test of user presence (TUP), which usually consists of a simple button push. In multi-factor mode, the authenticator (''something you have'') is activated by either a [[Personal identification number|PIN]] (''something you know'') or a [[Biometrics|biometric]] (''something you are'').
A FIDO2 authenticator may be used in either single-factor mode or multi-factor mode. In single-factor mode, the authenticator is activated by a test of user presence, which usually consists of a simple button push. In multi-factor mode, the authenticator (''something you have'') also performs user verification. Depending on the authenticator capabilities, this can be:<ref>{{Cite web|url=https://fidoalliance.org/specs/fido-v2.0-rd-20180702/fido-registry-v2.0-rd-20180702.html#user-verification-methods|title=FIDO Registry of Predefined Values|last=Baghdasaryan|first=Davit|last2=Hill|first2=Brad|date=2 July 2018|website=fidoalliance.org|publisher=FIDO Alliance|archive-url=|archive-date=|dead-url=|access-date=2019-06-16}}</ref>


In any case, FIDO2 authentication does not require a traditional password. A memorized secret (the PIN) is required for user verification in multi-factor mode but that secret is not shared with the website. The PIN is stored on the authenticator and never leaves the authenticator. Moreover, a single PIN works with all websites.
* ''something you know:'' a secret such as a [[Personal identification number|PIN]], [[Password|passcode]] or swipe pattern
* ''something you are:'' a [[Biometrics|biometric]] such as fingerprint, iris or voice


In addition to the PIN, a FIDO2 authenticator may support a biometric (typically a fingerprint). Like the PIN, the biometric is stored on the authenticator and never leaves the authenticator.
In any case, the authenticator performs user verification locally on the device. A secret or biometric stored on the authenticator is not shared with the website.<ref>{{Cite web|url=https://www.w3.org/TR/webauthn/Overview.html#user-verification|title=Web Authentication: An API for accessing Public Key Credentials Level 1 § Terminology: User Verification|last=|first=|date=4 March 2019|website=www.w3.org|publisher=W3C|archive-url=|archive-date=|dead-url=|access-date=2019-06-16}}</ref> Moreover, a single secret or biometric works with all websites, as the authenticator will select the correct [[Public-key cryptography|cryptographic key material]] to use for the service requesting authentication after user verification was completed successfully.


The PIN and biometric on the authenticator work together like the PIN and biometric on your [[smartphone]]. In practice, a fingerprint is used to provide convenient access to your smartphone but occasionally fingerprint access fails, in which case the phone falls back on the PIN. A FIDO2 authenticator with both PIN and biometric works similarly.
A secret and biometric on the authenticator can be used together, similarly to how they would be used on a [[smartphone]]. For example, a fingerprint is used to provide convenient access to your smartphone but occasionally fingerprint access fails, in which case a PIN can be used.
 
Since no shared secret is transmitted over the network, FIDO2 authentication is sometimes called '''passwordless web authentication''',<ref>{{cite web |last1=Claburn |first1=Thomas |title=You. Shall. Not. Pass...word: Soon, you may be logging into websites using just your phone, face, fingerprint or token |url=https://www.theregister.co.uk/2019/03/05/web_authentication/ |publisher=[[The Register]] |accessdate=8 March 2019 |date=5 March 2019}}</ref><ref>{{cite web |last1=Stockley |first1=Mark |title=The passwordless web explained |url=https://nakedsecurity.sophos.com/2018/11/22/the-passwordless-web-explained/ |publisher=Naked Security ([[Sophos]]) |accessdate=15 March 2019 |date=22 November 2018}}</ref> which is somewhat misleading (due to the PIN). That catch phrase tends to be used interchangeably with the more accurate term ''FIDO2 authentication''.


== Overview ==
== Overview ==