-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Description
Hello,
We are developing a software that accepts CSR from different sources. One of them is Microsoft Windows MDM. It turns out in some cases it can use a ! character inside a PrintableString (for some reason sometimes they use UTF8String and sometimes PrintableString). This results in cryptography starting with v45 to fail with
ValueError: error parsing asn1 value: ParseError { kind: InvalidValue, location: [0, 0, "AttributeTypeValue::value", "AttributeValue::PrintableString"] }
Now we do know that the problem is essentially on Microsoft's side but we cannot circumvent this easily and I doubt that even if they wanted to they could not fix that easily on all the windows 11 that are already out there.
So could you make this check a bit more relaxed?