summaryrefslogtreecommitdiff
path: root/zshfunc
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2014-09-17 10:58:15 +0200
committerPeter Palfrader <peter@palfrader.org>2014-09-17 10:58:15 +0200
commit585517f725b14d538c7c84728b80cb2bdff4fabd (patch)
tree16621a09fda15c72c7e78efc61726e5ff2bc7b6d /zshfunc
parentda8bfa08302a7b107f9198374f945dfcb5d174c3 (diff)
sd: download the consensus instead of a v2 status
Diffstat (limited to 'zshfunc')
-rw-r--r--zshfunc/sd2
1 files changed, 1 insertions, 1 deletions
diff --git a/zshfunc/sd b/zshfunc/sd
index ec12420..92ee1cf 100644
--- a/zshfunc/sd
+++ b/zshfunc/sd
@@ -1,7 +1,7 @@
## vim:ft=zsh:foldmethod=marker
local fp
-fp=$( wget -q -O - http://tor.noreply.org:80/tor/status/authority | \
+fp=$( wget -q -O - http://tor.noreply.org:80/tor/status-vote/current/consensus | \
awk '$1 == "r" && $2 == "'$1'" {printf "%s===", $3}' | \
perl -MMIME::Base64 -e "print unpack(\"H*\", decode_base64(<>)),\"\n\"" )
echo wget -q -O - http://tor.noreply.org:80/tor/server/fp/$fp