Setting digest-algo for a signature via gpgme?

Marcus Brinkmann marcus.brinkmann at ruhr-uni-bochum.de
Fri Oct 23 00:58:24 CEST 2009


Todd Zullinger wrote:
> Is it possible to set the digest-algo used via gpgme when creating
> some clearsigned text?  The goal would be to generate a signature and
> ensure that, say, SHA-256 is used.  It can be done if a config file is
> created, but for the case where this is being done, I am told setting
> up config files would be nice to avoid.

GPGME doesn't provide this option.  If you set up a gnupg config directory,
you can use it setting the home_dir option.

Thanks,
Marcus




More information about the Gnupg-devel mailing list