displaying decrypted plaintext on screen instead of output to file
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Thu Sep 8 21:02:32 CEST 2011
On 09/08/2011 02:54 PM, vedaal at nym.hush.com wrote:
> Is there an option in gnupg like the '-m' option in pgp which
> allows the display of decrypted plaintext on the screen instead of
> saving to file,
you could try using stdin and stdout. For example:
gpg --decrypt < file.asc
(or pipe that into your favorite non-caching pager, e.g. /usr/bin/less)
gpg --encrypt --armor -r $recipient
(then type your message, and end with a ctrl-D after the last newline)
hth,
--dkg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1030 bytes
Desc: OpenPGP digital signature
URL: </pipermail/attachments/20110908/e1c3cdc4/attachment.pgp>
More information about the Gnupg-users
mailing list