diff options
author | David Shaw <[email protected]> | 2006-05-25 19:39:03 +0000 |
---|---|---|
committer | David Shaw <[email protected]> | 2006-05-25 19:39:03 +0000 |
commit | 05a2a2f39ac220a6ce65c3a2538dadfa941ccdf9 (patch) | |
tree | 19d78af3187668eaafb6e657a6bc89927736b931 /g10/import.c | |
parent | Added backsig to my key (diff) | |
download | gnupg-05a2a2f39ac220a6ce65c3a2538dadfa941ccdf9.tar.gz gnupg-05a2a2f39ac220a6ce65c3a2538dadfa941ccdf9.zip |
* keygen.c (gen_dsa): Allow generating DSA2 keys (allow specifying sizes >
1024 when --enable-dsa2 is set). The size of q is set automatically based
on the key size. (ask_keysize, generate_keypair): Ask for DSA size when
--enable-dsa2 is set.
Diffstat (limited to '')
-rw-r--r-- | g10/import.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/g10/import.c b/g10/import.c index 97d4b8f39..e94d3568e 100644 --- a/g10/import.c +++ b/g10/import.c @@ -978,6 +978,15 @@ import_one( const char *fname, KBNODE keyblock, struct stats_s *stats, } else if(new_key) { + /* A little explanation for this: we fill in the fingerprint + when importing keys as it can be useful to know the + fingerprint in certain keyserver-related cases (a keyserver + asked for a particular name, but the key doesn't have that + name). However, in cases where we're importing more than + one key at a time, we cannot know which key to fingerprint. + In these cases, rather than guessing, we do not fingerpring + at all, and we must hope the user ID on the keys are + useful. */ if(fpr) { xfree(*fpr); |