Hi Werner let's say, user_1 created public-private-key_1. then senders should encrypt it with public-key_1 but for all user_1, user_2, etc.
with which private key will user_2, user_3,.. decrypt this file.csv, which is encrypted with public-key_1? thanks in advance On Fri, May 3, 2013 at 12:38 PM, Werner Koch <w...@gnupg.org> wrote: > On Fri, 3 May 2013 10:45, kibl...@gmail.com said: > > > confusions. i've read and tried several times to encrypt csv files with a > > private-key, and to decrypt them back with public key. > > That is the wrong. You encrypt with the public key and you decrypt with > the private key. > > > What i now did is, i created a key-pair, have sent public-key to those, > who > > will encrypt files. i am able to decrypt these files with my private-key. > > the problem is, i only can decrypt the files. > > You want that other are also able to decrypt the file? Then you need to > encrypt the file to all of them: > > gpg -e -r userid_1 -r userid_2 -r userid_3 file.csv > > Then send file.csv.gpg to a all mentioned users and they will all be > able to decrypt the file. The size of the encrypted file won't change > noticeable. > > > Shalom-Salam, > > Werner > > -- > Die Gedanken sind frei. Ausnahmen regelt ein Bundesgesetz. > >
_______________________________________________ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users