Insufficient/missing check on libgcrypt when gpg2 is used with --enable-dsa2?

Werner Koch wk at gnupg.org
Wed Apr 2 19:42:04 CEST 2008


On Wed,  2 Apr 2008 13:00, michael at vorlon.ping.de said:

> Shouldn't then gpg2 require libgcrypt >= 1.4.0 during build or check
> during runtime if the installed libgcrypt supports DSA2 when one tries to
> generate/use such a key?

Right.  Fixed in SVN:

  $ gpg2 --version
  gpg (GnuPG) 2.0.10-svn4720
  Copyright (C) 2008 Free Software Foundation, Inc.
  License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
  This is free software: you are free to change and redistribute it.
  There is NO WARRANTY, to the extent permitted by law.
  
  Home: ~/.gnupg
  Supported algorithms:
  Pubkey: RSA, ELG, DSA
  Cipher: 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH
  Hash: MD5, SHA1, RIPEMD160, SHA256, SHA384, SHA512
  Compression: Uncompressed, ZIP, ZLIB
  Used libraries: gcrypt(1.2.5-svn1275)

  $ gpg2 --enable-dsa2
  gpg: WARNING: DSA2 is only available with Libgcrypt 1.4 and later
  gpg: Go ahead and type your message ...
  


Shalom-Salam,

   Werner


-- 
Die Gedanken sind frei.  Auschnahme regelt ein Bundeschgesetz.




More information about the Gnupg-devel mailing list