tomasmcguinness / dotnet-passbook

A .Net Library for generating Apple Passbook (Wallet) files for iOS. Please get involved by creating pull requests and opening issues!
MIT License
316 stars 116 forks source link

This was working for us but stopped working. #149

Closed brallierc closed 2 years ago

brallierc commented 2 years ago

I have tried the latest nuget package. I have went through step by step on your instructions. We can generate the pkpass but when I run it through your validation tool it says its not signed by apple. I am not sure if there are new required fields. I am not sure if we should still use the apple certificate that you mention expiring in 2023. We have spent weeks trying to fix this.

Any thoughts?

garypan77 commented 2 years ago

I'm having a similar issue as well. I'm able to generate the PKPass and load it in the Apple Wallet app, but upon scanning the NFC payload nothing happens.

The only thing that has changed was that our previous certificate expired. The readMe mentions that we should only use the G1 certificate expiring on 2023, but according to Apple it seems like we should move over to the G4 one expiring on 2030.

Apple Push Notification Service SSL Certificates, including the Pass Type ID Certificate, were updated January 27, 2022, and associated with a new intermediate certificate focused on the Apple Push Notification service (APNs). If you plan to send notification requests or passes with certificates issued after January 27, 2022, you’ll need to [download](https://www.apple.com/certificateauthority/) the Worldwide Developer Relations G4 sub CA, available for download. You can confirm that the correct intermediate certificate is installed by verifying that the expiration date is set to 2030 and the Organization field is set to G4.

The intermediate certificate that expires on February 7, 2023, will continue to issue select Apple services certificates, including Apple Push Notification Service SSL Certificates and Apple Wallet Pass Signing Certificates prior to January 28.

Source: https://developer.apple.com/support/expiration

tomasmcguinness commented 2 years ago

I've updated the readme to indicate the G4 WWDR certificate is now required.