diff options
author | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2010-01-31 12:24:51 +0000 |
---|---|---|
committer | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2010-01-31 12:24:51 +0000 |
commit | b81fd7b29adb6967b48464f01c7cd6b67599316f (patch) | |
tree | 97c2f89d6466ff2e93e9f43b779e0c8972409998 | |
parent | fixed the keysize bug. keys were created wit maximal 1024 bit. Now the El-Gam... (diff) | |
download | gpg4usb-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
-rwxr-xr-x | keymgmt.cpp | 2 |
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); |