diff options
author | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2012-09-01 21:00:12 +0000 |
---|---|---|
committer | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2012-09-01 21:00:12 +0000 |
commit | 75d58284a4417c2c08a8e3f21af8dda9d842cb08 (patch) | |
tree | 3ee1a84069715da3741d314b3e647e02533fbcd4 | |
parent | fix creation of windows registry key on import from GnuPG, if gnupg key doesn... (diff) | |
download | gpg4usb-75d58284a4417c2c08a8e3f21af8dda9d842cb08.tar.gz gpg4usb-75d58284a4417c2c08a8e3f21af8dda9d842cb08.zip |
set keysize also for DSA key in key generation (before DSA key always was 1024 bit (r899)
git-svn-id: http://cpunk.de/svn/src/gpg4usb/branches/0.3.2-1@946 34ebc366-c3a9-4b3c-9f84-69acf7962910
-rw-r--r-- | keygendialog.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/keygendialog.cpp b/keygendialog.cpp index ef07e61..4d83069 100644 --- a/keygendialog.cpp +++ b/keygendialog.cpp @@ -126,7 +126,8 @@ void KeyGenDialog::keyGenAccept() */ 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" |