To encrypt or decrypt files or plaintext using Pretty Good Privacy (PGP) or X.509 certificates as part of a chain, add a step that includes an Encryption connection command.
To enable these commands, an IT admin first creates an Encryption connection.
Decrypt with PGP key
Decrypts a file or text with your PGP key
Inputs
Input |
Detail |
File to decrypt |
Enter the file to decrypt. To decrypt text, leave blank. |
Text to decrypt |
Enter the text to decrypt. To decrypt a file, leave blank. |
Armored message |
If the ciphertext to decrypt starts with ------BEGIN , or is armored, check this box |
Outputs
Output |
Output Type |
PGP decrypted file |
File |
Exit codes
Code |
Type |
Detail |
0 |
Success |
Success |
1 |
Error |
General failure |
Decrypt with X509 certificate
Decrypts a file or text with an X.509 certificate
Inputs
Input |
Detail |
File to decrypt |
Enter the file to decrypt. To decrypt text, leave blank. |
Text to decrypt |
Enter the text to decrypt. To decrypt a file, leave blank. |
Hash |
Select the hash function used as a random oracle. Both the encryption and decryption using an X.509 certificate must use the same hash function. |
Outputs
Output |
Output Type |
X509 decrypted file |
File |
Exit codes
Code |
Type |
Detail |
0 |
Success |
Success |
1 |
Error |
General failure |
Encrypt with PGP key
Encrypts a file or text with your PGP key
Inputs
Input |
Detail |
File to encrypt |
Enter the file to encrypt. To encrypt text, leave blank. |
Text to encrypt |
Enter the text to encrypt. To encrypt a file, leave blank. |
Armored message |
To have the encrypted text starts with ------BEGIN , or be armored, check this box |
Outputs
Output |
Output Type |
PGP encrypted file |
File |
Exit codes
Code |
Type |
Detail |
0 |
Success |
Success |
1 |
Error |
General failure |
Encrypt with X509 certificate
Encrypts a file or text with an X.509 certificate
Inputs
Input |
Detail |
File to encrypt |
Enter the file to encrypt. To encrypt text, leave blank. |
Text to encrypt |
Enter the text to encrypt. To encrypt a file, leave blank. |
Hash |
To ensure the ciphertext generated is unique each time, select the hash function used as a random oracle. To decrypt a file encrypted with this command, select this same hash with the Decrypt with X509 Certificate command. |
Outputs
Output |
Output Type |
X509 encrypted file |
File |
Exit codes
Code |
Type |
Detail |
0 |
Success |
Success |
1 |
Error |
General failure |