Algorithm 11 not available

David Shaw dshaw at jabberwocky.com
Fri Apr 27 17:33:15 CEST 2007


On Fri, Apr 27, 2007 at 04:21:10PM +0300, Charly Avital wrote:
> Graham Murray wrote the following on 4/27/07 1:34 PM:
> > I am no longer able to verify signatures, or even list my keyring. I
> > suspect that a key as been (automatically) imported which uses SHA224
> > which gpg does not support. Can anyone advise what I can do to a) Fix
> > the keyring and b) Stop it getting borked in future?
> 
> I have both gpg 1.4.7 and gpg2 2.0.3 installed under MacOSX.
> 
> I had SHA224 enabled in personal-digest-preferences, and when listing
> for gpg2:
> 
> $ gpg2 -v -v --list-keys
> gpg: invalid item `SHA224' in preference string
> gpg: invalid personal digest preferences
> 
> but when listing for gpg
> $ gpg -v -v --list-keys
> gpg: using classic trust model
> [all listed keys listed]
> 
> Once I removed SHA224 from personal-digest-preferences,
> both gpg2 and gpg listed keys smoothly.
> 
> It *would seem* that it is gpg2 (not gpg) that does not support SHA224.

The issue here is not that GPG2 doesn't currently have SHA224 and GPG1
does.  There are always going to be algorithm differences between
versions.  The issue here is that the program blew up rather than
failing gracefully when it was unable to use the missing hash.

David



More information about the Gnupg-users mailing list