Confusion with signature digest type.

Peter Lebbing peter at digitalbrains.com
Fri Apr 26 19:29:55 CEST 2013


On 26/04/13 03:13, Mason Loring Bliss wrote:
> gpg --export-options export-minimal --export <keyid> | gpg --list-packets |
> grep 'pref-hash-algos'
> 
> ...I see algorithm 2 still there.

I think you're mixing things up. pref-hash-algos is the algorithms you'll
accept from others.

The page you linked to mentioned this to test if you use SHA-1 as the
self-signature digest algo:

gpg --export-options export-minimal --export <keyid> | gpg --list-packets
|grep -A 2 signature|grep 'digest algo 2,'

(should be one line)

The pref-hash-algos is the next section of the document.

HTH,

Peter.

-- 
I use the GNU Privacy Guard (GnuPG) in combination with Enigmail.
You can send me encrypted mail if you want some privacy.
My key is available at <http://digitalbrains.com/2012/openpgp-key-peter>



More information about the Gnupg-users mailing list