question about setting options with gpgme

Werner Koch wk at
Wed Jul 2 12:34:35 CEST 2008

On Wed,  2 Jul 2008 08:12, verbal at said:

> i am trying to use gpgme to do something like this:
> gpg --symmetric --cipher-algo AES256 --compress-algo BZIP2

There is no way to select the algorithm individually per message; you
need to change the configuration file.  Gpgme allow to manage several
configuration files by changing the home directory of GnuPG per context.

To change the global options (gpg.conf), you may use the new gpgme
interface for managing the configuration files.  They are not yet
documented, so you need to look at tests/gpg/t-gogconf.c or at the GPA
configuration dialog:



Die Gedanken sind frei.  Auschnahme regelt ein Bundeschgesetz.

More information about the Gnupg-devel mailing list