, I am trying to use gpgsm from command line to do encryption/decryption & signing/verifying. I stuck with how to pass the passphrase in command line. I tried to use the option : passphrase-fd but I am getting this error:
gpgsm --batch --passphrase-fd 0 --decrypt “C:\Test\POC.txt.p7m”
gpgsm: invalid option “–passphrase-fd”
Is this a bug in the tool ( on windows/ linux). Or it is not supported
anyone could help me on that.
The idea is to use the tool on a server where no-human-interaction is required.