Perstat Agent
PERSTAT_TOKEN=psag_… sh -c "$(curl -fsSL https://agent.perstat.io/install.sh)"
16c7d1de9d67448c8882209041cfc5a7f060ce4c3be3cbab8b7544fed0d2a20b
cat > perstat-release.pem <<'EOF'
-----BEGIN PUBLIC KEY-----
MCowBQYDK2VwAyEAFsfR3p1nRIyIgiCQQc/Fp/Bgzkw748uri3VE/tDSogs=
-----END PUBLIC KEY-----
EOF
curl -fsSL -O https://agent.perstat.io/SHA256SUMS
# hex -> raw bytes (no xxd/perl needed — both are missing on slim servers)
h=$(curl -fsSL https://agent.perstat.io/SHA256SUMS.sig)
while [ -n "$h" ]; do r=${h#??}; printf "\\$(printf '%03o' "0x${h%"$r"}")"; h=$r; done > SHA256SUMS.sig.bin
openssl pkeyutl -verify -pubin -inkey perstat-release.pem -rawin \
-in SHA256SUMS -sigfile SHA256SUMS.sig.bin