
tmz at pobox
Oct 22, 2009, 12:48 PM
Post #1 of 2
(72 views)
Permalink
|
|
Setting digest-algo for a signature via gpgme?
|
|
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.
|