News for hackers. Stuff that matters.
Re:From XML to JSON to CBOR by JoelJacobson on Wednesday July 30, 2025 @05:09PM (#44739513)
Fun fact: CBOR is used within the WebAuthn (Passkey) protocol.

To do Passkey-verification server-side, I had to implement a pure-SQL/PLpgSQL CBOR parser, out of fear that a C-implementation could crash the PostgreSQL server: https://github.com/truthly/pg-cbor

Re:From XML to JSON to CBOR by teatro on Wednesday July 30, 2025 @05:17PM (#44739612)
That’s why I’m wondering if there is an actual CBOR encoder in the browsers? I mean, there must be one, or am I wrong?
Re:From XML to JSON to CBOR by esbranson on Thursday July 31, 2025 @04:37PM (#44749837)
And .Net 5 circa 2020 added support for CBOR. ASP.NET ended up being a good choice for an experimental WebAuthn server for FedCM and DID experiments.