Unable to perform PGP encryption with Tactical Assertion

Document ID : KB000098034
Last Modified Date : 29/05/2018
Show Technical Document Details
Introduction:
We are unable to perform the PGP encryption with Public Key after install the assertion (Symmetric Key Encryption / Decryption Assertion). 

I have tested with various PGP keys but still getting the same error Error Message is as follows :
com.l7tech.external.assertions.symmetrickeyencryptiondecryption.server.ServerSymmetricKeyEncryptionDecryptionAssertion: Error encrypting text

 
Background:
PGP encryption/decryption is available via the Tactical Assertion : SymmetericKeyEncryptionDecryptionAssertion  

The tactical assertion can be obtained from CA Support upon request, there is requirement to acknowledge a warning of the risks of using lower level encryption, and approval for distribution is given by CA Engineering group.  

For PGP encryption however the module is needed. 
Instructions:

Initially I had the same issue.

But when I read the instructions very closely all the fields are base64 encoded.   The PGP Public Key is normally PEM encoded, which is a base64 encoding scheme, so I had assumed that was applicable.  But the PEM encoded public key then also needs to be base64 encoded as well.

I've uploaded sample policy for encrypting using a generated public key. 

Here is the policy, note the Base64 encode of the PGP Public key.
User-added image

Here is the PGP Public key, in its normal PEM (Privacy Enhanced Mail) format : 
User-added image

And the settings for the PGP Public Key encryption :
(note the input is the base64 encoded version of the public key.)
User-added image
File Attachments:
working2-testencryptbasic.xml