/ApplePayDecryptor

MacOS application to decrypt ApplePay token

Primary LanguageSwiftGNU General Public License v3.0GPL-3.0

ApplePay token decryptor

Apple documentation

Token

Token is a paymentData property from PKPaymentToken. You could use both UTF-8 and base64 encodeding formats.

Certificates

Token decryption requires certificate and a private key associated with it.

Certificates without private key will be marked with //no private key.

Features

  • RSA_v1 signature verification
  • RSA_v1 token decryption
  • EC_v1 signature verification
  • EC_v1 token decryption
  • Import from keychain
  • Import from PKCS#12 files