-
-
Notifications
You must be signed in to change notification settings - Fork 140
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
NameTypeAndValue of type "unique_indentifier" cannot be prepared #268
Comments
wbond
added a commit
that referenced
this issue
Nov 3, 2023
wbond
added a commit
that referenced
this issue
Nov 3, 2023
wbond
added a commit
that referenced
this issue
Nov 3, 2023
wbond
added a commit
that referenced
this issue
Nov 3, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Loosely related to issue #228 and PR #241.
Note that the
NameTypeAndValue
class can hold aunique_identifier
which is anOctetBitString
:asn1crypto/asn1crypto/x509.py
Line 652 in af8a325
asn1crypto/asn1crypto/x509.py
Line 677 in af8a325
However, the
prepped_value
property relies on the value being a unicode string:asn1crypto/asn1crypto/x509.py
Lines 700 to 712 in af8a325
For this reason, attempting to hash a
Name
with aRDNSequence
that includes aunique_identifier
fails with the following error:The text was updated successfully, but these errors were encountered: