Suggest please

Werner Koch wk at
Fri May 3 12:38:07 CEST 2013

On Fri,  3 May 2013 10:45, kiblema at 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



Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.

More information about the Gnupg-users mailing list