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)

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



From:
Doug Barton <[email protected]>
To:
[email protected]
Date:
10/19/2010 09:56 AM
Subject:
Re: Encrypting a file
Sent by:
[email protected]



On 10/19/2010 9:50 AM, Thomas Chitwood wrote:
>
> I have a customer that wants me to send him my public key

Perfectly valid. That's why it's called the "public" key.

> and then
> encrypt a file that I am sending to him with my private key. Is this
> even possible?

Sounds like a minor misunderstanding on his part. You sign a message 
with your private key, he verifies the signature with your public key. 
You encrypt messages TO public keys (your and his) and then you each use 
your private keys to decrypt them.

If I were in your shoes I'd simply encrypt the file to my key and his, 
and send it to him. Chances are excellent that it will all work 
according to plan.


Good luck,

Doug

-- 

Breadth of IT experience, and    |   Nothin' ever doesn't change,
depth of knowledge in the DNS.   |   but nothin' changes much.
Yours for the right price.  :)   |                               -- OK Go
http://SupersetSolutions.com/

_______________________________________________
Gnupg-users mailing list
[email protected]
http://lists.gnupg.org/mailman/listinfo/gnupg-users


_______________________________________________
Gnupg-users mailing list
[email protected]
http://lists.gnupg.org/mailman/listinfo/gnupg-users

Reply via email to