Skip to Content
Jun 20, 2019 at 03:25 PM

How to decrypt a gpg file in SAP for linux operating system?

444 Views Last edit Jul 23, 2019 at 11:49 AM 2 rev

Hi Team,

We have a requirement for our SAP system where user is going to upload document to our FTP folder in gpg extension encrypted format and we need to decrypt it using the key provided. I tried my command in Windows OS and then tried to run the same commands with little modification for LINUX OS. For some reason it does not work. Getting error when I run the command in sm69 and it also does not work in command prompt.

Has anyone come across such a scenario before? I am using the below command to decrypt files without any popup with the passphrase

gpg --batch --passphrase ##### -o <my o/p path> -d <decryption file>

Let me know if anyone can help me out with this query.