From b0e8724b102535c27a8c973ec038d340858a8eb8 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Fri, 5 Jul 2019 08:41:42 +0200 Subject: [PATCH] wkd: Change client/server limit back to 64 KiB * tools/wks-receive.c (decrypt_data): Change limit. -- The former limit ~1MiB of was used during development. Signed-off-by: Werner Koch --- tools/wks-receive.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/wks-receive.c b/tools/wks-receive.c index e67da628d..e5d2ed4b2 100644 --- a/tools/wks-receive.c +++ b/tools/wks-receive.c @@ -96,7 +96,7 @@ decrypt_data (receive_ctx_t ctx) /* We limit the output to 64 KiB to avoid DoS using compression * tricks. A regular client will anyway only send a minimal key; * that is one w/o key signatures and attribute packets. */ - ccparray_put (&ccp, "--max-output=0xf0000"); /*FIXME: Change s/F/1/ */ + ccparray_put (&ccp, "--max-output=0x10000"); ccparray_put (&ccp, "--batch"); if (opt.verbose) ccparray_put (&ccp, "--verbose");