Skip to content

seedling 0.7.0

Choose a tag to compare

@github-actions github-actions released this 17 Nov 18:10
· 52 commits to main since this release
v0.7.0

Anyone can install it: one executable for any Linux, a command that prepares
the machine, and a guide from download to a person signed in on a website
(docs/install.md). A database of 0.6 is used as it is.

Added

  • The installation guide (#80), each of its seedling commands checked
    by a test against the program.

  • seedling init prepares a machine (#76): a
    configuration for a server behind a reverse proxy
    (/etc/brigid/seedling.toml) and a new master key
    (/etc/brigid/master.key, root-only), or none with --no-key-file when
    the key comes from another disk. With --systemd, the unit
    (deploy/systemd/seedling.service, hardened, runs as brigid, gets the
    key as a systemd credential) and the system user. It overwrites nothing.

  • Without --config, the server and its commands read
    /etc/brigid/seedling.toml when it exists, and the master key at
    /etc/brigid/master.key when the environment names none.

  • Static executables (#77): each release carries seedling for x86-64
    and arm64 Linux, built with musl and linking nothing (OpenSSL vendored), so
    it runs on any distribution. With them: SHA256SUMS, an SPDX SBOM and a
    build provenance attestation (gh attestation verify).

Changed

  • The server does not run as root: it says so and stops. A command typed
    as root on the machine (seedling client list) reads the master key, then
    works as the owner of the database's directory, so that no file of the
    database belongs to root.
  • The image is made of the same static binary (Dockerfile.release, on
    distroless/static): no C library, no OpenSSL in it. Its arm64 variant no
    longer compiles under emulation, so a release reaches the registry in
    minutes instead of more than an hour. Dockerfile still builds the server
    from source.
  • The interface embedded is brig-id/app 0.6.0: the same as in 0.6.2, now
    under its released version, which the administration shows.

Each binary runs on any Linux of its architecture: it links nothing.
Check it with sha256sum -c SHA256SUMS and gh attestation verify <file> --repo brig-id/server-seedling.