Generating GPG keys
If you don’t already have GPG keys for encryption/decryption, you’ll need to generate some.
A number of guides online can walk you through this process, but here are some easy steps using gpg4win.
A public key is used to encrypt data, and can be safely shared to anyone.
A private key is used to decrypt data, and should only be held by you.
Download and install GPG4Win - https://www.gpg4win.org/download.html
Load Kleopatra
Click on File > New OpenPGP Key Pair…
Name your certificate with the name of your integration
Tick ‘Protect the generated key with a passphrase’.
Ensure you save this passphrase so that you can decrypt your files later, otherwise, you will have to generate a new key and provide it to MYOB again.
This prevents someone else from using your private key unless they know the password.
Click ‘Advanced Settings…'.
This section is important as it will govern the type of key and the strength of the encryption.
The current recommendation is that you use RSA 4,096-bit key material to meet current best practice standards.
This may change in future with stronger encryption standards, or you may have different corporate preferences, so please consult an internal expert to ensure that they meet your internal standard.
Click OK, and enter your desired passphrase.
Once your key is generated, export it.
Right click + Export
OR Ctrl+E
Save your XXX_public.asc public key.
Review the file in a text editor and ensure that it begins with -----BEGIN PGP PUBLIC KEY BLOCK-----.
Never share your private key (the file beginning with -----BEGIN PGP PRIVATE KEY BLOCK-----) with anyone, or they will be able to decrypt your data.
Once you have completed the process, please email the key to your MYOB PayGlobal consultant or MYOB PayGlobal support.