README ¶
Wallet sign pass
How to sign a sample pass.
-
Download the PassKit support materials from the Wallet Developer Guide website.
-
Unzip WalletCompanionFiles.zip and copy
SamplePasses/Event.pass
into this folder. -
Register a Pass Type ID in Apple's Member Center. This requires a CSR from your keychain.
-
Download the
.cer
and add it to Keychain. Then export a.p12
with the certificate and the private key you generated during step 3. -
Modify the passTypeIdentifier and teamIdentifier in pass.json. The teamIdentifier is the Organizational Unit in the .cer file.
-
Download Apple Intermediate Certificate WWDR Certificate (Expiring 02/07/23)
-
Build and run the example with
go run main.go -c /path/to/certificate.p12 -i /path/to/AppleWWDRCA.cer
Documentation ¶
There is no documentation for this package.