mirror of
https://github.com/openwrt/packages.git
synced 2025-12-26 11:16:31 +04:00
14 lines
344 B
Diff
14 lines
344 B
Diff
diff --git a/src/tang-show-keys b/src/tang-show-keys
|
|
index 0c33c3a..f017e84 100755
|
|
--- a/src/tang-show-keys
|
|
+++ b/src/tang-show-keys
|
|
@@ -27,7 +27,7 @@ fi
|
|
|
|
port=${1-80}
|
|
|
|
-adv=$(curl -sSf "localhost:$port/adv")
|
|
+adv=$(wget -qO- "http://127.0.0.1:$port/adv")
|
|
|
|
THP_DEFAULT_HASH=S256 # SHA-256.
|
|
jose fmt --json "${adv}" -g payload -y -o- \
|