another gpgme + gnupg 1.0.7 prob?
Miguel Coca
e970095@zipi.fi.upm.es
Wed Sep 4 17:48:02 2002
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@zipi.fi.upm.es
PGP Key 0x27FC3CA8 http://zipi.fi.upm.es/~e970095/