aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2012-04-22 15:27:59 +0000
committernils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2012-04-22 15:27:59 +0000
commit1c2b43879a66646a880004c2b986cd9b82ea8d5f (patch)
treecf11760b21602a5a624eb52fcd42a634e303c106
parentupdated TODO (diff)
downloadgpg4usb-1c2b43879a66646a880004c2b986cd9b82ea8d5f.tar.gz
gpg4usb-1c2b43879a66646a880004c2b986cd9b82ea8d5f.zip
set keysize also for DSA key in key generation (before DSA key always was 1024 bit
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@899 34ebc366-c3a9-4b3c-9f84-69acf7962910
-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";