For every hater of ASN.1, what's better? ASN.1 at least can be run through a compiler (ala Protobufs | Thrift). JSON? XML? CSV? GTFO.
-
-
@bascule Sure, but I chalk that into the "code which can be auto-generated" - of which ASN.1/DER totally is. -
@bascule I totally don't get the love affair with hand rolled ASN.1 - compile the hell out of that shit and never look back. Apple gets it. -
-
@BRIAN_____@bascule LHA's parser for Heimdal is perfectly decent - https://github.com/heimdal/heimdal/tree/master/lib/asn1 … -
@sleevi_@bascule The code using it (e.g. https://github.com/heimdal/heimdal/blob/f79326e9605f5080e63e96bc20fc184a7d7ca381/lib/hx509/cert.c …) seems to prove my point, parsing the AST like it would parse the bytes. -
@BRIAN_____@bascule I'm not sure I follow your issue... that it parses the whole cert into symbolic structure? That's just an design choice -
@BRIAN_____@bascule My point was more that ASN.1 can be formally compiled, w/o hand rolling a parser. JSON and XML can't. eg. JWK awfulness -
- 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.