I am Salesforce developer but new to the Security World as well as Linux. We encrypted a file with Key and initialization Vector in Salesforce(only symmetric encryption is possible in Salesforce). No we are working with partner team to decrypt the same in their linux system using gpg and OpenSSL. But we were not able to.
Note : The Key and Vector we are using are in Hexadecimal. and the Algorithm we have used to encrypt is AES128.
GPG seems to need the Passphrase which does not seem to be the key i've used for encrypting.Would it be possible to decrypt the file with just Key and IV in gpg at all?
We are also trying to explore OpenSSL if GPG does not work in our case. I have received the below command from the Salesforce product support but that does not work either. i got the response as bad decryption.
OpenSSL> enc -aes-128-cbc -d -a -nosalt -in C:\Testfiles\input.txt.enc -out C:\Testfiles\output.txt -K mywhateverkey -iv mywhateveriv
can the Experts of openssl or GPG shed some light?