jonniespratley / jps-passbook-manager

Apple Wallet pass manager built with NodeJS.
https://passbook-manager.run.aws-usw02-pr.ice.predix.io/
2 stars 0 forks source link

Pass Manager

This is a simple web app for creating and managing Apple Wallet passes.

Coverage Status

Build Status

Getting Started

This is a simple web app for creating and managing Apple Wallet passes.

1. Fork It

Clone or fork this repo.

$ git clone https://github.com/jonniespratley/jps-passbook-manager.git

2. Install

You must install the dependencies.

$ npm install

3. Start

Then start the server.

$ npm start

Open your browser to localhost:[config.port]

Release History

(Nothing yet)


How To

  1. Create Pass Type ID Certificate

    To create a Pass Type ID. Visit the link below and follow the screenshots.

    https://developer.apple.com/account/ios/identifiers/passTypeId/passTypeIdList.action

    image image image image

  2. Export .cert to disk

    Launch the Keychain Access utility. -From the menu, select Keychain Access | Certificate Assistant | Request a Certificate from a Certificate Authority. In the Certificate Information window, enter the following:

    • User Email Address: Enter the e-mail address associated with your iOS developer account.
    • Common Name: Choose a name that relates to the Pass Type ID.
    • CA Email Address: Leave this field blank
    • Request is: Choose Saved to Disk

https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/PassKit_PG/Creating.html#//apple_ref/doc/uid/TP40012195-CH4-SW55

```
openssl pkcs12 -in pass.p12 -clcerts -nokeys -out pass-certificate.pem -password pass:fred
openssl pkcs12 -in pass.p12 -nocerts -out pass-key.pem

open sslsmime -binary -sign -certfile wwdr.pem -signer pass-cert.pem -inkey pass-key.pem -in manifest.json -out signature -outform DER -passin pass:fred
```