On 2007-12-11 Simon Josefsson <[EMAIL PROTECTED]> wrote: > I believe the problem is because libgcrypt is too old and doesn't > support DSA2.
> Libgcrypt 1.4.0 do support DSA2. Once 1.4.0 has been installed in > Debian, I think this problem should be solved in the gnupg2 package by > adding a 'libgcrypt (>= 1.4.0)' dependency. Upgrading to libgcrypt11 1.4.0 generates a different error. However I think this one is really a gnupg2 error, not a gcrypt one. --------------------- (SID)[EMAIL PROTECTED]:~$ gpg2 --enable-dsa2 --gen-key gpg (GnuPG) 2.0.7; Copyright (C) 2007 Free Software Foundation, Inc. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Please select what kind of key you want: (1) DSA and Elgamal (default) (2) DSA (sign only) (5) RSA (sign only) Your selection? 1 DSA keys may be between 1024 and 3072 bits long. What keysize do you want? (1024) 2048 Requested keysize is 2048 bits ELG keys may be between 1024 and 4096 bits long. What keysize do you want? (2048) Requested keysize is 2048 bits Please specify how long the key should be valid. 0 = key does not expire <n> = key expires in n days <n>w = key expires in n weeks <n>m = key expires in n months <n>y = key expires in n years Key is valid for? (0) Key does not expire at all Is this correct? (y/N) y You need a user ID to identify your key; the software constructs the user ID from the Real Name, Comment and Email Address in this form: "Heinrich Heine (Der Dichter) <[EMAIL PROTECTED]>" Real name: hjjh Name must be at least 5 characters long Real name: gghghgjgj Email address: [EMAIL PROTECTED] Comment: You selected this USER-ID: "gghghgjgj <[EMAIL PROTECTED]>" Change (N)ame, (C)omment, (E)mail or (O)kay/(Q)uit? o You need a Passphrase to protect your secret key. We need to generate a lot of random bytes. It is a good idea to perform some other action (type on the keyboard, move the mouse, utilize the disks) during the prime generation; this gives the random number generator a better chance to gain enough entropy. gpg: WARNING: some OpenPGP programs can't handle a DSA key with this digest size gpg: DSA key BEB7B76F requires a 224 bit or larger hash gpg: make_keysig_packet failed: General error Key generation failed: General error ---------------------- I will re-assign to gnupg2 once libgcrypt11 1.4.0 is in unstable. cu andreas -- `What a good friend you are to him, Dr. Maturin. His other friends are so grateful to you.' `I sew his ears on from time to time, sure' -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]