From 6d5e936f18a86ee09508d1719fdf5eacfdb901ed Mon Sep 17 00:00:00 2001 From: Bendik Aagaard Lynghaug Date: Wed, 11 Nov 2026 22:41:19 +0100 Subject: [PATCH] kron keeps an identity, and the Vipps keys may be given on the desk A volume for kron's age identity (KRON_IDENTITY_FILE), KRON_LANG, and kron.env written with only the VIPPS_* the deploy holds: none, and kron asks for them through portal, sealed to that identity. Co-Authored-By: Claude Fable 5.1 --- .gitea/workflows/deploy.yml | 25 ++++++++++++++----------- README.md | 19 ++++++++++++++----- compose.yml | 9 +++++++++ 3 files changed, 37 insertions(+), 16 deletions(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index f6c1187..1cd6e44 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -80,9 +80,11 @@ jobs: RAUTHY_API_KEY: ${{ secrets.RAUTHY_API_KEY }} RAUTHY_LANGUAGE: ${{ vars.RAUTHY_LANGUAGE }} # The money service (README.md, "Payments"): Vipps's keys for the - # Medlemskap sales unit, read by kron alone. All five are needed - # once COMPOSE_PROFILES has `pay`; VIPPS_WEBHOOK_SECRET may wait, - # kron then settles by asking Vipps every minute instead. + # Medlemskap sales unit, read by kron alone. Unset, kron starts + # without them and asks for them on the treasurer's desk + # ("Tjenester som venter"), sealed to its own identity; set, they + # are kron's from the env. VIPPS_WEBHOOK_SECRET may wait, kron + # then settles by asking Vipps every minute instead. VIPPS_MSN: ${{ vars.VIPPS_MSN }} VIPPS_CLIENT_ID: ${{ secrets.VIPPS_CLIENT_ID }} VIPPS_CLIENT_SECRET: ${{ secrets.VIPPS_CLIENT_SECRET }} @@ -175,15 +177,16 @@ jobs: OAUTH2_CLIENT_ID=$CHAT_OAUTH2_CLIENT_ID OAUTH2_CLIENT_SECRET=$CHAT_OAUTH2_CLIENT_SECRET EOF - # kron: Vipps's keys for the Medlemskap sales unit. Written even + # kron: Vipps's keys for the Medlemskap sales unit, when the + # deploy holds them; none set, and kron asks for them through + # portal (kron refuses some set and some not). Written even # without the profile, so the file compose names is there. - cat > "$STAGE/kron.env" < "$STAGE/kron.env" # Rauthy's secrets. The first admin is the vel's first person. cat > "$STAGE/rauthy.env" <