Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
encoding/asn1: support decoding BER-encoded messages (e.g. PKCS7) #12267
I'm aware of at least three other libraries that need to support BER encoding. Two of them ends up ~reimplementing all of asn1 (without nicer tagging/unmarshaling support), and the other tries to convert BER to DER but does it wrong. Afaict they could use golang's asn1 if it supported indefinite-length encodings. The change to implement this is relatively small, and would help reduce the proliferation of buggy implementations.