diff options
author | Werner Koch <[email protected]> | 2018-12-18 07:21:03 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2018-12-18 07:25:02 +0000 |
commit | 16424d8a34c7f6af1071fd19dfc180cb7d17c052 (patch) | |
tree | ad43d933d644dea7c61fa6c70185e5dd15f62c50 /dirmngr/dns.c | |
parent | po: Update Japanese translation. (diff) | |
download | gnupg-16424d8a34c7f6af1071fd19dfc180cb7d17c052.tar.gz gnupg-16424d8a34c7f6af1071fd19dfc180cb7d17c052.zip |
wks: Do not use compression for the encrypted data.
* tools/gpg-wks-client.c (encrypt_response): Add arg -z0.
* tools/gpg-wks-server.c (encrypt_stream): Ditto.
--
If for example a server was built without the development packages of
the compression libraries installed, the server will not be able to
decrypt a request. In theory this can't happen due to the preference
system but it is just to easy to create the server's key using a
different version of gpg and then use gpg-wks-server built
differently.
For the short messages we exchange compression is not really required
and thus we better do without to make the system more robust.
Signed-off-by: Werner Koch <[email protected]>
(cherry picked from commit 70a8db0333e3c22403b3647f8b5f924f6dace719)
Diffstat (limited to 'dirmngr/dns.c')
0 files changed, 0 insertions, 0 deletions