Skip to content

Packed.cs assumes x5c subject contains O, OU, C and CN #340

@Molyna

Description

@Molyna

The code in the IsValidPackedAttnCertSubject of the Packed.cs uses the Item[TKey] method from Dictionary on the keys O, OU, C and CN. If the x5c doesn't contain one of these keys it will result in an KeyNotFoundException. The KeyNotFoundException is then not caught resulting in the Verify method not throwing the more appropriate Fido2VerificationException

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