aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--TODO2
-rw-r--r--keygendialog.cpp2
2 files changed, 3 insertions, 1 deletions
diff --git a/TODO b/TODO
index b84eb3d..f69ccc5 100644
--- a/TODO
+++ b/TODO
@@ -15,6 +15,8 @@ Release 0.3.3
BUGS:
- key generation doesn't work sometimes
+- The new wizard leaves an empty key in the registry (with GnuPG not installed locally): HKEY_CURRENT_USER\Software\GNU\GNUPG
+ (bug localized in method getGnuPGHome wizard.cpp line 323)
Release 0.3.4
- Catch bad passphrase message
diff --git a/keygendialog.cpp b/keygendialog.cpp
index fc07524..bce9071 100644
--- a/keygendialog.cpp
+++ b/keygendialog.cpp
@@ -143,7 +143,7 @@ void KeyGenDialog::keyGenAccept()
} else {
keyGenParams = "<GnupgKeyParms format=\"internal\">\n"
"Key-Type: DSA\n"
- "Key-Length: 1024\n"
+ "Key-Length: " + keySizeSpinBox->cleanText() + "\n"
"Subkey-Type: ELG-E\n"
"Subkey-Length: "
+ keySizeSpinBox->cleanText() + "\n";