RPA | A2019 PGP Command/Package| Automation Anywhere - Part-24
A2019 PGP Package | A2019 PGP Command is used to encrypt and decrypt the files. To use the PGP Package or command the package must be installed first otherwise we need to install the package.
PGP Package or command is used when there is a need to encrypt the contents so that no one can put unnecessary content or remove any original content being shared with the user so to avoid this situation we make use of the PGP package that is provided by Automation Anywhere.
So in this article we will see how we can encrypt, decrypt and then finally how to create keys which are being used in the process of encryption and decryption.
Now let's take a look at each of the commands that is being provided under PGP package one by one as follows:-
- Create Keys Command - Through this command we can create the PGP public key and the private key and store the file at a particular desired location. The properties section of this command includes the location to save the public key as well as the private key and if the file already exists then we need to check the overwrite files with the same name checkbox. The public key and private key which will be stored at the required location will be used for encryption and decryption of files.
- Encrypt Files Command - This command is basically used to encrypt the files using various algorithms. The properties section under the Encrypt files command includes the type of encryption being used i.e. either we can use Passphrase or we can use the public key file which will be used for encrypting the file contents and then we need to give the source file which we need to encrypt it and then finally we need to pass the destination folder where we need to save the encrypted file contents. To encrypt the file contents the algorithms that we can use are Idea, Blowfish, AES128, AES192, AES256, Cast5, Triple DES, TwoFish256.
- Decrypt Files Command - This command is basically used to decrypt the encrypted contents which were encrypted using the encrypt files command. To decrypt the encrypted files in the properties section we must select the type of decryption we must use to decrypt the contents i.e. Passphrase or we can use the private key file to decrypt the contents. If we are using the Passphrase then we need to simply pass in the password or the passcode which we used to encrypt the files else if we are using the private key file then we need to select the private key file from the specified location where we saved it while creating the keys then we need to select the encrypted file location and finally pass in the destination folder location where we need to save the decrypted file.
Good job
ReplyDeleteVery helpful