Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BER support #1

Open
indutny opened this issue Dec 1, 2013 · 3 comments
Open

BER support #1

indutny opened this issue Dec 1, 2013 · 3 comments

Comments

@indutny
Copy link
Owner

indutny commented Dec 1, 2013

BER decoder and encoder needs to be implemented.


/cc @mcavage

Hey man, seen you work in https://github.com/mcavage/node-asn1. Please let me know if it may sound as an interesting idea for you, there're currently no npm module that does both BER and DER.

@mcavage
Copy link

mcavage commented Dec 1, 2013

Well, there's pretty much complete BER in there (I used it for ldapjs, and I think @wesolows used it for snmpjs). FWIW, a bunch of DER is actually just a subset of BER (i.e., all the stuff you need for parsing X.509/PKCS containers, IIRC, is covered by BER).

Anyway, I'm happy to contribute over all the stuff in node-asn1, if you want it and plan to make this the defacto asn.1 library for node.

@indutny
Copy link
Owner Author

indutny commented Dec 1, 2013

Great! That's exactly what I was thinking about, creating defacto asn.1 library for node.

Please feel free to ask me any questions if you'll have them, all code is already prepared for another encoding support, you'll just need to copy der.js to ber.js in encoder/decoder folders.

@indutny
Copy link
Owner Author

indutny commented Dec 1, 2013

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants