Output of gpg --encrypt
Fri Jan 18 23:50:02 2002
#3. By default the encrypted output does not go to $STDLIST. Therefore,
you can't redirect it with I/O redirection of file handle #1. By default it
appends the .gpg extension to the input file name and saves that. Use the
-o or the --output command line directive.
I'll leave #1 and #2 for somebody else.
> -----Original Message-----
> From: Booterbaugh, Nancy A. [mailto:Nancy.Booterbaugh@unisys.com]
> Sent: Friday, January 18, 2002 2:21 PM
> To: GPG Users Group
> Subject: Output of gpg --encrypt
> I am converting from PGP to gpg on Windows 2000, and have run into a
> little snag. I am encrypting a file with the following command:
> gpg --recipient TBG -se testfile.txt 1>testfile.txt.gpg
> I expected the encrypted file to be named testfile.txt.gpg, but the
> resulting file was empty. When I looked in the directory, I saw that a
> second file was created and named testfile.gpg - and that file, in fact,
> was the encrypted output! When I looked in encryptGPG020118.log, I saw
> the following:
> gpg: using secondary key 870318E1 instead of primary key D6E9F5DB
> gpg: This key probably belongs to the owner
> gpg: writing to `testfile.gpg'
> gpg: ELG-E/CAST5 encrypted for: 9AE18FE8 TBG-EDI <firstname.lastname@example.org>
> gpg: DSA signature from: D6E9F5DB AIT Unisys <email@example.com>
> Return code=0
> Both my AIT Unisys key pair and the TBG-EDI public key are originally from
> My questions:
> 1) How do I make the keys the "primary key"? Or does it matter?
> 2) What does "gpg: This key probably belongs to the owner" mean?
> 3) Why is the encrypted output going to testfile.gpg instead of
> Thanks for your help!!
> Nancy A. Booterbaugh
CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.