diff options
author | Werner Koch <[email protected]> | 2009-05-15 19:26:46 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2009-05-15 19:26:46 +0000 |
commit | c4e92c334418ebd538ef298f904149c31ac29137 (patch) | |
tree | a0658abe75583049b86e44fce9ffc9b7bd9d664c /scd/app-openpgp.c | |
parent | 2009-05-15 Marcus Brinkmann <[email protected]> (diff) | |
download | gnupg-c4e92c334418ebd538ef298f904149c31ac29137.tar.gz gnupg-c4e92c334418ebd538ef298f904149c31ac29137.zip |
Made card key generate with backup key work for 2048 bit.
Improved card key generation prompts.
Diffstat (limited to '')
-rw-r--r-- | scd/app-openpgp.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scd/app-openpgp.c b/scd/app-openpgp.c index a633feab6..02c1d338f 100644 --- a/scd/app-openpgp.c +++ b/scd/app-openpgp.c @@ -2368,6 +2368,9 @@ do_writekey (app_t app, ctrl_t ctrl, maxbits = app->app_local->keyattr[keyno].n_bits; nbits = rsa_n? count_bits (rsa_n, rsa_n_len) : 0; + if (opt.verbose) + log_info ("RSA modulus size is %u bits (%u bytes)\n", + nbits, (unsigned int)rsa_n_len); if (nbits != maxbits) { log_error (_("RSA modulus missing or not of size %d bits\n"), |