tschoffelen / php-pkpass

💳 PHP class for creating passes for Wallet on iOS.
https://includable.com
MIT License
901 stars 185 forks source link

Update AppleWWDRCA certificate to G4 #132

Closed soukicz closed 7 months ago

soukicz commented 11 months ago

Only the G4 certificate is valid for signing passes with certificates generated after the 27th of January, 2022 - https://pkpassvalidator.azurewebsites.net/

tschoffelen commented 11 months ago

Thanks for opening this PR, really appreciate your contribution!

This new root certificate might possibly not work with older pass certificates generated before that date, so if we release this, it would be a breaking version update (i.e. major version in semver).

Alternatively, should we encourage people to set their own WWDR certificate by better documenting the open setWwdrCertificatePath() and over time deprecating the default included certificate?

razvanphp commented 7 months ago

I can confirm that this is the right updated certificate for passes, not sure how it works for people on master since #119 was merged...

The old passes signed with the old certificate still work, it's just about NEW passes that needs to be signed with the new one, so we can upgrade the certificate at any time.

tschoffelen commented 7 months ago

Released to Packagist as version 2.2.0