fix: refresh privacy-core pin on source startup

This commit is contained in:
BigBodyCobain
2026-05-02 09:38:13 -06:00
parent 447afe0b2b
commit 9122d306cd
3 changed files with 112 additions and 1 deletions
+4
View File
@@ -215,6 +215,10 @@ if [ ! -f "$PRIVACY_CORE_SO" ] && [ ! -f "$PRIVACY_CORE_DYLIB" ]; then
fi
if [ -f "$PRIVACY_CORE_SO" ] || [ -f "$PRIVACY_CORE_DYLIB" ]; then
echo "[*] privacy-core shared library OK."
"$VENV_PY" "$SCRIPT_DIR/scripts/refresh_privacy_core_pin.py" || {
echo "[!] WARNING: privacy-core trust pin refresh failed. Startup may fail if backend/.env pins an old hash."
echo ""
}
fi
cd "$SCRIPT_DIR"