summaryrefslogtreecommitdiff
path: root/handshake_ntor_test.go
diff options
context:
space:
mode:
authorYawning Angel <yawning@schwanenlied.me>2014-06-07 00:26:36 +0000
committerYawning Angel <yawning@schwanenlied.me>2014-06-07 00:26:36 +0000
commitb19b6de31f160b70f5d38d78d16c539a3b07c6fa (patch)
tree60dd174ba48b143fa7f8ff375ed5d3da0eeb7ce2 /handshake_ntor_test.go
parentd9c6ecbf8f293562093535424fb87189b2812351 (diff)
Allow randomly generating node-ids instead of requiring the fingerprint.
To ease delopyment, "-genServerParams has changed". * "-genServerParams" is now a bool, and will by default generate a random node-id. * "-genServerParams -genServerParamsFP=<Base16 blob>" will convert the supplied bridge fingerprint to a node-id (the old behavior). Either way of deriving node-id is belived to be secure. * https://lists.torproject.org/pipermail/tor-dev/2014-May/006929.html * https://lists.torproject.org/pipermail/tor-dev/2014-June/006936.html The extra parameter was added because golang's flags library doesn't support distinguishing between "set but used the default value" and "not set, so you go the default value".
Diffstat (limited to 'handshake_ntor_test.go')
0 files changed, 0 insertions, 0 deletions