A handful of server errors coming from Windows devices
See original GitHub issueHi @MasterKale ! We’re using SimpleWebAuth at https://github.com/padloc/padloc (server and client) and we’ve been seeing quite a few errors for Windows devices, failing authentication. These vary, but always fall into one of these two:
Error: PubArea unique is not same as public key x and y (TPM|ECC)
at verifyAttestationTPM (/padloc/packages/server/node_modules/@simplewebauthn/server/src/registration/verifications/tpm/verifyAttestationTPM.ts:115:13)
at verifyRegistrationResponse (/padloc/packages/server/node_modules/@simplewebauthn/server/src/registration/verifyRegistrationResponse.ts:223:42)
at WebAuthnServer.activateAuthenticator (/padloc/packages/server/src/auth/webauthn.ts:116:80)
Stack Trace:
Error: Public key algorithm [object Object] did not match any metadata algorithms [] (TPM)
at verifyAttestationTPM (/padloc/packages/server/node_modules/@simplewebauthn/server/src/registration/verifications/tpm/verifyAttestationTPM.ts:267:13)
at runMicrotasks ()
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at verifyRegistrationResponse (/padloc/packages/server/node_modules/@simplewebauthn/server/src/registration/verifyRegistrationResponse.ts:223:16)
at WebAuthnServer.activateAuthenticator (/padloc/packages/server/src/auth/webauthn.ts:116:48)
We’re wondering if there’s something we should do differently, or if these are a symptom of something else (like Windows Hello)?
Thanks!
FYI @MaKleSoft
Issue Analytics
- State:
- Created a year ago
- Comments:22 (13 by maintainers)
Top Results From Across the Web
Error codes in Device Manager in Windows - Microsoft Support
Lists the error codes that may be reported by Device Manager and the possible resolutions in Windows.
Read more >KB5021233 causes blue screens with 0xc000021a errors
Microsoft is investigating a known issue leading to Blue Screen of Death (BSOD) crashes with 0xc000021a errors after installing the Windows ...
Read more >What Is a 500 Internal Server Error? How to Troubleshoot
A 500 internal server error indicates a non-specific problem with a website's server and is usually beyond a user's control.
Read more >How to fix a blue screen of death error in Windows 10 | IT PRO
The error also halts all critical processes, including networks, platforms, and applications. At this point, you lose any unsaved data, and troubleshooting ...
Read more >8 Common Server Problems & Troubleshooting Tips - Kirbtech
Technical Errors Causing Business Server Errors · 1. Cybersecurity Issues · 2. System Overload · 3. Configuration Settings · 4. Network Glitches.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yes, that’s correct, both are improvements to server. I figured out how to fix the second bug already, I’m just confirming some values with industry contacts for a bit of validation of my fix. I can probably release the second fix within the next few days to close out this issue.
Alright, I found the metadata statement for aaguid
"08987058-cadc-4b81-b6e1-30de50dcbe96"
in that response. It’s for a “Windows Hello Hardware Authenticator”, and the statement defines the followingauthenticationAlgorithms
:Unfortunately I wasn’t able to map this algorithm to COSE info because the FIDO registry I referenced at the time didn’t have values for this one. I see that v2.2 of the registry does at least reference it, so I’ll attempt to define COSE info for at least this algorithm. I’m pretty sure once I can do that then the second error will go away.
Stay tuned 👀