Hacker News new | ask | show | jobs
by 0x006A 318 days ago
why was CBOR used for WebAuthn and was that a good idea?
1 comments

Because given the same input data structure every correct implementation generates exactly the same byte sequence, so it's useful for signing. This isn't true of many other data formats, including JSON and protocol buffers.