Introduction
The i-effect command STRPGP works according to the OpenPGP standard (RFC 4880) to encode and decode signing and verification of data. It can be used to sign, encode and decode any files compatible to the OpenPGP.
Key rings
To be able to work with STRPGP, you need a keypair. Your communication partners can use the public part of the key to encrypt data sent to you and you can use the private part to sign data sent to others.
PGP keys can be produced with the free available Windows Program Gpg4win (URL http://www.gpg4win.org/index.html).
The Gpg4win installation package includes the graphic tool Kleopatra, with which PGP key rings and keys can be administered.
Install Gpg4win on your pc and start Kleopatra. Please refer to the Kleopatra manual or the help function of the program to find out how to create the keys.
Kleopatra saves the keys in two different so-called key files in the folder:
C:\Users\<Username>\AppData\Roaming\gnupg
The private keys are saved in the file secring.gpg, the public ones are saved in pubring.gpg.
After you have created your key, the two files must be copied from the PC to the i-effect CRYPT directory of the IBM system (/i-effect/Crypt):
Just overwrite the two files in that folder, the keys are now available in i-effect and can be used in STRPGP.
![](../../../__attachments/1943144519/PGP_Keyring_files.jpg?inst-v=9d4b5c12-0a18-42db-9ce9-32941b03b0b3)
Access to keys in key files
In STRPGP, the keys within the key files can be accessed using the user ID or the key ID.