diff options
author | Nick Mathewson <nickm@torproject.org> | 2015-08-06 11:58:50 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-08-19 13:36:50 -0400 |
commit | 5d76acfcb302619dd97f6f2519889752bfa60e2e (patch) | |
tree | c6ba29ba17282135878403ebaf5b6475011e601b /src/test/test_keygen.sh | |
parent | 138b28dc35c96ad4d8206a1e78a75a1072df0aa4 (diff) | |
download | tor-5d76acfcb302619dd97f6f2519889752bfa60e2e.tar.gz tor-5d76acfcb302619dd97f6f2519889752bfa60e2e.zip |
Document test_keygen.sh a little more
Diffstat (limited to 'src/test/test_keygen.sh')
-rwxr-xr-x | src/test/test_keygen.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/test/test_keygen.sh b/src/test/test_keygen.sh index 1005bb8ea8..565e0a4944 100755 --- a/src/test/test_keygen.sh +++ b/src/test/test_keygen.sh @@ -69,6 +69,13 @@ touch "${DATA_DIR}/empty_torrc" QUIETLY="--hush" TOR="${TOR_BINARY} ${QUIETLY} --DisableNetwork 1 --ShutdownWaitLength 0 --ORPort 12345 --ExitRelay 0 -f ${DATA_DIR}/empty_torrc" +##### SETUP +# +# Here we create three sets of keys: one using "tor", one using "tor +# --keygen", and one using "tor --keygen" and encryption. We'll be +# copying them into different keys directories in order to simulate +# different kinds of configuration problems/issues. + # Step 1: Start Tor with --list-fingerprint. Make sure everything is there. mkdir "${DATA_DIR}/orig" ${TOR} --DataDirectory "${DATA_DIR}/orig" --list-fingerprint > /dev/null |