Encrypting a file

Thomas Chitwood tchitwoo at us.ibm.com
Tue Oct 19 23:03:14 CEST 2010


Thanks John,

I'll give it a shot.

Tom Chitwood
MCP, MCSE, CNA
Wellpoint Account
Information Technology Services Americas
Global Services, IBM
818.234.4118



From:
John Clizbe <John at Mozilla-Enigmail.org>
To:
GnuPG Users <gnupg-users at gnupg.org>
Date:
10/19/2010 01:41 PM
Subject:
Re: Encrypting a file



Thomas Chitwood wrote:
> 
> Thanks for the info Doug. I don't think I have ever encrypted a file
> with more than one key. Would the command be something like the example
> below?
> 
> gpg --output test.txt.gpg --encrypt --recipient 359B3EB2 DAE72D59
> test.txt (where 359B3EB2 is their key and DAE72D59 is our key)
> 

-e == --encrypt
-r == --recipient


gpg --output test.txt.gpg -e -r 0x359B3EB2 -r 0xDAE72D59 test.txt

Alternatively, you can set default-recipient in gpg.conf to your key

-- 
John P. Clizbe                      Inet:John (a) Mozilla-Enigmail.org
FSF Assoc #995 / FSFE Fellow #1797  hkp://keyserver.gingerbear.net  or
     mailto:pgp-public-keys at gingerbear.net?subject=HELP

Q:"Just how do the residents of Haiku, Hawai'i hold conversations?"
A:"An odd melody / island voices on the winds / surplus of vowels"



-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20101019/1ebfacc5/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/octet-stream
Size: 510 bytes
Desc: not available
URL: </pipermail/attachments/20101019/1ebfacc5/attachment.obj>


More information about the Gnupg-users mailing list