Since https://github.com/github/webauthn-json/pull/44 the getTransports result is propagated to the JSON registration responses, which we should pass along in the library and store in the database of the demo server. See individual commits for more info. Resolves #108
I tested to make sure that the demo server correctly passes this information along by:
Using chromium as a browser, since firefox or any iOS browser doesn't seem to support getTransports() (yet?)
Registering with a Yubikey with NFC and USB support, ensuring that these two transport types are returned when registered and inserted into the database.
Checking that my iPhone with NFC support can also use this yubikey to log into the same account
Verifying that when I change the stored transports to USB only (sqlite3 users.sqlite3 'update credential_entries set transports = 2;'), the iPhone can no longer use the security key through NFC
Verifying that when I change it to NFC only (sqlite3 users.sqlite3 'update credential_entries set transports = 8;'), the desktop browser can no longer be used to log in
Since https://github.com/github/webauthn-json/pull/44 the
getTransports
result is propagated to the JSON registration responses, which we should pass along in the library and store in the database of the demo server. See individual commits for more info. Resolves #108I tested to make sure that the demo server correctly passes this information along by:
getTransports()
(yet?)sqlite3 users.sqlite3 'update credential_entries set transports = 2;'
), the iPhone can no longer use the security key through NFCsqlite3 users.sqlite3 'update credential_entries set transports = 8;'
), the desktop browser can no longer be used to log in