Remix.run Logo
johnisgood a day 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 (archived: https://web.archive.org/web/20240416031004/https://github.co...)

Any recommendations?

elFarto a day ago | parent | next [-]

I 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 a day ago | parent [-]

Any luck with it?

Check the README of: https://web.archive.org/web/20240416031004/https://github.co...

I need something like this.

nightpool a day ago | parent | prev | next [-]

https://mvnrepository.com/artifact/de.rub.nds/asn1-tool links to https://github.com/tls-attacker/ASN.1-Tool which redirects to 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 a day ago | parent [-]

No, 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 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.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 8 hours ago | parent [-]

IBM 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-so... but only lists libtasn1, which is in C.

Here's a post about AlphaWorks : https://www.cnet.com/tech/services-and-software/ibm-alphawor...

Searching for that, I found this post, https://stackoverflow.com/questions/37056554/opensource-java... which mentions : https://www.beanit.com/asn1/ https://sourceforge.net/projects/jac-asn1/ which are more recent java ASN.1 implementations.

an hour ago | parent [-]
[deleted]
nailer a day ago | parent | prev [-]

I 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://www.npmjs.com/package/asn1js