Encrypting and decrypting

Anthony E. Greene agreene@pobox.com
Mon Jun 25 01:07:01 2001


On Thu, 21 Jun 2001, Sheriy Chang wrote:

>I want to encrypt a file to several persons. I have do it in this way:
>
>gpg --output test1.gpg -r skyzoprenick@softhome.net -r evega@ods.co.cr
>--yes --encrypt ask.mp3
>
>But the problem with this, is that the gpg is encrypting the file to the
>last recipient, how I could encrypt it to many recipients? that is possible?
>
>Also I need to decrypt the same file that I have encrypted to various
>recipients, so any of the recipients could decrypt it.
gpg --encrypt -r recipient1 -r recipient2 -r recipient3 < soundfile.mp3 > encryptedfile.gpg Each recipient should be able to decrypt the file. Tony -- Anthony E. Greene <agreene@pobox.com> <http://www.pobox.com/~agreene/> PGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26 C484 A42A 60DD 6C94 239D Chat: AOL/Yahoo: TonyG05 MSN: te_greene Linux. The choice of a GNU Generation. <http://www.linux.org/>