pkpassvalidator
pkpassvalidator copied to clipboard
Certificate validation doesn't work correctly
The newer G4 certificates use different OU values. These hasn't been updated in the validators code.
I need to overhaul the checks.
.NET now also supports asn.1 decoding. In a8f21c70a3e269b78e68ff63379031f8d848e47a BouncyCastle was added, but it can be replaced with this simple code from stackoverflow for O, CN and OU validation: https://stackoverflow.com/a/71376270/9475188
Parsing passTypeIdentifier from CN can also be "CN=Pass Type ID with NFC: pass.com.example.boarding-pass"
Next to "Pass Type ID: "
there can also be "Pass Type ID with NFC: "
Is this why I'm getting a 👎 even though I'm using the G4 intermediate certificate?

The thumbs-down is confusing, because down the page a bit it says:
Only the G4 certificate is valid for signing passes with certificates generated after the 27th of January, 2022.
So, if the G4 certificate is the only valid certificate, then I should get a thumbs-up if I'm using it?
Update: I think something is broken with pkpassvalidator; no matter which version of the WWDR Certificate I use, I always get the error “WWDR Certificate is version (G4).” I tested all versions from G3 up to G7.
@tomasmcguinness @quinncomendant
I'm getting a 👎 with PassKit Certificate in date
I am currently facing an issue like I have created a .pkpass file from the code and when I am trying to open that file in Apple device I am getting a "File not supported issue" but If I open the same pass in android (PassWallet or Passes) it works fine.
hi
@tomasmcguinness @quinncomendant I'm getting a 👎 with
PassKit Certificate in date
I am currently facing an issue like I have created a .pkpass file from the code and when I am trying to open that file in Apple device I am getting a "File not supported issue" but If I open the same pass in android (PassWallet or Passes) it works fine.
Hi singhdilip1007, I've got the same issue did you found a solution???
hi
@tomasmcguinness @quinncomendant I'm getting a 👎 with
PassKit Certificate in date
I am currently facing an issue like I have created a .pkpass file from the code and when I am trying to open that file in Apple device I am getting a "File not supported issue" but If I open the same pass in android (PassWallet or Passes) it works fine.
Hi singhdilip1007, I've got the same issue did you found a solution???
@fredattack share your pass to email which configure in iPhone than check mail box, there will show correctly. My main requirements was to sent this .pkpass to mail and seems fine