Option in gpg to copy STDIN to STDOUT instead of nowhere.
Gilles LAMIRAL
gilles at lamiral.info
Tue Dec 19 14:53:43 CET 2023
Hello,
>> The command "gpg --decrypt" takes a file or STDIN as input and decrypts,
>> tries to, the part between
>> -----BEGIN PGP MESSAGE-----
>> ...
>> -----END PGP MESSAGE-----
>> and also throws away every thing else.
>
> That's exactly what --decrypt is supposed to do. Try running gpg without
> --decrypt.
I tried gpg without --decrypt and the behavior is the same, STDIN is thrown away
but the "-----PGP MESSAGE-----" block deciphered.
So, what is the option to get gpg reproducing STDIN to STDOUT?
--
Au revoir,
Gilles Lamiral. France, Baulon (35580)
mob +33 6 19 22 03 54
tel +33 9 51 84 42 42
fax +33 9 56 84 42 42
More information about the Gnupg-devel
mailing list