Skip to content

IssuerAlternativeName: failed to decode: unexpected ASN.1 DER tag: got CONTEXT-SPECIFIC [5] (primitive) #255

@farble1670

Description

@farble1670

Steps to reproduce:

  • Using either CA DMV or Google Wallet holder app, engage w/ Showcase app to verify mDL, using QR code, using my REAL CA issued mDL
  • See "Issuer not authenticated"
  • Everything else seems to work. Data from mDL is displayed.

Detailed error:

Response Processing Errors: {"certificate_errors":["IACA certificate error: IssuerAlternativeName: failed to decode: unexpected ASN.1 DER tag: got CONTEXT-SPECIFIC [5] (primitive)"]}

Could be this?

IssuerAlternativeName ::= GeneralNames
GeneralNames ::= SEQUENCE SIZE (1..MAX) OF GeneralName

and,

GeneralName ::= CHOICE {
...
    ediPartyName                    [5]     EDIPartyName,  <-- tag [5] from the error message?
... }

Feel free to edit the above out if it's wrong / misleading.

I don't see that tag in any of the preloaded roots, so I guess this is from the DS cert? It wasn't clear how I could dump the content of that though. Not familiar w/ Rust. Where does println from Rust go in Android? Also wasn't clear how to get a handle to the cert chain to log it.

Let me know if I can provide anything else.

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