Page MenuHome GnuPG

--decrypt-messages doesn't accept input from STDIN
Closed, ResolvedPublic

Description

Release: 1.2.4

Environment

All environments. Tested on WindowsXP and MacOS X

Description

the option --decrypt-messages is documented as accepting a list of filenames from STDIN (same as --encrypt-messages). This behaviour doesn't appear to be implemented. The function decrypt_messages() in file decrypt.c doesn't have code to handle the case when nfiles is zero. The corresponding encode function - encode_crypt_files() does handle this case correctly.

How To Repeat

find . -name "*.gpg" | gpg --decrypt-files

Fix

Unknown

Event Timeline

dshaw added a subscriber: dshaw.

Fixed for 1.2.5.