You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
sbotc/test-shs-client-inner.sh

9 lines
212 B

#!/bin/sh
cap_hex=${1?shs cap key}
pk_hex=${2?server public key}
cap_b64="$(echo -n "$cap_hex" | xxd -r -p | base64)"
pk_b64="$(echo -n "$pk_hex" | xxd -r -p | base64)"
exec sbotc -T -c "$cap_b64" -k "$pk_b64"