alvinbaena / passkit

Create Apple Wallet Passes in Go
MIT License
99 stars 33 forks source link

better error messages when verify fails (which cert failed?) #12

Closed ryan-lang closed 11 months ago

ryan-lang commented 11 months ago

When calling LoadSigningInformationFromBytes, there are two opportunities for certificate verification to fail: for the pkcs12 cert, and for the WWDR CA cert. This commit makes the error more descriptive.

alvinbaena commented 11 months ago

Approved, and thenks for improving this library.