Page MenuHome GnuPG

--output option fails with --decrypt-files option
Closed, ResolvedPublic

Description

Release: 1.2.4

Environment

Windows XP Pro

Description

If I add the command option: --output "myfile.txt"
as the second option in:
gpg --passphrase-fd 0 --decrypt-files "c:\b.gpg"
I get the error:
--output doesnt work for this command
even thought his syntax appears in the documentation as valid.

How To Repeat

Open a command window
Type
gpg --passphrase-fd 0 --output "c:\c.txt" --decrypt-files "c:\b.gpg"

Fix

no bug - no fix

Event Timeline

The --decrypt-files commdn works by reading the *file names* from the input, opening and decrypting file by file and wrting the decryption to a modified file name. Using --output can't work because it may only specify *one file name* - so what decrypted file should be put into this file and what shall happen to the other files processed.

I guess you wanted to use just --decrypt.