Encrypting and Sending file from OIC with Integrity Protection
Summary
Using app driven integration encrypts the file using stage file operation and that file is sent as multipart/mixedContent
Use case: Response(Multipart/mixed) should have Json with count of records and Encrypted file
Approach taken: App driven integration will encrypt the zipped file in stage file operation and mapped to attachment reference in the response mapper (Attached the screenshot)
Issue: When the file is decrypted with the secret key, it gives message as
"gpg: WARNING: message was not integrity protected
gpg: decryption forced to fail!".
However the file gets decrypted.
Looking for any solution or workaround on the integrity protection part.
2