Encrypt file for multiple recipients

Joseph syscon@telusplanet.net
Tue Jul 9 16:34:01 2002


Use this program called geheimnis, it is shell for GPG:
http://rpmfind.net/linux/RPM/sourceforge/geheimnis/geheimnis-1.96-1.i386.html

Very easy to use.
Joseph

On Tue, 2002-07-09 at 07:57, Radek Kraus wrote:
> Hello,
> I have got a problem with encrypting a file for multiple recipients (I want to write a script for automatically encryption).
> 
> I used gpg in this format
> gpg <some options> -r alice@mail -r bob@mail
> -------------------------------------------------------------
> 
> Situation:
> - I have got public key for bob@mail
> - I haven't got public key for alice@mail
> 
> If I run  'gpg --yes -a -e --always-trust --set-filename test1 -o test1 -r alice@mail -r bob@mail test', the result is:
> gpg: Warning: using insecure memory!
> gpg: alice@mail: skipped: public key not found
> gpg: test: encryption failed: public key not found
> 
> In this case I want to encrypt a file only for bob@mail, but file is not created.
> 
> ----------------------------------------------------------------
> 
> If I run 'gpg --yes -a -e --always-trust --set-filename test1 -o test1 -r bob@mail -r alice@mail test', the result is:
> gpg: Warning: using insecure memory!
> gpg: radek@mail: skipped: public key not found
> 
> In this case, a file is encrypted only for bob@mail - it is OK.
> ----------------------------------------------------------------
> 
> Are there some options for it? I cannot find it. Please help me.
> 
> Radek Kraus
> 
> PS: I used SUSE 8.0, gpg 1.0.6
> 
> 
> 
> _______________________________________________
> Gnupg-users mailing list
> Gnupg-users@gnupg.org
> http://lists.gnupg.org/mailman/listinfo/gnupg-users