Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MakeCredential() command fails when using authenticator without windows hello #4

Open
krabbenprgr opened this issue Mar 1, 2023 · 1 comment

Comments

@krabbenprgr
Copy link

The library works fine for me, when i use windows hello. For some reason, i don't want to use windows hello. The example detects my Yubikey via USB(HID) and via a NFC-Reader (PC/SC).
Unfortunately, I cannot register because the makeCredentials command does not work:
The following errors occur:

Pin in Yubico manager is reset:
- Pin = "" ---> "FIDO2 operation failed (InvalidArgument)"
- Pin ="0000" ----> "CTAP response indicated non-success status (PinNotSet)
- Pin = null -----> CTAP response indicated non-success status (InvalidLength)

Pin is set to "0000" in the Yubico manager
- Pin = "0000" ---> "CTAP response indicated non-success status (InvalidLength)"

Can anyone explain to me what the problem might be?

@ismayandi
Copy link

Hi Krebs,
I don't know if this will work for you (or maybe too late), try to recompile the lib in linux machine. It works for me.
But the problem is in the assertion part. I save some FidoCredential property to a file for assertion use. But the assertion example code does not run for me. Any further guide would be great.

Note:
if i'm using windows://hello, it prompted that the "key that i'm using is not familiar, try a different one".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants