aboutsummaryrefslogtreecommitdiffstats
path: root/keymgmt.cpp
diff options
context:
space:
mode:
authornils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2010-01-31 12:24:51 +0000
committernils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2010-01-31 12:24:51 +0000
commitb81fd7b29adb6967b48464f01c7cd6b67599316f (patch)
tree97c2f89d6466ff2e93e9f43b779e0c8972409998 /keymgmt.cpp
parentfixed the keysize bug. keys were created wit maximal 1024 bit. Now the El-Gam... (diff)
downloadgpg4usb-b81fd7b29adb6967b48464f01c7cd6b67599316f.tar.gz
gpg4usb-b81fd7b29adb6967b48464f01c7cd6b67599316f.zip
set the minimum key size to 768 bit in key generation (gnupg requires el-gamal to be not smaller tan this)
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@253 34ebc366-c3a9-4b3c-9f84-69acf7962910
Diffstat (limited to 'keymgmt.cpp')
-rwxr-xr-xkeymgmt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/keymgmt.cpp b/keymgmt.cpp
index e3d24f7..2bdd52c 100755
--- a/keymgmt.cpp
+++ b/keymgmt.cpp
@@ -213,7 +213,7 @@ void KeyMgmt::generateKeyDialog()
commentEdit = new QLineEdit(genkeyDialog);
keySizeSpinBox = new QSpinBox(genkeyDialog);
- keySizeSpinBox->setRange(512, 8192);
+ keySizeSpinBox->setRange(768, 8192);
keySizeSpinBox->setValue(2048);
keySizeSpinBox->setSingleStep(256);