From 58bb02114f47976f5a716af9ee00207b112a4bd9 Mon Sep 17 00:00:00 2001 From: nils Date: Wed, 7 Mar 2012 21:00:53 +0000 Subject: set maximum keysize of elgamal subkey to 65536 git-svn-id: http://cpunk.de/svn/src/gpg4usb/branches/0.3.2@850 34ebc366-c3a9-4b3c-9f84-69acf7962910 --- gpgcontext.cpp | 1 - keygendialog.cpp | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/gpgcontext.cpp b/gpgcontext.cpp index 3762e58..3b21514 100644 --- a/gpgcontext.cpp +++ b/gpgcontext.cpp @@ -769,7 +769,6 @@ GpgKey GpgContext::getKeyByFpr(QString fpr) { return GpgKey(); } - /** * note: privkey status is not returned */ diff --git a/keygendialog.cpp b/keygendialog.cpp index 778f24c..daddca8 100644 --- a/keygendialog.cpp +++ b/keygendialog.cpp @@ -41,7 +41,7 @@ void KeyGenDialog::generateKeyDialog() commentEdit = new QLineEdit(this); keySizeSpinBox = new QSpinBox(this); - keySizeSpinBox->setRange(768, 8192); + keySizeSpinBox->setRange(768, 65536); keySizeSpinBox->setValue(2048); keySizeSpinBox->setSingleStep(256); -- cgit v1.2.3