--passphrase-fd 0 not working from command line
Closed, InvalidPublic

Assigned To
None
Authored By
Remeron
Nov 13 2019, 3:07 PM

Description

Hello Sir

I'm using gpg tool for the first time. I installed gpg4win and I'm trying to decrypt a file using batch file. I need to pass the passphrase at the command line but it says it's an invalid option. But when I try to decrypt from kleopatra everything works fine. Please let me know if you need any more information.

Thanks
Remron

Details

Version
Current

Event Timeline

• werner edited projects, added gnupg, FAQ; removed Bug Report, gpg4win.
• werner added a subscriber: • werner.

This is a bug tracker and not a general help line. You are better off asking on the gnupg-uisers mailing list.

If you really really want to pass a passphrase on the command line you need to add the option

--pinentry-mode loopback

in addtion to the other options.