3 ms·
Gets worse. Some of it is ASN.1 inside CBOR too. Some of it is custom binary format containing CBOR The answer is as far as I know: Backwards compatibility wi
by arianvanp 7y ago
Gets worse. Some of it is ASN.1 inside CBOR too. Some of it is custom binary format containing CBOR
The answer is as far as I know:
Backwards compatibility with bad decisions made in U2F
Also; relying on base64url is odd as there are no built in functions in JavaScript to encode and decode it.
- tomashubelbauer 7y ago> Also; relying on base64url is odd as there are no built in functions in JavaScript to encode and decode it. I'm probably missing something, but aren't window.atob and window.btoa just that? It's not available in Node though.
- thayne 7y agobtoa is base64 not base64url. And even if it was base64url, it takes a "binary string", so using it on, say, a Uint8Array is non-trivial.
- tomashubelbauer 7y agoThank you, I didn't realize the URL safe variant of Base64 had a name and that it was this!