Mailing List Archive

gpg --list-keys not working
I can't get gpg --list-keys or --list-secret-keys, or even -kv, to work. I
get this:

cwiegand $ gpg --list-secret-keys
gpg (GNUPG) 0.3.4; Copyright (C) 1998 Free Software Foundation, Inc.
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions. See the file COPYING for details.

/home/cwiegand/.gnupg/secring.gpg
---------------------------------

gpg: Ooops: mpi crosses packet bordersecmem usage: 0/0 bytes in 0/0 blocks
of pool 0/16384
IOT trap/Abort

I'm trying to design pgp4pine so that you can selectively choose different
"local user", or signing keys, instead of just the default. However, I
can't get gpg to tell me what those keys are...
Re: gpg --list-keys not working [ In reply to ]
Chris Wiegand <cwiegand@urgentmail.com> writes:
>
> gpg: Ooops: mpi crosses packet bordersecmem usage: 0/0 bytes in 0/0 blocks

You have a bad keyring: a MPI (large integer) claims to be larger than
the packet. Please use "-vv" to see where it bails out.
You are using 0.3.4 ?


Werner
Re: gpg --list-keys not working [ In reply to ]
On Tue, 8 Sep 1998, Werner Koch wrote:

> Chris Wiegand <cwiegand@urgentmail.com> writes:
> >
> > gpg: Ooops: mpi crosses packet bordersecmem usage: 0/0 bytes in 0/0 blocks
>
> You have a bad keyring: a MPI (large integer) claims to be larger than
> the packet. Please use "-vv" to see where it bails out.
> You are using 0.3.4 ?

Yup. When I run gpg -vv, I get this:

gpg (GNUPG) 0.3.4; Copyright (C) 1998 Free Software Foundation, Inc.
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions. See the file COPYING for details.


gpg: Ooops: mpi crosses packet bordersecmem usage: 0/0 bytes in 0/0 blocks
of pool 0/16384
IOT trap/Abort

I'm running Linux 2.0.35, libc 5.4.22, gcc 2.7.2.1. I just made a DSA and
ElGamal (default) key of 768 bits. (I'm just testing it out, so..) If you
need more info, or want to take a look at the keyrings, fine by me.

Chris Wiegand
http://www.netcom.com/~wiegand
Re: gpg --list-keys not working [ In reply to ]
Chris Wiegand <cwiegand@urgentmail.com> writes:

> Yup. When I run gpg -vv, I get this:

Ah right, I forgot. -vv is disabled during keyring procesijng which
is always done during startup (to see what secret keys are available).

You might use something like this :

gpg --no-default-keyring -vv --list-packets your-secret-keyring.gpg


I have to write better debugging tools.


Werner