• v0.13.0 eac05743da

    v0.13.0
    All checks were successful
    ci / test (pull_request) Successful in 3m11s
    ci / test (push) Successful in 3m6s
    release / release (push) Successful in 3m2s
    Stable

    oliver.maklott released this 2026-11-30 06:30:29 +01:00 | 0 commits to main since this release

    The quality-control round's security fixes.

    • backup restore replaced the data on a live server with the newest
      snapshot, without a question. Now --snapshot is required (an ID, or
      latest said explicitly) and the source's name is typed - or passed
      with --confirm SOURCE. The incident flow, restoring onto the server it
      just rebuilt, passes it.
    • The incident flow's rebuild (a new server, the old disk gone) asked only
      "Run this step?", which --yes answers. Steps that destroy something
      now want the name typed, re-runs too.
    • In a context, the root-token commands of the ceremony (bao rekey,
      bao rotate, bao revoke-prefix) took the operator's login token for
      a root token handed down and failed with 403. They use the root token
      from init.json now; a root token handed down by bao root -- ...
      still counts.
    • A context's environment no longer inherits another infrastructure's
      targets: IDP_ADDRESS, <INSTANCE>_ADDRESS, IDP_SSH_JUMP,
      SECRETS_MOUNT, INFRA_MOUNT and RESTIC_* are removed like the
      tokens - exported for staging, they could have sent production's restore
      to staging's hosts.
    Downloads
  • v0.12.0 b92e866a64

    v0.12.0
    All checks were successful
    ci / test (pull_request) Successful in 3m13s
    ci / test (push) Successful in 3m1s
    release / release (push) Successful in 3m4s
    Stable

    oliver.maklott released this 2026-11-30 04:25:26 +01:00 | 1 commits to main since this release

    Milestone 10, the hypervisors: the guided (re)build of a Hetzner
    dedicated server.

    • bootstrap hypervisor NAME: one flow and one record of progress per
      server (flows/hypervisor-NAME.json). The intent from the example, its
      member documents (admin with the guests' private network; services and
      monitoring as answered), the Robot credentials into OpenBao (only what is
      missing; the password hidden), the push, your SSH certificate, the
      inventory check (Robot and OpenBao joined by the name), the dry run, the
      install - the server's name typed, every time -, the address delivery,
      the hypervisor, the hubs' host parts, the guests, acceptance.
      infractl docs hypervisor prints it as a runbook.
    • bootstrap takes a NAME for flows that run once per machine.
    • ssh NAME for a hypervisor logs in as ansible (its only login, with
      the certificate from infractl run -- bin/ssh-cert), not the context's
      user.
    Downloads
  • v0.11.0 1a976e7209

    v0.11.0
    All checks were successful
    ci / test (pull_request) Successful in 3m10s
    ci / test (push) Successful in 3m9s
    release / release (push) Successful in 3m5s
    Stable

    oliver.maklott released this 2026-11-30 02:20:27 +01:00 | 6 commits to main since this release

    Milestone 9: the mail servers (site ADR 0010) - Stalwart, one Hetzner
    Cloud server per instance of mail.yml.

    • The intent knows mail.yml: instances with unique names and host names
      (anchor and idp are reserved - they name backup sources), each domain
      hosted once, routes and the default relay naming the instance's relays,
      administrators in hosted domains. backup.yml sources may name mail
      instances.
    • play mail (-e mail_instance=NAME, --bootstrap CIDR), ssh NAME (a
      mail server through the anchor), mail dns [NAME]: the DNS records its
      domains need, as the server wrote them - for the registrar.
    • bootstrap mail: the intent from the example, the relays' passwords and
      the licenses (hidden) into OpenBao, the servers, DNS, bootstrap SSH
      closed and the hubs updated, the administrators' first login, the first
      backups with a drill and the escrow of the new repository passwords.
    • backup run|status|drill|restore for mail servers: the stream through
      the anchor, the drill checks the database checkpoint (CURRENT and the
      MANIFEST it names), restore NAME streams into stalwart-restore.
    • incident NAME for a mail server: isolate, new relay logins and license,
      re-create with a new metrics password, restore from before it began, the
      intent applied again, new DKIM selectors and certificates, users' new
      passwords. Re-created hubs re-run each mail server's playbook.
    Downloads
  • v0.10.0 c09dd1e57a

    v0.10.0
    All checks were successful
    ci / test (pull_request) Successful in 2m13s
    ci / test (push) Successful in 2m20s
    release / release (push) Successful in 2m19s
    Stable

    oliver.maklott released this 2026-11-30 00:00:36 +01:00 | 7 commits to main since this release

    Milestone 8, parts 2 and 3: the guided incident flow and the commands for
    the rotation after a compromise (site ADR 0009, runbook incident.md).

    • incident HOST: a guided, resumable flow built for that host from the
      intent - what it is (anchor, IdP, monitoring host, coordinator,
      hypervisor, operator laptop, phone) and which networks it is in. Its
      steps: when it began and what was seen; isolate (out of its networks,
      its firewall, OIDC logins revoked where they are at stake); new
      third-party credentials; re-create it with its generated secrets rotated
      (new restic repositories for the coordinator); restore from before it
      began (then, for the IdP, a new signing key and LDAP outpost token);
      back in its networks; rotate what it held (the anchor: barrier key, OIDC
      logins, snapshot secret-id, SSH user CA, generated secrets, restic
      repositories, new unseal shares); verify; delete the old third-party
      credentials. Each step is recorded with its time; incident report HOST prints the record with what remains afterwards. --docs prints
      the flow for that host as Markdown.

    • wg --network NET isolate NAME: forgets a compromised host's public key

      • the hub drops it, the re-created host records its new one.
    • wg rekey NAME: a new key pair for an admin client whose key this
      machine holds; the registry gets the new public key, the wg-quick file
      the new private key. Hosts get theirs from the playbooks
      (-e wireguard_rotate=NETWORK), phones are removed and added again.

    • ssh --forget HOST: drops the host keys the context recorded for a
      re-created host and prints the ssh-keygen -R for ~/.ssh/known_hosts.

    • bao rekey (new unseal shares, encrypted to the operators' PGP keys,
      the old shares submitted in turns like bao unseal; OpenBao 2.7's
      sys/rotate/root), bao rotate (a new barrier key), bao revoke-prefix auth/oidc/ (every token under a prefix) - with the root
      token from init.json, or BAO_TOKEN when set; --revoke revokes the
      root token afterwards.

    • backup rekey SOURCE (a new restic password: key add, store with
      check-and-set, key remove of the old one) and backup new-repository SOURCE (a leaked master key: a new repository <source>-<date>, named
      in backup/restic/<source>'s new field repository, which the site's
      backup playbook follows). backup restic and backup restore take
      --secret-version N to read the old repository.

    Downloads
  • v0.9.0 01b76ad7b6

    v0.9.0
    All checks were successful
    ci / test (pull_request) Successful in 1m39s
    ci / test (push) Successful in 1m37s
    release / release (push) Successful in 1m42s
    Stable

    oliver.maklott released this 2026-11-29 22:06:54 +01:00 | 10 commits to main since this release

    Milestone 7: the backup coordinator. Needs the site repository's backup
    schema and playbook (ADR 0008).

    • bootstrap backup: the guided first run of the coordinator - the
      backup network next to the monitoring network, backup.yml, a check
      that secrets/backup/wasabi is complete, the server, the sources
      (anchor, the IdP when self-hosted) joining, the hub again so it peers
      and pulls, a first backup per source, a drill, and escrow for a
      repository password generated on the way.
    • backup drill [SOURCE...] [--read 5%]: restic check with a sample of
      the data, then the newest snapshot read back and inspected - for the
      IdP the database dump (its format), the secret key and media, for the
      anchor the age-encrypted OpenBao snapshots and the newest one's age.
    • backup.yml is a document of the intent: the coordinator must be the
      hub of the backup network, the sources it names must exist; only the
      hub carries an ssh_public_key.
    • wg-peer update --ssh-public-key: the coordinator's pulling key, next to
      its WireGuard key.
    • play backup (local, cloud part backup_cloud, --bootstrap); ssh
      reaches the coordinator at its public address through the anchor.
    Downloads
  • v0.8.0 e8e583d823

    v0.8.0
    All checks were successful
    ci / test (pull_request) Successful in 1m6s
    ci / test (push) Successful in 1m4s
    release / release (push) Successful in 1m8s
    Stable

    oliver.maklott released this 2026-11-29 18:40:54 +01:00 | 12 commits to main since this release

    Milestone 6: monitoring. Needs the site repository's monitoring schema
    and playbook (ADR 0007).

    • bootstrap monitoring: the guided first run of the monitoring host -
      the monitoring network next to the admin network, a bucket of its own
      (no Object Lock, its own key), monitoring.yml, the bucket's key and
      the alert channels into OpenBao (asked hidden, only those used), the
      server, then anchor, IdP and the hub again so each side peers, and a
      test alert.
    • monitoring.yml is a document of the intent; the monitoring host must
      be the hub of the monitoring network.
    • play monitoring (local, cloud part monitoring_cloud, --bootstrap).
    • wg --role server for sites: reached by clients, reaches nothing.
    Downloads
  • v0.7.0 b88eca499c

    v0.7.0
    All checks were successful
    ci / test (push) Successful in 1m5s
    release / release (push) Successful in 1m3s
    Stable

    oliver.maklott released this 2026-11-29 12:13:27 +01:00 | 16 commits to main since this release

    Milestone 5, part 1: mail from the identity provider.

    • bootstrap idp asks for a mail relay (default none: the first run
      needs no mail). With one, e.g. SMTP2GO: port, TLS, the IdP's own SMTP
      user and the sender go into idp.yml email, the password (hidden)
      into OpenBao secrets/idp/email - never into the intent, the state or
      the output. Without one, the example's mail block is removed.
    Downloads
  • v0.6.0 3b8ae84b5b

    v0.6.0
    All checks were successful
    ci / test (push) Successful in 1m6s
    release / release (push) Successful in 1m5s
    Stable

    oliver.maklott released this 2026-11-29 10:21:10 +01:00 | 18 commits to main since this release

    Milestone 4: the SSH port. Needs the site repository's change of the same
    milestone for the anchor and the IdP to follow it.

    • bootstrap anchor asks for the servers' SSH port (default 22) and
      writes it to global.yml (ssh_port): the port sshd has from the
      servers' first boot. Ports the servers use otherwise (53, 80, 443, 8200)
      are refused. The tunnel check and the "SSH closed" checks of both flows
      ask on that port.
    • backup run, bao snapshot-pull and idp recover pass the port, for
      the jump through the anchor too - also with --raw, without the
      context's SSH config.
    Downloads
  • v0.5.0 7528730eb1

    v0.5.0
    All checks were successful
    ci / test (pull_request) Successful in 1m4s
    ci / test (push) Successful in 1m6s
    release / release (push) Successful in 1m4s
    Stable

    oliver.maklott released this 2026-11-29 03:01:26 +01:00 | 20 commits to main since this release

    Milestone 3: four WireGuard networks and internal names (the site
    repository's ADR 0006). Needs the site repository's layout of the same
    change - older intent copies are refused with a hint.

    • The intent has one folder per network: wireguard/<network>/<member>.yml
      (admin, services, monitoring, backup) and global.yml wireguard.<network>;
      interface, port and forwarding are fixed per network (only admin
      forwards). config validate checks every network with the planner, that
      networks share no interface, port or range, that each hub is the host it
      belongs to (the anchor for admin, the self-hosted IdP for services) and
      that OpenBao's name is inside internal_zone.
    • wg --network NETWORK ...; wg add --role mobile. Members of the other
      networks generate their keys on their hosts. An operator's wg-quick file
      sends internal_zone to the anchor's resolver (systemd-resolved).
    • device add NAME - a phone or tablet (role mobile): the key pair exists
      only in memory, the configuration is shown once as a QR code (--text:
      as text), with the anchor's resolver as DNS. Then, if you agree, the
      intent is pushed and the hub told. device list, device remove NAME.
    • dns setup - the internal zone on a tunnel interface that is up already.
    • bootstrap anchor asks for an IPv4 /22 and a ULA /48 and reserves all
      four networks, asks for the internal zone (OpenBao's name inside it), and
      checks the name through the tunnel (step vpn-dns) instead of asking for
      public DNS records. The tools check wants resolvectl.
    Downloads
  • v0.4.0 1173e0d7f3

    v0.4.0
    All checks were successful
    ci / test (push) Successful in 1m6s
    release / release (push) Successful in 1m0s
    Stable

    oliver.maklott released this 2026-11-29 02:00:31 +01:00 | 21 commits to main since this release

    Milestone 2, part 2: the guided first run of the identity provider.

    • infractl bootstrap idp - the site repository's
      docs/runbooks/first-run-identity.md as 20 steps: your own Authentik
      (intent, push, dry run and server, DNS, escrow copy of its secrets, the
      bootstrap password once, your own administrator) or an external OIDC
      provider (its client secret, hidden); then OpenBao's OIDC login, your
      first login, the root token revoked, the bootstrap SSH closed, Wasabi
      credentials (hidden, into OpenBao), the first backups with escrow copies
      of the repository passwords, the Object Lock check and the offline copies.
      Commands run with the root token until your own login works and with
      that login afterwards; steps for the other provider are skipped.
    • infractl docs idp - the same steps as a runbook.
    • infractl kv escrow MOUNT/PATH --to RECIPIENT... --out FILE - a secret
      from OpenBao straight into an age-encrypted file (0600, the layout of
      bao kv get -format=json); it never passes through stdout.
    • Several age recipients are comma-separated (an ssh-ed25519 key
      contains spaces).
    Downloads