add --postgres-password cmdline arg + make keys

This commit is contained in:
swrup 2026-05-12 04:10:43 +02:00 committed by Swrup
parent 42b7e13eae
commit 6cb6a96784
11 changed files with 84 additions and 53 deletions

View file

@ -4,14 +4,20 @@ set -e
a="/tmp/a.json"
b="/tmp/b.json"
url="http://10.0.0.2:3434"
auditor_pub="A17JXR3E6J4CXDPYT7S1H25PGJ3ABS26TQ38654QCX0TB59RPMF0"
master_key="./default/master_offline_private_key"
zero_kudos="KUDOS:0.0"
# TODO launch mte.exe and kill it a then end with its PID
url="http://10.0.0.2:3434"
if [ ! -d ./keys ]; then
echo "./keys folder not found"
exit 1
fi
master_key="./keys/master"
#auditor_pub=$(cat "./keys/auditor_0.pub")
auditor_pub="BQCHC907487KZD5BYD7S8AV2RY8Z5QZSJQVM4JJ8VBH17SPET2BG"
# TODO launch mte.exe and kill it a then end with its PID
mte-offline-tool() {
dune exec mte-offline-tool -- "$@" > /dev/null
}