News for hackers. Stuff that matters.
[dead]
Re:From XML to JSON to CBOR by djrenren on Wednesday July 30, 2025 @08:48AM (#44733536)
CBOR isn't a hobby spec. It's integral to the WebAuthn API spec. Every time someone uses a passkey, CBOR is used to exchange messages with the authenticator
Re:From XML to JSON to CBOR by 0x006A on Wednesday July 30, 2025 @09:19AM (#44733838)
why was CBOR used for WebAuthn and was that a good idea?
Re:From XML to JSON to CBOR by qcnguy on Wednesday July 30, 2025 @09:34AM (#44733995)
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.
Re:From XML to JSON to CBOR by otabdeveloper4 on Wednesday July 30, 2025 @08:49AM (#44733549)
CBOR is just MessagePack with an international standard.

International standards are good.