Skip to content

Separation of IACA Root Certificate and Document Signer Certificate #37

@dalebowie

Description

@dalebowie

In my experimentation with this library, it seems there is a restriction that either of the following must be true:

  1. The Issuer's Document Signer Certificate that is embedded within a credential is the same certificate as the IACA Root Certificate that they would share with a VICAL. I guess this doesn't explicitly violate the ISO 18013-5 standard, but in my opinion defeats the point of separating these two certificate profiles out.
  2. All Verifiers know the Document Signer Certificates of all Issuers. This goes against what theVerifier constructor documentation implies and again defeats the point of having the two certificate profiles in the first place.

It feels like a solution to this might be to prepend the issuer certificate from a presented mdoc to the front of the list of certificates that go to verifyX509Chain. This would have to only be done in situations where the issuer certificate is not self-signed otherwise it defeats the purpose of having a trusted verifier list of certificates.

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