I have keys - now I want to encrypt a file

Steve Butler sbutler at fchn.com
Fri Apr 9 16:19:43 CEST 2004

Change the order a little.

gpg  --recipient "$1" --output "$2.gpg" --encrypt "$2"

-----Original Message-----
From: Doug Thomson [mailto:dthomson_hms at yahoo.com]
Sent: Tuesday, April 06, 2004 1:06 PM
To: gnupg-users at gnupg.org
Subject: I have keys - now I want to encrypt a file

Hi all,
I have just installed gpg on my Solaris system.
My requirement is to encrypt small flat files and send
them to outside recipients.  I have successfully
imported two public keys from these recipients.  Now I
want to encrypt 'testfile' to prepare it for FTPing to
one of the recipients.  What syntax should I use?  I
have thus far tried 

gpg --encrypt-files testfile --recipient
somebody at location.com keyname

but I get the message 'you did not specify a user ID'


I have checked the FAQ and do not find the answer

thanks !

Doug Thomson

Minneapolis, MN  USA   
dthomson_hms at yahoo.com

Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway 

Gnupg-users mailing list
Gnupg-users at gnupg.org

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.

More information about the Gnupg-users mailing list