Function for Bouncy Castle - PGP Utility - 1.1.0
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
06-02-23 12:35 PM
Hi,
I am trying to use the pgp utility VBO, but im getting this error messages on using both encrypt and decrypt
Encrypt Error:
Cannot locate a public key for encryption in the supplied PGP Public Key file that matches the given [Encryption Key ID] value.
Decrypt Error:
Unknown Packet Type: 20
i am using the version 1.8.10 of the Bouncy Castle.
i have created my key using kleopatra
I am trying to use the pgp utility VBO, but im getting this error messages on using both encrypt and decrypt
Encrypt Error:
Cannot locate a public key for encryption in the supplied PGP Public Key file that matches the given [Encryption Key ID] value.
Decrypt Error:
Unknown Packet Type: 20
i am using the version 1.8.10 of the Bouncy Castle.
i have created my key using kleopatra
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
06-02-23 06:22 PM
Hi Kevin,
I suspect this may be resolved by re-exporting your key files from Kleopatra again. The VBO needs two different files exported from Kleopatra to encrypt/decrypt correctly. It is not exactly intuitive that this needs to be done, and the VBO user guide (https://digitalexchange.blueprism.com/dx/entry/9648/solution/bouncy-castle---pgp-utility) was missing this information (I have just updated it with the same steps as below):
Public Key file for Encrypting:
Right-click your key pair and select Export to generate the public key file. Use this file path as the value for [Encryption Key Filepath] input for the Encrypt File action.
Private Key file for Decrypting:
Right-click your key pair again and select Backup Secret Keys to generate the private key file. Use this file path as the value for [Private Key Filepath] input for the Decrypt File action.
I hope this solves the issue - let me know how it turns out.
Cheers
I suspect this may be resolved by re-exporting your key files from Kleopatra again. The VBO needs two different files exported from Kleopatra to encrypt/decrypt correctly. It is not exactly intuitive that this needs to be done, and the VBO user guide (https://digitalexchange.blueprism.com/dx/entry/9648/solution/bouncy-castle---pgp-utility) was missing this information (I have just updated it with the same steps as below):
Public Key file for Encrypting:
Right-click your key pair and select Export to generate the public key file. Use this file path as the value for [Encryption Key Filepath] input for the Encrypt File action.
Private Key file for Decrypting:
Right-click your key pair again and select Backup Secret Keys to generate the private key file. Use this file path as the value for [Private Key Filepath] input for the Decrypt File action.
I hope this solves the issue - let me know how it turns out.
Cheers
Charlie Kovacs
