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
To decrypt a file or text with your PGP key, use a Decrypt with PGP key command.
Properties
Property |
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
To decrypt a file or text with an X.509 certificate, use a Decrypt with X509 certificate command.
Properties
Property |
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
To encrypt a file or text with your PGP key, use an Encrypt with PGP key command.
Properties
Property |
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
To encrypt a file or text with an X.509 certificate, use an Encrypt with X509 certificate command.
Properties
Property |
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 |