multiple key encryption/decryption

John Clizbe JPClizbe@Comcast.net
Mon Sep 8 04:39:02 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sean Bofinger wrote:
> Hi everyone...

Hello

> This has probably been asked a few time before, so i do apologise in
> advance.

No apology needed

> What i am trying to do is this.  I would like a single file encrypted
> such that any one of three given private keys can decrypt the file.  Is
> this possible with GnuPG??

Just specify each key as a recipient with either -r or --recipient. The
example command below has wrapped, your's should be all one one line

gpg --output memo.gpg --encrypt -r <blake@cyb.org> -r +Sam Spade --recipient
0xDEADBEEF memo

- --
John P. Clizbe                   Inet:   JPClizbe(a)comcast DOT nyet
Golden Bear Networks             PGP/GPG KeyID: 0x608D2A10
  "Most men take the straight and narrow. A few take the road less
traveled.  I chose to cut through the woods."
"*Hundreds* of customers like and use $CO's Unix products."
    - Darl McBride, CEO Caldera/$CO Group
(This .sig block was sponsored by IBM. All hail IBM.)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE/W+vtHQSsSmCNKhARArhGAJ0RMAzvGzBVDXWnEsnx4yfcOvnaDACgmXF3
QaTQiCjHEX0/iBjehWJJ1cw=
=5fNw
-----END PGP SIGNATURE-----