Skip to content

More relaxed RFC 5280 checks (Windows MDM related) #13461

@thierryba

Description

@thierryba

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions