| ▲ | thayne 3 days ago | |||||||
The problem with ASN.1 is that it is big and complicated, and you only need a fraction of it for cryptography, and it isn't really used for anything outside of pki anymore. It wouldn't be as bad if asn.1 had cought on more as a general purpose serialization format and there were ubiquitous decent libraries for dealing with it. But that didn't happen. Probably partly because there are so many different representations of asn.1. A bespoke serialization specifically for certificates might actually have aged better, if it was well designed. | ||||||||
| ▲ | jll29 3 days ago | parent | next [-] | |||||||
Assuming there are some libraries for it, would this make a pretty good case for LLM-generated ports of these existing libraries into other languages or onto other OSs/platforms? One implementation could be treated as "the spect". | ||||||||
| ▲ | pocksuppet 3 days ago | parent | prev [-] | |||||||
ASN.1 is protobufs designed by committee. It is a general-purpose serialization format, but there's no good reason to choose it instead of protobufs. | ||||||||
| ||||||||