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
importasn1assertasn1.__version__=='2.7.0'e=asn1.Encoder()
e.start()
e.write('2.999.1234', asn1.Numbers.ObjectIdentifier) # fails on this line# asn1.Error: Illegal object identifierresult=e.output()
ifresult!=bytes.fromhex('060488378952'):
raiseAssertionError("fail") # we never even get this far...
The text was updated successfully, but these errors were encountered:
It does not "crash" but raises an error because the library considered the OID as invalid. At this stage, it is not clear for me if OID starting with 2.999 are indeed valid. I would say no, but I will have to look at this further.
https://lapo.it/asn1js/#060488378952
https://www.oid-info.com/get/2.999
The text was updated successfully, but these errors were encountered: