Security/CryptoEngineering: Difference between revisions

(→‎PSM: updates)
(→‎Web Authentication: update dates)
Line 45: Line 45:
* 2017 (late): Update to the Candidate Recommendation of the WebAuthn JS API.
* 2017 (late): Update to the Candidate Recommendation of the WebAuthn JS API.
** [https://bugzilla.mozilla.org/show_bug.cgi?id=1384776 Bug 1384776]
** [https://bugzilla.mozilla.org/show_bug.cgi?id=1384776 Bug 1384776]
* 2018: Support USB HID CTAP devices on desktop platforms. (Exact version TBD)
* 2019: Support USB HID CTAP devices on desktop platforms. (Exact version TBD)
** [https://github.com/jcjones/u2f-hid-rs/issues/33 u2f-hid-rs Issue #33]
** [https://github.com/jcjones/u2f-hid-rs/issues/33 u2f-hid-rs Issue #33]
* 2018: Support U2F hardware for Firefox for Android.
* 2019: Support U2F hardware for Firefox for Android.
** [https://github.com/jcjones/u2f-hid-rs/issues/42 u2f-hid-rs Issue #42]
** [https://github.com/jcjones/u2f-hid-rs/issues/42 u2f-hid-rs Issue #42]


Line 56: Line 56:
=== Using U2F / WebAuthn ===
=== Using U2F / WebAuthn ===


Enable the preferences in '''about:config''':
WebAuthn is enabled by default. To enable U2F as well, enable this preference in '''about:config''':
* security.webauth.u2f
* security.webauth.u2f
* security.webauth.webauthn


Enabling debugging (example for OSX):
Enabling debugging (example for OSX):


   MOZ_LOG="webauthnmanager:5, webauth_u2f:5, webauth_u2f:5, u2fkeymanager:5, u2fhidtoken:5, u2fmanager:5" ~/Desktop/NightlyDebug.app/Contents/MacOS/firefox
   MOZ_LOG="webauthnmanager:5, webauth_u2f:5, webauth_u2f:5, u2fkeymanager:5, u2fhidtoken:5, u2fmanager:5" ~/Desktop/NightlyDebug.app/Contents/MacOS/firefox
Enabling the soft token:
In '''about:config''' enable:
* security.webauth.webauthn_enable_softtoken
This currently stops the use of USB tokens, as the soft token always answers first. To see its code, check https://searchfox.org/mozilla-central/source/dom/webauthn/U2FSoftTokenManager.cpp#151.


==== Useful testing sites ====
==== Useful testing sites ====
122

edits