passing information among several users

2013-01-21 Thread Rita
Hello,


Here is what I am trying to do in my environment.


I have 6 users: maseruser and user{A,B,C,D,E}

Masteruser will be generating data and I would like userA and userC be able
to decypt the data and others not to. However, in the future I would like
to add userE to decrypt the data and remove userA (any old data she has is
fine). I was wondering how I can achieve this using gpg




-- 
--- Get your facts first, then you can distort them as you please.--
___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: passing information among several users

2013-01-21 Thread Johan Wevers
On 21-01-2013 17:56, Rita wrote:

> I have 6 users: maseruser and user{A,B,C,D,E}

Make also 6 keypais for each user.

> Masteruser will be generating data and I would like userA and userC be
> able to decypt the data and others not to.

Encrypt it to the public key of users A and C.

> However, in the future I
> would like to add userE to decrypt the data and remove userA (any old
> data she has is fine).

Encrypt the new messages only to the keys of C and E.

> I was wondering how I can achieve this using gpg

The eaqsiest way is to define a group in gpg.conf:

group receivers=01234567 ABCDEF89

where 01234567 and ABCDEF89 are the key ID's of the receivers.

-- 
ir. J.C.A. Wevers
PGP/GPG public keys at http://www.xs4all.nl/~johanw/pgpkeys.html


___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: passing information among several users

2013-01-21 Thread Jean-David Beyer
On 01/21/2013 11:56 AM, Rita wrote:
> Hello,
> 
> 
> Here is what I am trying to do in my environment.
> 
> 
> I have 6 users: maseruser and user{A,B,C,D,E}
> 
> Masteruser will be generating data and I would like userA and userC be
> able to decypt the data and others not to. However, in the future I
> would like to add userE to decrypt the data and remove userA (any old
> data she has is fine). I was wondering how I can achieve this using gpg
> 
Sure you can do this.

Or do you want to know how?

1.) get gnupg software. http://gnupg.org/
Install it, generate your keys and your revocation certificate (you
never know when you will need ont.
2.) Upload your public key to a keyserver.
3, Have A, and C do the same.
3a.) If you want to anytime, have B and D do it too.
4.) When you want to send data get the public keys for A and C.
5.) Encrypt these data with the public the public keys of A and C.

Am I missing something?

___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users