Skip to content

About

Official Zaun bots: a signed registry

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

15 Commits

Folders and files

Repository files navigation

Zaun Official Bots

A Zaun bot registry (official). It lists bots and their releases, and publishes a signed catalog that Zaun hosts, the Zaun app and the marketplace read.

What is here

registry.toml              this registry's name, key and policy
publishers/<handle>.toml   publishers: maintainers, keys and namespaces
bots/<app_id>/             a bot's listing, release rows, README and pictures
advisories/                yanks, delistings and revoked keys
collections/               lists picked by the maintainers
sources/                   the source code of the Zaun project's own bots

Most bots' source code lives in their publishers' own repositories: each listing links to it, and each release names the commit it was built from. The Zaun project's own bots (Poll, Welcome, Dice and Reminders) are the exception: their source is in sources/, under MIT OR Apache-2.0, and their signed packages are this repository's <bot>-v<version> releases. Every package is copied into a <app_id>@<version> release when it is published.

How it works

  1. A publisher opens a pull request that adds a release row.
  2. The zaun-registry/validate check fetches the package, verifies its signature and manifest, and checks who may make the change.
  3. A maintainer reviews and merges it.
  4. The publish workflow re-hosts the package, signs a new catalog.json and deploys it to GitHub Pages. It also re-signs the catalog every week so it never expires.

A listing here is not a security audit. Read a bot's permissions before you install it.

How CI gets zreg

Both workflows call reusable workflows from zaun-registry, pinned to one commit. They run zreg as a released binary, pinned by its SHA-256 in .github/workflows/validate.yml and publish.yml. They never build it from source. The pull request check may not use a cache, because a cache shared with pull request runs can be poisoned, and building zreg without one takes many minutes. The release itself is built and attested by zaun-registry's own release workflow. To update zreg, change the commit, zreg-version and zreg-sha256 together.

About

Official Zaun bots: a signed registry

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages