Re: Decrypt without importing key to keyring

2016-02-26 Thread Martin Konold
Am Donnerstag, 25. Februar 2016, 08:35:28 CET schrieb Werner Koch: Hi, > On Wed, 24 Feb 2016 11:34, thecisso...@hotmail.fr said: > > Hi, is there a way to use a private key (PGP) to decrypt a message > > without adding it to the keyring. There is of course the option to leave the private key

Re: Decrypt without importing key to keyring

2016-02-25 Thread Werner Koch
On Wed, 24 Feb 2016 11:34, thecisso...@hotmail.fr said: > Hi, is there a way to use a private key (PGP) to decrypt a message > without adding it to the keyring. I don't want the private key to be No there is no such way, You may however delete the key after use. gpgsm has a concept of ephemeral

Decrypt without importing key to keyring

2016-02-24 Thread Francis Le Roy
Hi, is there a way to use a private key (PGP) to decrypt a message without adding it to the keyring. I don't want the private key to be written on the disk. I'm using gpgme in a C++ and I can't figure out 'transform' a gpgme_data_t object into gpgme_key_t without using the gpgme_op_import