0.1.5 • Published 1 year ago

@kekepass/pass v0.1.5

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
1 year ago

Apple and Google Wallet library for Node.js

Library for creating Apple Wallet and Google Wallet passes in Node.js.

Installation

npm i @kekepass/pass

Preparation

You'll need to have a signing certificate to issue a valid pass.

Apple signing certificate

Access the Apple Developer's page.

1. Create an identifiers

Click theIdentifiers tab and change the filter type to Pass Type IDs from App IDs. Then, create an new identifier.

2. Create a certificate

Click the Certificates tab and create a new certificate. Chose Pass Type ID as a certificate type and choose the identifier you created in the previous step.

You will need a certificate signing request (CSR) to create a certificate.

Download the certificate pass.cer and add (download and drop) it to the Keychain Access app.

3. Download Apple WWDR certificate

From the Apple PKI page, download the Worldwide Developer Relations - G4 certificate.

4. Export the certificate as P12 file

Open the Keychain Access app and find the certificate you added in step 2. Right-click on the certificate and export it as a .p12 file.

On export, set a password for the file.

Usage

Use this library to create Apple Wallet and Google Wallet passes in Node.js.

License

This project is distributed under the Apache License, Version 2.0, see LICENSE for more information.

0.1.5

1 year ago

0.1.4

1 year ago

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago