[PGP] Decrypt
Q100075: [PGP] Decrypt
Decrypts specified PGP encoded files.
Parameter | In/Out | Description | Other Info |
---|---|---|---|
File source | InOut | The file source is a list of one or more files to decrypt, using fully qualified pathnames, such as a FileList output parameter from another module. A typical example being the [Files] Find module. |
|
Output Folder | In | Folder to place decrypted files in; if blank uses the same folder as the source encrypted files. | |
Target Private Key | In | Private key used to decrypt files. A Target Private Key or Target Private Key File is required. | |
Target Private Key File | In | Private key file used to decrypt files. A Target Private Key or Target Private Key File is required. | |
Passphrase | In | The passphrase used for decrypting the files used with the specified key. | |
File list | Out | The list of decrypted pathnames (files). |
(Italics = required parameter)
Notes
The [PGP] Decrypt
module is used for decrypting one or more files that has been previously encrypted using the PGP encryption algorithm. As a symmetric-key cryptographic algorithm
, the module will need the private key
for the intended recipient. To use the [PGP] Decrypt
module, you provide the module with a list of one or more files that you want to decrypt in the File source
parameter. If you do not specify an Output folder
, then the decrypted files will be written to the same location as the source files are in. Note that destination files with the same name will be overwritten. While not required, the module expects that encrypted files will likely have the .pgp
extension as part of the filename. Output files will have the .pgp
extension removed from the filename, allowing you to easily identify your encrypted and decrypted files.
If you want to decrypt files that are encrypted with your public key
, then you would use the private key
that you have which corresponds to the public key
you provided to the sender of the encrypted files. You can either copy/paste the value of the private key
you want to use into the Target private key
parameter. Or if you have the private key
stored in a file that is located on the server, then you can just point the Target private key file
parameter to the file containing the private key
that you want to use.
If a Passphrase
was used in the generation of the key set you are using, then the passphrase must be entered into the Passphrase
parameter. Be absolutely certain that you do not forget that if you generate a key set with the Passphrase
, that you must absolutely always remember the passphrase. There is no way to recover a lost passphrase!
If you need more infomation on creating public and private keys, the KB Article Q100076 : PGP Encrypt has a detailed step by step on how to create your own keys.