[Pkg-gnupg-commit] [gnupg2] 83/112: agent: Allow import of overly large keys.
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Tue Aug 30 17:48:23 UTC 2016
This is an automated email from the git hooks/post-receive script.
dkg pushed a commit to branch master
in repository gnupg2.
commit b5d63e81d5c472647decc7687cef91fee0378eb8
Author: Werner Koch <wk at gnupg.org>
Date: Tue Aug 16 19:06:28 2016 +0200
agent: Allow import of overly large keys.
* agent/command.c (MAXLEN_KEYDATA): Double the size.
--
Debian-bug-id: 834447
Signed-off-by: Werner Koch <wk at gnupg.org>
---
agent/command.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/agent/command.c b/agent/command.c
index 7fc28ad..9522f89 100644
--- a/agent/command.c
+++ b/agent/command.c
@@ -49,7 +49,7 @@
/* Maximum allowed size of the key parameters. */
#define MAXLEN_KEYPARAM 1024
/* Maximum allowed size of key data as used in inquiries (bytes). */
-#define MAXLEN_KEYDATA 4096
+#define MAXLEN_KEYDATA 8192
/* The size of the import/export KEK key (in bytes). */
#define KEYWRAP_KEYSIZE (128/8)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gnupg2.git
More information about the Pkg-gnupg-commit
mailing list