Setting digest-algo for a signature via gpgme?

Todd Zullinger tmz at pobox.com
Thu Oct 22 21:48:13 CEST 2009


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.

In the end this will be done via pygpgme, but I want to check if it's
even possible with gpgme first because after reading through the
documentation, I don't have a good feeling for whether it is.

Thanks for any pointers.

-- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Never let your sense of morals keep you from doing what is right.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 542 bytes
Desc: not available
URL: </pipermail/attachments/20091022/ba1a33e0/attachment.pgp>


More information about the Gnupg-devel mailing list