Can I Encrypt Using an entire keyring instead of listing each key?

Faramir faramir.cl at gmail.com
Thu Aug 28 21:53:59 CEST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Duwaine Robinson escribió:
> 
> Hi All,
> 
> I would like to know if it is possible to encrypt files using my entire
> public key ring as the recipient instead of listing off each public key
> on the ring using the -r or recipient command. I guess my real concern
> is whether or not public my public keyring can be used as one entity
> during encryption.

  I am not sure if it is a GPG function, or just a function of GPGshell,
but I can group public keys, and encrypt files to all the public keys in
that group. What operating system are you using? If GPG doesn't allow
it, maybe there is some GUI available for your operating system that can
do the trick... Of course, you would have to take the time to make the
group...

Asking google about the subject, I found the following:

_______________________________________________Quoting

From: Dennis Lambe Jr. [mailto:malsyned at xxxxxxxxxxxxxxxxx]
Sent: Thursday, December 04, 2003 12:10 AM
To: Oertel, Paul
Cc: 'gnupg-users at xxxxxxxxx'
Subject: Re: GPG Recipients List


On Wed, 2003-12-03 at 03:53, Oertel, Paul wrote:
> I want to make a group of recipients. The manual indicates that I can
> do do this using the --group option but it doesn't give any examples
> or explain how to do it. When I try to follow the manual it looks
> something like this.
>
> C:\GnuPG>gpg --group "mylist=Paul"
> gpg: Go ahead and type your message ...

GnuPG splits its command-line arguments up into options and commands.
Any option can also be specified in your config file, ~/.gnupg/gpg.conf,
which will cause it to be in effect for every gpg command you run.  As a
result of this, the documentation lists a lot of command-line switches
that are of little use on the command line, but useful as part of your
config file.  The "group" option is one of these.

If you specify a group on the command line, that group only exists for
the lifetime of the command that you are running (and is therefore nigh
useless).  If you specify a group in the config file, that group will
exist to gpg whenever you run it, allowing you to specify it as a
recipient of encrypted messages (-r groupname).

It looks like you're expecting the --group command-line option to create
a group which persists for longer than the lifetime of the gpg process
you gave it to.  That's not how configuration works in GnuPG.  Any
change that you want to make to the behavior of all subsequent gpg
processes must be made in the config file.

__________________________________________End of quoting


  Best Regards
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQEcBAEBCAAGBQJItwJXAAoJEMV4f6PvczxAGswIAKR2RAOOl8ZxzicYGDhvclHv
1/9LcNdV2TEFPpY2JbCek5gtCweMUbTzfUrpRvZ3JtSWZEJ/MF4caMh0zOOYIT1T
c9sESObngNa6tqjCTos3oqhc8c10rwYdbQXq7C8VTzDLuRDSfBLt7aYKvVLsqadW
I91h6oYULa7FYSMNOG6xjNBCZRm0nNYwoEiBeFvfU2DGuw01YV0vIib64UPUj0nD
42zbXoig30ND7agrT6Hq6DCDIiQTOQJeHkOca5Tl2D6dHHxT4v+a2pXKXeWrWbvo
HTRXSVMtkbu4mZjiw721ryE2ziZe/q7+Qj1htHWp8bL1dNwdJ5+jUzOekmmpCVw=
=QVKY
-----END PGP SIGNATURE-----



More information about the Gnupg-users mailing list