summaryrefslogtreecommitdiff
path: root/provider_base/services
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2016-10-04 11:06:13 -0700
committerelijah <elijah@riseup.net>2016-10-04 11:06:13 -0700
commitad9415a5e2885e940e99a07a9d6cdb2b1600e1bd (patch)
tree50ade4c4a607c7f7bea55db3ada3618f2e401473 /provider_base/services
parentb13cbe4730a986a3b60c4c70ce2b5f16da8a4feb (diff)
[bug] fix Tor hidden service key generation
Diffstat (limited to 'provider_base/services')
-rw-r--r--provider_base/services/tor.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/provider_base/services/tor.json b/provider_base/services/tor.json
index 55d3d2ee..e80310fe 100644
--- a/provider_base/services/tor.json
+++ b/provider_base/services/tor.json
@@ -9,7 +9,7 @@
"key_type": "RSA",
"public_key": "= tor_public_key_path(:node_tor_pub_key, tor.hidden_service.key_type) if tor.hidden_service.active",
"private_key": "= tor_private_key_path(:node_tor_priv_key, tor.hidden_service.key_type) if tor.hidden_service.active",
- "address": "= onion_address(:node_tor_pub_key) if tor.hidden_service.active"
+ "address": "=> tor.hidden_service.active && onion_address(:node_tor_pub_key)"
}
}
}