]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Document test_keygen.sh a little more
authorNick Mathewson <nickm@torproject.org>
Thu, 6 Aug 2015 15:58:50 +0000 (11:58 -0400)
committerNick Mathewson <nickm@torproject.org>
Wed, 19 Aug 2015 17:36:50 +0000 (13:36 -0400)
src/test/test_keygen.sh

index 1005bb8ea81bcddb311fe70671115b8b5303546f..565e0a49445ecd46a91abaed44b102d56e45b8e5 100755 (executable)
@@ -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