indutny / asn1.js

ASN.1 Decoder/Encoder/DSL
MIT License
181 stars 64 forks source link

Problems with test case for RFC3280 #4

Open YuryStrozhevsky opened 10 years ago

YuryStrozhevsky commented 10 years ago

Module test is named rfc3280, but in fact contains only OCSP stuff.

Vanuan commented 10 years ago

There's an alternative rfc3280 implementation: https://github.com/dstucrypt/jkurwa/blob/master/lib/spec/rfc3280.js But it contains only GOST algorithm identifiers.

And there's also a bug with choice implementation.

indutny commented 10 years ago

Could we merge them?

Vanuan commented 10 years ago

I looked closer, and it seems that it is a fork. The only reason it is different is a specific AlgorithmIdentifier used. Could be a valid use case for #14. \cc @muromec