I have a NiFi flow to accept PGP encrypted files. The private/public keys are generated using gpg tool and external to NiFi. I'm able to decrypt the test file using gpg command and using the private key externally. But NiFi EncryptContent processor shows an exception "Exception creating Cipher". Attached are screenshots of the flow and processor. Is there a property I can change in EncryptContent to fix the problem?
I'm able to use EncryptContent processor for encrypting PGP files using public Public Keyring File file - "pubring.gpg" and the "Public Key User Id". EncryptContent processor is able to decrypt file if the file encrypted by NIFI. But if I encrypt the file using gpg command "gpg --armor --output sample_test.txt.pgp --encrypt -r winnie sample_test.txt", EncryptContent processor shows an exception "Exception creating Cipher" if I try to decrypt the file. Is this a known NIFI issue?