diff options
author | Joey Hess <joeyh@joeyh.name> | 2016-09-14 15:51:59 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2016-09-14 15:51:59 -0400 |
commit | 92f0a9c8b6c676281dcbee6e4bce938b969ef7c2 (patch) | |
tree | b5fb0fee6d476db3b6658c5d7ec07e9387658fb2 /keysafe.hs | |
parent | 0709306afeaba998d8f0a76e37517d4c227ac1c3 (diff) | |
download | keysafe-92f0a9c8b6c676281dcbee6e4bce938b969ef7c2.tar.gz |
Added --chaff mode which uploads random junk to servers.
This is useful both to test the server throttling of uploads, and to make
it harder for servers to know if an object actually contains secret key
information.
This commit was sponsored by Brock Spratlen on Patreon.
Diffstat (limited to 'keysafe.hs')
-rw-r--r-- | keysafe.hs | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -71,6 +71,8 @@ dispatch cmdline ui storagelocations tunables possibletunables = do runServer (CmdLine.localstoragedirectory cmdline) (CmdLine.serverConfig cmdline) + go (CmdLine.Chaff hn) _ = storeChaff hn + (CmdLine.serverPort (CmdLine.serverConfig cmdline)) go CmdLine.Benchmark _ = benchmarkTunables tunables go CmdLine.Test _ = |