From fd78f3e300d3794176f123bb82dd2b3ae427cff0 Mon Sep 17 00:00:00 2001 From: mitchell Date: Fri, 10 Jul 2026 09:28:39 -0400 Subject: [PATCH] Run script for testing encrypted private ingredients should not be standalone. --- activestate.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/activestate.yaml b/activestate.yaml index d1cfd84a0b..f5e7354177 100644 --- a/activestate.yaml +++ b/activestate.yaml @@ -462,7 +462,6 @@ scripts: - name: serve-org-keys language: bash description: Runs a server that serves org keys for testing encrypted private ingredients - standalone: true value: | org="$1" if [ -z "$org" ]; then @@ -475,7 +474,7 @@ scripts: echo "Generating HTTPS certificate." if [ ! -d test/ssl ]; then mkdir test/ssl; fi rm -f test/ssl/{key,cert}.pem - state exec openssl -- req -x509 -newkey rsa:2048 -nodes -days 365 \ + openssl req -x509 -newkey rsa:2048 -nodes -days 365 \ -keyout test/ssl/key.pem -out test/ssl/cert.pem \ -subj "/CN=localhost" \ -addext "subjectAltName=DNS:localhost,IP:127.0.0.1" 2> /dev/null @@ -483,9 +482,9 @@ scripts: echo "Starting org key server." if [ -z "$key" ]; then echo "Using random encryption key (see below)" - state exec python3 -- scripts/orgkeyserver.py --tls-cert test/ssl/cert.pem --tls-key test/ssl/key.pem --org $org + python3 -- scripts/orgkeyserver.py --tls-cert test/ssl/cert.pem --tls-key test/ssl/key.pem --org $org else - state exec python3 -- scripts/orgkeyserver.py --tls-cert test/ssl/cert.pem --tls-key test/ssl/key.pem --org "$org" --key "$key" + python3 -- scripts/orgkeyserver.py --tls-cert test/ssl/cert.pem --tls-key test/ssl/key.pem --org "$org" --key "$key" fi events: