PGP Encryption

Introduction

Pretty Good Privacy (PGP) is a data encryption and decryption computer program that provides cryptographic privacy and authentication for data communication. PGP encryption uses a serial combination of hashing, data compression, symmetric-key cryptography, and, finally, public-key cryptography; each step uses one of several supported algorithms. Each public key is bound to a user name and/or an e-mail address.

Please refer to https://www.openpgp.org/about/ for more information on PGP.

The PGP encryption and its keys apply for all Batch processes.

Samples

Linux
Create Key
gpg --gen-key
Import Key
gpg --import batch-user.pub
Export Public Key
gpg --armour --export batch-sandbox > /root/batch-sandbox-pub-key.asc
Encrypt File
gpg -e -r "batch-user" batch-request.csv
Decrypt File
gpg -d batch-response.csv.gpg
Windows

Please visit https://www.gpg4win.org/ for client and samples of PGP encryption on Windows.

Public Keys

Public Key Exchange

Since the Public Key Infrastructure (PKI) is used for all message exchanges, it is necessary that public keys are exchanged between platforms prior to integration.

Public Key Exchange
Sandbox Public Key

The sandbox public key is listed below. This public key is used for encryption of the Batch Processing Service request file. You can download the Sandbox Public Key here.

Sandbox Batch API PGP Public Key
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v2.0.14 (GNU/Linux)

mQENBFFTazIBCACsu4VCFtb1nEWmhBcG2rCjuprOqdEycm9T+lntqMKK/HmcM4NC
ElY3dEg46ltqnnlRPF+3w0rYNG+h5xwlBR1FgH9aqGQNt7vRBJjtbRmoA1z1NXXV
ztVgvjWsAinEodiueii55MwEQmNoF7v06zsbHcEGiBuuq48vyr5OKRhC0dpckx3P
EawrZ2OSpYpEtPT6hvuE4uikIMe4K/3d2ZmM8TLS8jqnNDEC2+bBWd4SKF3fbqUM
a3SfwXe1UGrfmhcIf5ETXZSfKEsAS+OzOeg2AkzFjYvEcS5dwKVCRL6hYovEWicL
akh2G6f669bywyiZslbZJg5ZHzRSYIdRxkYvABEBAAG0cXNhbmRib3gtYmF0Y2hp
bmctcHVibGljLWtleSAoU2FuZGJveCBiYXRjaGluZyBmaWxlIGVuY3J5cHRpb24g
a2V5KSA8c2FuZGJveC1iYXRjaGlu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l8xutoVbCOTtWJbdXbC0piqHuqnGGbshHs9sce7NI++M4K4TxdY
xiWVhF5niJ50evGyCAm47X7uJHk6/EVwSAbAlbAbhkFzweLcu+7uCrfbIln/nGfE
frjJ9jGq5CLZJjc00EtkNB65wacQHxzfq7EU2w==
=MPTt
-----END PGP PUBLIC KEY BLOCK-----
Production Public Key

The production public key will be provided prior to production integration.

Merchant Public Key

The merchant is required to send their public key via email to Wirecard´s Merchant Support. The merchant’s public key is used for encryption of the Batch Processing Service response file.

Custom URL: