webauthn

WebAuthN Is it possible to see the available platform authenticators?

前提是你 提交于 2020-12-15 03:41:52
问题 I was tasked with creating a custom enrollment screen for webauthn. We want to show the user that faceid will be used to authenticate them, or that their fingerprint will. The solution of having a device table and deriving from that seems like a sustainability nightmare. I would much rather pull from something like navigator.credentials.authenticator.getDevice() 回答1: The closest you're going to get is: https://developer.mozilla.org/en-US/docs/Web/API/PublicKeyCredential

Replace chrome's WebAPI function using inject_script through chrome extension

被刻印的时光 ゝ 提交于 2020-06-01 06:50:12
问题 The bounty expires tomorrow . Answers to this question are eligible for a +100 reputation bounty. tarun14110 wants to draw more attention to this question. I am replacing navigator.credentials.create() and navigator.credentials.get() using chrome extension. navigator.credentials.create() for registering a 'security key' for 2nd-factor authentication. My replacement script works with some websites like Facebook and GitHub but doesn't work on some websites like Gmail, Twitter, Amazon AWS. What

Occasional NotSupportedError exception using WebAuthn

主宰稳场 提交于 2020-06-01 06:48:25
问题 We use WebAuthn. Although, some devices throw exceptions NotSupportedError: The user agent does not support public key credentials. Here is how we check if platform auth feature is available: async function isWebAuthn() { return Boolean( navigator.credentials && navigator.credentials.create && navigator.credentials.get && self.PublicKeyCredential && self.PublicKeyCredential.isUserVerifyingPlatformAuthenticatorAvailable && await self.PublicKeyCredential

webauthn authentication javascript formatting assistance

泪湿孤枕 提交于 2020-05-17 08:49:19
问题 I have been trying to figure out how to do 2fa with webauthn and I have the registration part working. The details are really poorly documented, especially all of the encoding payloads in javascript. I am able to register a device to a user, but I am not able to authenticate with that device. For reference, I'm using these resources: https://github.com/cedarcode/webauthn-ruby https://www.passwordless.dev/js/mfa.register.js And specifically, for authentication, I'm trying to mimic this js

How to implement WebAuthn in an Android App?

自古美人都是妖i 提交于 2020-02-23 04:13:21
问题 I'm intending to use WebAuthn for authentication, as shown at the demo site https://webauthn.io Turns out that Android's WebView (and its iOS counterpart) does not implement this and it is explicitly stated that this won't be happen. One is getting referred to use a Chrome Tab. But what I want to do is not to use any HTML/JavaScript for this when on a mobile device, that is, inside the App. In the app I would like to use a Java library similar to Firebase but which does provide the means to

WebAuthn - byte length of the “credential public key”

↘锁芯ラ 提交于 2020-01-25 02:49:07
问题 In WebAuthn, the authenticator data contains the variable length attested credential data followed by the extensions , if any: The attested credential data is made variable because of the credential public key field which is a CBOR map. In case there are extensions, how to know in advance the byte length of this field, so that I can pass this field truncated without the extensions to a CBOR library? The CBOR library I am using doesn't seem to handle extra bytes, and I don't know CBOR enough

Testing WebAuthn via REST tool?

别说谁变了你拦得住时间么 提交于 2019-12-13 02:15:00
问题 Is it possible to test this locally via a rest tool. I've created the backend to generate the challenge etc for Registration of new creds, but without the WebAuthn response I'm at a loss if I have created the correct way to digest the response object from WebAuthn. 回答1: If you're writing a FIDO2 / WebAuthn library, the FIDO Alliance does actually provide with a test suite that should be capable of generating tests: FIDO Alliance - Conformance Self‐Validation Testing (then clic on