Secure messenger with TLS identities, scoped OpenBao secrets and worker compromise experiments

This commit is contained in:
2026-12-02 17:29:35 +03:00
parent 20afc2c790
commit 047cef4c7f
128 changed files with 10569 additions and 49 deletions
+8
View File
@@ -0,0 +1,8 @@
#!/bin/sh
set -eu
mkdir -p /tmp/pg-tls
cp /run/tls/cert.crt /tmp/pg-tls/cert.crt
cp /run/tls/key.key /tmp/pg-tls/key.key
chown -R postgres:postgres /tmp/pg-tls
chmod 600 /tmp/pg-tls/key.key
exec /usr/local/bin/docker-entrypoint.sh postgres -c ssl=on -c ssl_cert_file=/tmp/pg-tls/cert.crt -c ssl_key_file=/tmp/pg-tls/key.key -c hba_file=/config/pg_hba.conf -c password_encryption=scram-sha-256