3 ms·
Erlang also has great ASN.1 support. For the rest, I hope OSS Nokalva'a proprietary solutions will go away, eventually. For Java I used yafred's asn1-tool, whi
by johnisgood 2y ago
Erlang also has great ASN.1 support. For the rest, I hope OSS Nokalva'a proprietary solutions will go away, eventually.
For Java I used yafred's asn1-tool, which is apparently not available anymore. Other than that, it worked well.
Originally it was available here: https://github.com/yafred/asn1-tool https://github.com/yafred/asn1-tool (archived: https://web.archive.org/web/20240416031004/https://github.com/yafred/asn1-tool https://web.archive.org/web/20240416031004/https://github.co...)
Any recommendations?
- elFarto 2y agoI was using the asn1bean Java library yesterday funnily enough. I'm sure it's fine for X.509 stuff, however lucky me got to use it with the more obscure parts of X.400. It's lacking support for COMPONENTS OF, and a bunch of other things that were likely deprecated from the ASN.1 spec a few decades ago.
- johnisgood 2y agoAny luck with it? Check the README of: https://web.archive.org/web/20240416031004/https://github.com/yafred/asn1-tool https://web.archive.org/web/20240416031004/https://github.co... I need something like this.
- nightpool 2y agohttps://mvnrepository.com/artifact/de.rub.nds/asn1-tool https://mvnrepository.com/artifact/de.rub.nds/asn1-tool links to https://github.com/tls-attacker/ASN.1-Tool https://github.com/tls-attacker/ASN.1-Tool which redirects to https://github.com/tls-attacker/ASN.1-Attacker https://github.com/tls-attacker/ASN.1-Attacker, so that seems like it's the new name for the tool you're looking for.
- johnisgood 2y agoNo, it is not the same. Sadly the author probably made it private, might reach out to him, just don't know how. :( He did not put his e-mail anywhere from what I have found so far. https://github.com/zhonghuihuo/asn1-tool https://github.com/zhonghuihuo/asn1-tool is still available, but it is very old, it is probably a VERY old fork. I need something like this :(. I need it for Java / Kotlin. I do not have the repository cloned, so I am kind of in the dark.[1] Found the archived page of the previously mentioned project that is probably private now: https://web.archive.org/web/20240416031004/https://github.com/yafred/asn1-tool https://web.archive.org/web/20240416031004/https://github.co... [1] Never mind, I found the newest (probably) asn1-compiler.jar! I still need an actively maintained alternative, however, for Java / Kotlin. For ASN.1 between Erlang / Elixir <> Java / Kotlin.
- iDon 2y agoIBM did a partial implementation of ASN.1 in Java, and released it via the IBM AlphaWorks open-source repository. I used it in a telecommunications system in the 90s. Luckily the GSM protocol we were interfacing with only used a small subset of ASN.1, which was covered by the IBM software. IBM AlphaWorks is still online : https://www.ibm.com/support/pages/aix-toolbox-open-source-software-downloads-alpha https://www.ibm.com/support/pages/aix-toolbox-open-source-so... but only lists libtasn1, which is in C. Here's a post about AlphaWorks : https://www.cnet.com/tech/services-and-software/ibm-alphaworks-from-software-theory-to-fact/ https://www.cnet.com/tech/services-and-software/ibm-alphawor... Searching for that, I found this post, https://stackoverflow.com/questions/37056554/opensource-java-asn-1-decoder-that-work-with-automatic-tags https://stackoverflow.com/questions/37056554/opensource-java... which mentions : https://www.beanit.com/asn1/ https://www.beanit.com/asn1/ https://sourceforge.net/projects/jac-asn1/ https://sourceforge.net/projects/jac-asn1/ which are more recent java ASN.1 implementations.
- deleted 2y ago[deleted]
- nailer 2y agoI used Peculiar Ventures ASN1.js to build an in-browser PKI platform years ago. It can sit on top of webcrypto and do everything you need in terms of managing TLS certs. https://asn1js.org/ https://asn1js.org/ https://www.npmjs.com/package/asn1js https://www.npmjs.com/package/asn1js