gpg 1.0.5: unusable secret key

Alexander Skwar ASkwar@DigitalProjects.com
Sun May 20 18:11:01 2001


Hello!

I've recently upgraded to gnupg v1.0.5 from 1.0.4 on Linux Mandrake,
using the RPM packages made by Mandrake.

Since I upgraded, I'm no longer able to sign a message with my ElGamal
key with ID 4E35467E.

If I try to sign a message, I get this error message from GnuPG 1.0.5:

[askwar@teich public_html]$ gpg -v -v  -u 4E35467E --sign --armor
rfc822.php 
gpg: loaded digest 2
gpg: /usr/lib/gnupg/idea: IDEA ($Revision: 1.11 $)
gpg: loaded digest 3
gpg: loaded digest 1
gpg: skipped `4E35467E': unusable secret key
gpg: signing failed: unusable secret key

Going back to GnuPG 1.0.4, I am able to use this key:

[askwar@teich public_html]$ gpg -v -v  -u $k --sign --armor rfc822.php 
gpg: loaded digest 2
gpg: /usr/lib/gnupg/idea: IDEA ($Revision: 1.11 $)

You need a passphrase to unlock the secret key for
user: "Alexander Skwar (ElGamal) <ASkwar@DigitalProjects.com>"
2048-bit ELG key, ID 4E35467E, created 1999-11-19

gpg: loaded digest 3
gpg: writing to `rfc822.php.asc'
gpg: ELG signature from: 4E35467E Alexander Skwar (ElGamal)
<ASkwar@DigitalProjects.com>

Invoking gnupg with --debug-all, I get a lot of these messages:

gpg: DBG: Ooops, m_size called
gpg: DBG: mpi_free_limb_space of size 0
gpg: DBG: mpi_free
gpg: DBG: Ooops, m_size called
gpg: DBG: mpi_free_limb_space of size 0
gpg: DBG: iobuf-3.0: underflow: eof (due to filter eof)
gpg: DBG: iobuf-3.0: close `(null)'
gpg: skipped `4E35467E': unusable secret key
gpg: signing failed: unusable secret key

The full output of --debug-all is available at
http://dp.ath.cx/~askwar/gnupg-debug-all

What's causing this?

Thanks,
Alexander Skwar