Re: [webauthn] Decoding attestationObject (#1614)

Thanx @herrjemand, this is what I mean with "non-standard" parsing:
```go
let pubKeyLength = vanillacbor.decodeOnlyFirst(buffer).byteLength; 
```
Although it almost broke my engineering heart 💔 I had to add this to my parser as well 😁
https://github.com/cyberphone/openkeystore/blob/60db18a1bba52c420d84c2da682ca3e260555428/library/src/org/webpki/cbor/CBORObject.java#L353

COSE also comes with a bunch of surprises, nobody seem to know if it ECDH uses Concat or HKDF and the RFC gives no clues at all 🙄 https://github.com/cose-wg/COSE-JAVA/issues/104


-- 
GitHub Notification of comment by cyberphone
Please view or discuss this issue at https://github.com/w3c/webauthn/issues/1614#issuecomment-853554054 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 3 June 2021 04:34:27 UTC