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
The standard requires unused bits to be set to 0, so there's only one possible encoding. I don't see anything in ASN1BitString.encode() that guarantees that, if the caller used the ByteArray constructor directly.
Either add a check()/require() or force those values to 0 before appending?
The text was updated successfully, but these errors were encountered:
The standard requires unused bits to be set to 0, so there's only one possible encoding. I don't see anything in ASN1BitString.encode() that guarantees that, if the caller used the ByteArray constructor directly.
Either add a check()/require() or force those values to 0 before appending?
The text was updated successfully, but these errors were encountered: