From 1c2b43879a66646a880004c2b986cd9b82ea8d5f Mon Sep 17 00:00:00 2001 From: nils Date: Sun, 22 Apr 2012 15:27:59 +0000 Subject: 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 --- TODO | 2 ++ keygendialog.cpp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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 = "\n" "Key-Type: DSA\n" - "Key-Length: 1024\n" + "Key-Length: " + keySizeSpinBox->cleanText() + "\n" "Subkey-Type: ELG-E\n" "Subkey-Length: " + keySizeSpinBox->cleanText() + "\n"; -- cgit v1.2.3