aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDavid Phillips <david@sighup.nz>2018-06-18 23:04:01 +1200
committerDavid Phillips <david@sighup.nz>2018-06-18 23:17:17 +1200
commit62cdaf4e566617f01bdbac6d15f615804339f0ea (patch)
treef24627cd2c81a9b9740d3a5d7e2bce4e98b33309 /test
parent635a339ca955c52f6cacfd1436b007942eecb851 (diff)
downloadsand-leek-62cdaf4e566617f01bdbac6d15f615804339f0ea.tar.xz
Change shasum to sha1sum to remove perl dep
Diffstat (limited to 'test')
-rwxr-xr-xtest/002-test-key-name.test/run.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/002-test-key-name.test/run.sh b/test/002-test-key-name.test/run.sh
index f3ac770..661b451 100755
--- a/test/002-test-key-name.test/run.sh
+++ b/test/002-test-key-name.test/run.sh
@@ -16,7 +16,7 @@ echo "sand-leek says it found $found..."
real="$( \
openssl rsa -in $key -pubout -outform DER \
| tail -c +23 \
- | shasum \
+ | sha1sum \
| head -c 20 \
| python -c "import base64,sys,codecs; print(base64.b32encode(codecs.decode(sys.stdin.readline().strip('\n'), 'hex')).decode().lower())").onion"