GPG Recipients List
Dick Gevers
dvgevers at xs4all.nl
Wed Dec 3 14:17:29 CET 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wed, 3 Dec 2003 17:53:10 +0900 , "Oertel, Paul"
<paul.oertel at citigroup.com> wrote about GPG Recipients List:
>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 ...
>
>I read the FAQ and it indicates that I have to also give it a command as
>well but I don't see any information on what command to give it. When I run
>the above command gpg seems to enter an interactive mode which I can find
>information for. If someone could point me in the right direction or give
>me some advice I would appreciate it.
The full documentation should be in the man(ual) document:
quote
--group name=value1 [value2 value3 ...]
Sets up a named group, which is similar to aliases in email
programs. Any time the group name is a recipient (-r or
--recipient), it will be expanded to the values specified.
The values are key IDs or fingerprints, but any key descrip-
tion is accepted. Note that a value with spaces in it will
be treated as two different values. Note also there is only
one level of expansion - you cannot make an group that points
to another group. When used from the command line, it may
be necessary to quote the argument to this option to prevent
the shell from treating it as multiple arguments.
unquote
You can add them to uour options file (gpg.conf), for instance
finish gpg.conf with
quote
# # # # # # # # # # GROUPS # # # # # # # # # #
group friends = 1234ABCD DEADBEEF ABCD1234
unquote
so now you could encrypt to these 3 friends with:
gpg -sea -r friends -o foo.asc file.txt
(I put them at the end, so you would always see it with:
type gpg.conf
or you could add
echo `bla = 12345678` >>gpg.conf
)
Regards,
=Dick Gevers=
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Encryption is an envelope - the contents are private.
iD8DBQE/zfB3wC/zk+cxEdMRAjG4AKDpvHlEyWfKvjpBcqZw+n8txxFNzgCfb/IK
M5ERJ50Ado5THHRxZFlVQoU=
=x9W0
-----END PGP SIGNATURE-----
More information about the Gnupg-users
mailing list