PKPASS

PKPASS is a file format, used for storage and exchange of digital passes, developed by Apple for its Wallet application (Formerly known as PassBook until iOS 9). Passes are intended to represent information that "might otherwise be printed on small pieces of paper or plastic" like boarding passes, membership cards, coupons, certificates, etc. The format specification has been published online and this allowed for compatible implementations to be developed for other platforms like Android, Windows and Linux.

File structure
The file is a ZIP archive with a filename extension  containing a set of digitally signed files describing the digital pass. Multiple  files can be further combined into a single ZIP archive with an extension of   in order to combine several digital passes for ease of distribution.

The file contents of a sample PKPASS file might look like this:


 * icon.png
 * icon@2x.png
 * pass.json
 * manifest.json
 * signature
 * Antu folder-orange.svg en.lproj/
 * logo.png
 * logo@2x.png
 * pass.strings
 * Antu folder-orange.svg ru.lproj/
 * logo.png
 * logo@2x.png
 * pass.strings

is the digital pass icon. is displayed at the top left of the rendered pass.

Localized resources - like images and strings - are stored in subfolders named like this:

The file  is a JSON formatted dictionary describing the digital pass.

contains a JSON dictionary containing SHA-1 hashes for all files except the manifest itself and the signature.

contains a PKCS #7 signature of the manifest file thus effectively signing all files in the bundle.