Skip to content

armgit / kanzo

Public Imported from GitHub
0

Self-hosted, sharable kanban for humans and agents. One 4.7 MB binary, 5 MB of RAM, 10 to 60 tokens per agent reply, starts in 3 ms, zero setup.

Sign release files with GitHub build attestations

emanuele-emfd3c557ad73f
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index c71612c..c0a6fab 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -224,6 +224,10 @@ jobs:
runs-on: "ubuntu-26.04"
outputs:
val: ${{ steps.host.outputs.manifest }}
+ permissions:
+ "attestations": "write"
+ "contents": "write"
+ "id-token": "write"
steps:
- uses: actions/checkout@v6
with:
@@ -266,6 +270,11 @@ jobs:
run: |
# Remove the granular manifests
rm -f artifacts/*-dist-manifest.json
+ - name: Attest
+ uses: actions/attest@v4
+ with:
+ subject-path: |
+ artifacts/*
- name: Create GitHub Release
env:
PRERELEASE_FLAG: "${{ fromJson(steps.host.outputs.manifest).announcement_is_prerelease && '--prerelease' || '' }}"
diff --git a/README.md b/README.md
index c4e060b..8739bf1 100644
--- a/README.md
+++ b/README.md
@@ -24,7 +24,7 @@ Kanzo is a kanban board in your browser and an MCP server in one small program,
curl -LsSf https://github.com/emanuele-em/kanzo/releases/latest/download/kanzo-installer.sh | sh
```
-For macOS and Linux, including every Raspberry Pi. Or with Cargo:
+For macOS and Linux, including every Raspberry Pi. Every release is signed by GitHub: check a download with `gh attestation verify <file> --repo emanuele-em/kanzo`. Or with Cargo:
```sh
cargo install kanzo
diff --git a/dist-workspace.toml b/dist-workspace.toml
index 61da46d..03e62b8 100644
--- a/dist-workspace.toml
+++ b/dist-workspace.toml
@@ -26,6 +26,10 @@ install-path = "CARGO_HOME"
hosting = "github"
# Whether to install an updater program
install-updater = false
+# Sign each release's files with a GitHub build attestation, for `gh attestation verify`
+github-attestations = true
+# After every file is built, so the installer and sha256.sum are signed too
+github-attestations-phase = "host"
# Also publish each release to crates.io, for `cargo install kanzo`
publish-jobs = ["./publish-crates"]