Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: GnuPG: devel

Setting digest-algo for a signature via gpgme?

 

 

GnuPG devel RSS feed   Index | Next | Previous | View Threaded


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.


marcus.brinkmann at ruhr-uni-bochum

Oct 22, 2009, 3:58 PM

Post #2 of 2 (69 views)
Permalink
Re: Setting digest-algo for a signature via gpgme? [In reply to]

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


_______________________________________________
Gnupg-devel mailing list
Gnupg-devel[at]gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-devel

GnuPG devel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.