I was going to provide link to a video and embed images, but I am not allowed.
On Android with Chrome:
Failed to create identity: An error occured during construction: NotReadableError: An unknown error occurred while talking to the credential manager
23:39
On Android with Firefox:
Failed to create identity: An error occured during construction: UnknownError: The operation failed for an unknown transient reason
Hi @mvrozanti ,
Can you register here: https://webauthn.io/
Just to check whether the problem is with passkeys or Internet Identity.
Thanks!
Hi, thanks for taking the time to reply. I managed to both register and authenticate
In Internet Identity or in webauthn.io? or both?
On webauthn io only. Not II
Which phone do you have? Are you connecting a Yubikey? I found your error related to those devices.
I assume you get the error after clicking in âCreate Internet Identityâ, right?
Samsung Galaxy M62. I donât think I have a Yubikey. I get the error after selecting my device from the popup that appears after clicking âCreating Internet Identityâ. There are other options such as USB key, NFC, and another one but selecting my phone is currently the only method available for me
Did you try multiple times and every time is the same? We have seen that this error is sometimes temporary and after restarting the phone it goes away.
I did try multiple times over a few days and also restarted the phone a few times in between. Just did it again now, but I get the same error
The error comes from the phone, not from Internet Identity, thatâs whatâs confusing me.
Could you also try https://webauthn.me/ ?
Could you also try with the Samsung browser? I have seen another user that it was only working with the Samsung browser.
Thanks!
I find it weird that you say the error comes from my phone when authentication worked on webauthn io as it should. Anyway, I tried webauthn me and I got this on firefox:
" Oops, something went wrong!
UnknownError: The operation failed for an unknown transient reason.
Close this modal reload the page so you can try again."
I also tried it on the samsung browser but I get another error:
âFailed to create identity: An error occured during construction: NotReadableError: An unknown error occurred while talking to the credential managerâ
The passkeys technology is not as mature as weâd like it to be. Sometimes the combination of Chrome version and Operating System version makes it fail.
Could you try again in webauth.me debugger but now with different combinations in the dropdowns?
You can try changing the values in the dropdowns of âpubKeyCredParamsâ, âauthenticatorSelectionâ and âattestationâ.
If it fails also in https://webauthn.me/ but works in https://webauthn.io/ then it must be that a specific combination fails with your device. Finding the combination that works in See your WebAuthn config in action will help us fix the problem in Internet Identity for you and probably other users.
Thanks for your effort, I hope we find the problem and can fix it!
As I said, Iâm not able to select NFC, nor USB key, nor use the option of using another device.
But, as requested, I tried the debugger and got this output:
rawID
credentialPublicKey
UnknownError: The operation failed for an unknown transient reason
I still donât understand why this is so complicated. I wish I could just paste a public key which I already have and not need test combinations of options and devices and browsers. I was hoping to stake ICP to get a new phone, and not get a new phone to stake ICP heh
Why not simply copy whatever webauthn io is doing to identity.ic0.app?
I understand your frustration. Iâm also frustrated.
I canât just copy what they do, I need to understand why itâs failing for you to understand why it might fail for other users.
Could you try in See your WebAuthn config in action and set the following parameters there:
Please let me know if you were able to successfully register in See your WebAuthn config in action
Thanks again!
So, I opened the debugger config on my phone (the website isnât mobile-friendly so itâs a bit of a hassle seeing everything in it, like forum.dfinity.org) and I see that while I have two pubKeyCredParams that match the first two in your screenshot, I donât have the third EdDSA one, and the â+â button which I assume is to add a param is not shown for me.
That being said, I checked the boxes for authenticatorSelection, residentKey and userVerification, set each to platform, preferred and preferred respectively and I get the exact same error:
rawID
credentialPublicKey
UnknownError: The operation failed for an unknown transient reason
Thank you for your patience
Iâd be surprised, but can you try to register in this link again? I removed the one that you donât have in the other website.
If you fail to register there, it means that this algorithm type is necessary for you.
Thanks!
I got a success message what does this mean?
EDIT: one thing I should mention, maybe itâs relevant: the dropdowns in webauthn io and II are different, webauthn.io uses Google Passkeys while the other seems to use the phoneâs credential manager
Unfortunately, it means that I donât know why itâs working for you in webauthn.io and failing in Internet Identity or https://webauthn.me/
What screen do you see from Internet Identity? Can you share a screenshot? I thought it was failing from the beginning.