mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-03 12:11:33 +01:00
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 <wk@gnupg.org>
This commit is contained in:
parent
38b9da7de3
commit
b0e8724b10
@ -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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user