EncryptContentPGP which version gpg
Hi there,
Now for something totally different 🙂 we need to encrypt and decrypt some files for a flow we are working on. Initially gpg was configured on a linux server and we want to move this functionality to nifi.
On the linux server we are using this version of gpg:
gpg (GnuPG) 2.0.22
libgcrypt 1.5.3
We encrypt a test file and get a file with a size of 656 bytes. This file can be decrypted by the next system that needs to process this file.
We configure nifi as follow:

When reading the same file in the flow, all goes well and we send the output to the next system. Which unfortunately fails to decrypt the file. They get an invalid key length error. So I checked the file size from nifi and looks like 394 bytes only.
The keyring files used in public key service is an export from the linux system. Which should work fine. Passphrase and all are the same.
So we were wondering which gpg is being used by nifi??? Could it be a version compatibility issue? or something else.
Any tips would be very helpfull 🤓
Thanks in advanced.
Regards,
Dave

