diff --git a/package.json b/package.json index 726d4c739..4d1ef3e7e 100644 --- a/package.json +++ b/package.json @@ -10,6 +10,7 @@ "scripts": { "build": "yarn workspace openhuman-app build", "compile": "yarn workspace openhuman-app compile", + "core:stage": "yarn workspace openhuman-app core:stage", "dev": "yarn workspace openhuman-app dev", "dev:app": "yarn workspace openhuman-app dev:app", "format": "yarn workspace openhuman-app format", diff --git a/scripts/setup-dev-codesign.sh b/scripts/setup-dev-codesign.sh index 08a6bc06a..7ae525ac2 100755 --- a/scripts/setup-dev-codesign.sh +++ b/scripts/setup-dev-codesign.sh @@ -39,6 +39,21 @@ fi echo "[setup-dev-codesign] Creating self-signed code-signing certificate: \"$IDENTITY\"" # ── Generate key + self-signed certificate ─────────────────────────────────── +cat > "$TMPDIR_CERT/openssl.conf" </dev/null # ── Bundle to PKCS12 ───────────────────────────────────────────────────────── @@ -66,9 +81,10 @@ security import "$P12" \ -T /usr/bin/security # ── Trust for code signing ─────────────────────────────────────────────────── +# Note: we add both basic and codeSign trust. security add-trusted-cert \ - -d \ -r trustRoot \ + -p basic \ -p codeSign \ -k "$KEYCHAIN" \ "$CERT"