Embed release public key; rename signing secret to RELEASE_SIGNING_KEY

This commit is contained in:
mram
2026-09-20 22:15:19 +02:00
parent d1e01f9b78
commit 08d02d8fa8
4 changed files with 11 additions and 8 deletions
+2 -2
View File
@@ -176,7 +176,7 @@ Docker.
`dev` builds and builds without an embedded public key never update.
- **Signing setup (one time)**: `openssl genpkey -algorithm ed25519 -out
private.pem`; `openssl pkey -in private.pem -pubout -out public.pem`.
Private key → repo secret `SIGNING_KEY`; public key → committed into
Private key → repo secret `RELEASE_SIGNING_KEY`; public key → committed into
`internal/update/pubkey.go`. CI signs release binaries with
`openssl pkeyutl -sign -rawin`.
@@ -280,7 +280,7 @@ are new.
`write:package` scope) because the automatic `GITEA_TOKEN` cannot push
packages; the username is just `gitea.actor`.
3. on a version tag: also build the Windows binary, sign it with OpenSSL
(`SIGNING_KEY` secret), and attach `gpu-turnstile.exe`, `.sig` and
(`RELEASE_SIGNING_KEY` secret), and attach `gpu-turnstile.exe`, `.sig` and
`.sha256` to a Gitea release for the auto-updater.
- Release: a git tag `vX.Y.Z` produces the versioned image and the signed
Windows binary; the Open WebUI compose pins that tag. No images or