<< back to sysax.com Product page

12.1. OpenPGP automation concepts

PGP (Pretty Good Privacy) is an encryption framework based on public key cryptography, originally developed by Philip Zimmermann. It is widely used to protect access to sensitive files and messages. Public key cryptography is based on the concept of a pair of cryptographically strong keys known as public and private keys. Users can generate a key pair and then publish the public key to any one that wants to send them files or messages. The sender will encrypt the file or message using this public key. Once encrypted, the file or message can only be decrypted by the person who has the corresponding private key.

This scripting language provides commands to store and retrieve multiple public and private keys using keyrings, import and export public and private key files, and encrypt and decrypt files using OpenPGP. The pgpresult predefined status flag is set to the predefined constant success if the corresponding command completed successfully.