summaryrefslogtreecommitdiff
path: root/src/or/config.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-09-01 10:22:24 -0400
committerNick Mathewson <nickm@torproject.org>2015-09-04 09:55:07 -0400
commit0ba4e0895ae2395a528aacd1625715a7ffc29211 (patch)
tree998c4aa45c25327adf8db702433c04ab9d053b9e /src/or/config.c
parentd891e2a9c517e2b097456b7143f955ac66b112ea (diff)
downloadtor-0ba4e0895ae2395a528aacd1625715a7ffc29211.tar.gz
tor-0ba4e0895ae2395a528aacd1625715a7ffc29211.zip
Add "OfflineMasterKey" option
When this is set, and Tor is running as a relay, it will not generate or load its secret identity key. You can manage the secret identity key with --keygen. Implements ticket 16944.
Diffstat (limited to 'src/or/config.c')
-rw-r--r--src/or/config.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/config.c b/src/or/config.c
index 6e782de0e0..3b8bf55875 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -333,6 +333,7 @@ static config_var_t option_vars_[] = {
V(NumCPUs, UINT, "0"),
V(NumDirectoryGuards, UINT, "0"),
V(NumEntryGuards, UINT, "0"),
+ V(OfflineMasterKey, BOOL, "0"),
V(ORListenAddress, LINELIST, NULL),
VPORT(ORPort, LINELIST, NULL),
V(OutboundBindAddress, LINELIST, NULL),