Open getify opened 2 months ago
Investigated. Unfortunately, I don't think this is a bug with WALC, but with FF (and seems to affect at least windows and linux, perhaps also mac?).
Seems that the public-key (SPKI format) being returned from AuthenticatorAttestationResponse.getPublicKey()
(algo COSE of -257
) is not compatible with the crypto.subtle.importKey()
for SPKI format and RSASSA-PKCS1-v1_5
algorithm.
See filed bug with FF for tracking/updates.
Update: looks like the FF folks verified that they do in fact have a bug, and they're fixing it.
Update: FF has landed a patch fixing this bug. Just waiting on a stable FF release with that update in it.
At the time of this comment, FF 130 is stable.
Update: FF 132 is expected to have this fix in it, which my rough estimate puts at 6-12 weeks from now.
DOMException: Data provided to an operation does not meet requirements
algo -257, so using subtleCrypto instead of sodium