another gpgme + gnupg 1.0.7 prob?

Jacob Perkins jap1 at rig.dyndns.ws
Fri Sep 6 12:38:01 CEST 2002


Actually, looking at the key with gpg --list-secret-keys, the secret key
is not 2048 (the size I sent in parms), it is 1024, as is its public
counterpart. The generated key with gpgme is DSA+ElGamal.

> On Wed, Sep 04, 2002 at 09:31:32 -0500, Jacob Perkins wrote:
>> Generating a key doesn't seem to care what length is passed, just uses
>> 1024.  This if for DSA+ElGamal.
>
> If you check you'll see that the primary key (DSA) is 1024 bits long and
> the ElGamal subkey is as long as you asked. That's the same you'd get
> from running gpg --gen-key.
>
> DSA does not support key lengths over 1024 bits (see the GNU Privacy
> Handbook for details).
>
> However, if you try to generate a 2048 bits DSA only key, gpgme (or,
> rather, gpg in unattended key generation mode), happily generates a 1024
> bits key. I think that's a bug.
>
> Would it be possible to have detailed information about key generation,
> as we do for imports? It would be great for telling the user the
> fingerprint of the key he just generated, for example.
>
> Thanks,
> --
> Miguel Coca
> e970095 at zipi.fi.upm.es PGP Key 0x27FC3CA8
> http://zipi.fi.upm.es/~e970095/
>
> _______________________________________________
> Gnupg-devel mailing list
> Gnupg-devel at gnupg.org
> http://lists.gnupg.org/mailman/listinfo/gnupg-devel







More information about the Gnupg-devel mailing list