How can I specify a hash algorithm in Enigmail?

This forum contains answers to frequently asked questions. You should always check here if you are having a problem before posting to any of the other forums.

How can I specify a hash algorithm in Enigmail?

Postby patrick » 24th Apr 2007 08:45

As of version 0.95.0, Enigmail relies by default on GnuPG for selecting the hash (=digest) algorithm.

The hash algorithm can be specified in the file gpg.conf with the following parameter:
Code: Select all
digest-algo   <algorithm>


If you still want to select the hash algorithm from within Enigmail you can do so by modifying the option extensions.enigmail.mimeHashAlgorithm.
The following values are defined for the hash algorithm:
Code: Select all
0 - automatic selection (let GnuPG choose)
1 - SHA1
2 - RIPEMD160
3 - SHA256
4 - SHA384
5 - SHA512
User avatar
patrick
Developer
Developer
 
Posts: 517
Joined: 13th Nov 2005 22:16
Location: Zurich, Switzerland

Return to Frequently Asked Questions (FAQ)