Package: gnupg
Version: 1.4.2-2
Severity: normal

I tried to create a key in an unattended way using this file:

| Key-Type: DSA
| Key-Length: 1024
| Subkey-Type: ElGamal
| Subkey-Length: 2048
| Name-Real: Backups for host foobar
| Name-Email: [EMAIL PROTECTED]
| Expire-Date: 2y
| Passphrase: foo

Which made GnuPG die with an Ohhh jee:

} [EMAIL PROTECTED]:~/tmp/foo$ gpg --batch --gen-key < ./keygen
} gpg: WARNING: unsafe permissions on homedir `.'
} 
+++++++++++++++.+++++++++++++++++++++++++++++++++++++++++++++.+++++.+++++++++++++++.+++++.+++++++++++++++++++++++++++++++++++++++++++++>+++++..+++++<+++++....>+++++.................................................................................................................+++++
} 
} gpg: Ohhhh jeeee: ... this is a bug (keygen.c:1872:do_create)
} secmem usage: 1856/3328 bytes in 7/11 blocks of pool 3488/32768
} zsh: abort      gpg --batch --gen-key < ./keygen


If I use a proper algorithm name (like ELG-E) instead of the wrong
ElGamal everything is fine, but the error handling could be better :)

-- 
Peter


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to