fix: publish with PACKAGE_TOKEN, new update signing key #3

Merged
Job79 merged 1 commits from publish-token-and-key into main 2026-11-23 20:00:06 +00:00
Owner

These two changes missed #2, which was merged before they were pushed.

  • Publish: Gitea gives the job token at most read access to a user's packages (determineAccessMode in services/context/package.go), so every upload got 401. Publish now uses the PACKAGE_TOKEN secret, a token with only write:package, which is set on this repository. The permissions: block never helped and goes. runneros publishes this way now (run 6559).
  • Update signing key: new key "agentos updates" (9232 D860 CBC9 327F D5E4 751F 1D78 214C 08C8 8598). The old one was a copy of runneros's "git-runner updates" key, and its private half is lost. The SIGNING_KEY secret already holds the new key, so until this is merged, published updates would be signed with a key the image doesn't trust. VMs installed with the old key need a reinstall to take updates. The Secure Boot key is unchanged.

After merging, the os workflow still needs a runner with the linux label that serves this repository.

🤖 Generated with Claude Code

These two changes missed #2, which was merged before they were pushed. - **Publish:** Gitea gives the job token at most read access to a user's packages (`determineAccessMode` in `services/context/package.go`), so every upload got 401. Publish now uses the `PACKAGE_TOKEN` secret, a token with only `write:package`, which is set on this repository. The `permissions:` block never helped and goes. runneros publishes this way now (run 6559). - **Update signing key:** new key "agentos updates" (`9232 D860 CBC9 327F D5E4 751F 1D78 214C 08C8 8598`). The old one was a copy of runneros's "git-runner updates" key, and its private half is lost. The `SIGNING_KEY` secret already holds the new key, so until this is merged, published updates would be signed with a key the image doesn't trust. VMs installed with the old key need a reinstall to take updates. The Secure Boot key is unchanged. After merging, the os workflow still needs a runner with the `linux` label that serves this repository. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Job79 added 1 commit 2026-11-23 18:48:30 +00:00
These missed PR #2, which was merged before them.

Gitea gives the job token at most read access to a user's packages, so
Publish uses the PACKAGE_TOKEN secret, a token with only write:package.
The permissions block never helped and goes.

The update signing key is new ("agentos updates"). The old one was a copy
of runneros's ("git-runner updates") and its private half is lost. The
SIGNING_KEY secret already holds the new key. VMs installed with the old
key need a reinstall to take updates.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Job79 merged commit daa88d2cf9 into main 2026-11-23 20:00:06 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Job79/agentos#3