[gpgme][Feature Request] indicate option to gpgme_op_import*

Werner Koch wk at gnupg.org
Fri Sep 21 15:33:57 CEST 2012


On Fri, 21 Sep 2012 14:46, jeanjacquesbrucker at gmail.com said:
> I would like to try making a patch, but even with cscope, I didn't
> have found the real code used in the engine when a gpgme_op_import* is
> called. (:-/)

The command is build using the add_arg() functions in engine-gpg.c which
are finally used by the start() function.  styart() is then called by
gpg_import().

> We really need to clean keys in our program (eg "ludd node", and we will also need to minimalize some keys in the futur).
> But today the only solution I see is to make an ulgy system("gpg ...")
> call. :

You may simply provide a different configuration file by setting a
another homedir with a specialized configuraion file with
gpgme_set_engine_info.


Shalom-Salam,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.




More information about the Gnupg-devel mailing list