You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
This crate is amazing and speeds up my small ASN.1 encoding project enormously :-)
However, I found a bug when encoding OIDs, having values bigger than 127. E.g. when taking following example ID from MS website encoding using rasn gives back:
Hello,
This crate is amazing and speeds up my small ASN.1 encoding project enormously :-)
However, I found a bug when encoding OIDs, having values bigger than 127. E.g. when taking following example ID from MS website encoding using
rasn
gives back:[2b, 6, 1, 4, 1, b7, 2,15,14]
(this actually decodes to1.3.6.1.4.1.7042.21.20
, look here)[2b, 6, 1, 4, 1, b7, 2, 15, 14]
Another example is from stackoverflow and
1.2.840.113549.1.1.5 (sha1WithRsaEncryption)
:[2a, c8, 6, 8d, f7, 6, 1, 1, 5]
(lapo.it)[2a, 86, 48, 86, f7, d, 1, 1, 5]
(lapo.it)BR, Piotr
The text was updated successfully, but these errors were encountered: