Skip to content

Releases

v1.0.1

Choose a tag to compare

@github-actions github-actions released this 24 Oct 13:01
63261f7

No changes to the server or client code; the protocol is unchanged. This
release is about how pbs-sync-auth is built, published and verified.

Changed

  • Server image: releases are now also tagged with the floating major tag
    (:1), alongside :X.Y.Z and :X.Y, so you can pin a major line and still
    receive patch and security updates. Docs and examples use :1.
  • The APT repository moved to https://apt.pbs-sync-auth.com/. The old
    https://ftaeger.github.io/pbs-sync-auth/ URL redirects there, so existing
    sources keep working; updating /etc/apt/sources.list.d/pbs-sync-auth.list
    is recommended.
  • Server image: dropped the redundant v-prefixed tag (:vX.Y.Z); use
    :X.Y.Z. Pre-release tags no longer move :latest.

Security

  • Release binaries, the client .deb and the server image now carry signed
    build provenance attestations (gh attestation verify, see SECURITY.md).
  • CI: all GitHub Actions and the Go builder image are pinned to immutable
    digests (kept current by Dependabot); workflow token permissions reduced to
    the minimum per job; checkouts no longer persist credentials.
  • Added SECURITY.md (private vulnerability reporting) and an OpenSSF
    Scorecard workflow.

Added

  • CONTRIBUTING.md, CODE_OF_CONDUCT.md, issue forms and a pull request
    template.

v1.0.0

Choose a tag to compare

@github-actions github-actions released this 24 Oct 10:41
fe0941d

First stable release. Upgrading is strongly recommended: all earlier
releases were built with Go 1.23 (end of life), and govulncheck reports 34
reachable standard-library vulnerabilities (crypto/tls, crypto/x509,
net/http, …) in each of their binaries. 1.0.0 is built with Go 1.27.3 and has
none. The protocol is unchanged; 1.0.0 clients and servers interoperate with
0.0.x.

Security

  • Build server, client, image and .deb with Go 1.27 (check-latest); go.mod
    floor go 1.26.
  • Server: cap request bodies at 4 KiB.
  • Server: cap outstanding challenges (PBS_MAX_PENDING, default 100); further
    /auth/challenge requests get 503.
  • Server: fix a leaked idle TLS connection per /auth/verify in the target-PBS
    probe.
  • Client: cap auth-server responses at 64 KiB (the challenge response is read
    before the server proof is verified).
  • Client: warn if secret.key is readable by group or others.
  • systemd units: NoNewPrivileges=yes, PrivateTmp=yes.

Added

  • Server logs every auth result with the client IP (auth ok for …,
    auth denied for …: <reason>).
  • PBS_TRUSTED_PROXIES: CIDRs/IPs of reverse proxies whose X-Forwarded-For /
    X-Real-IP is trusted for that client IP (rightmost non-trusted hop; logging
    only, never used for authentication). Unset = headers ignored.
  • Reverse-proxy examples: per-IP rate limits (Traefik, nginx, HAProxy),
    listener-wide for Envoy, documented options for Caddy and Apache; commented IP
    allowlists; client IP forwarded via X-Forwarded-For.
  • CI runs go test -race and govulncheck, plus a weekly scheduled scan;
    Dependabot for Go modules, the Docker base image and GitHub Actions.

Changed

  • Server WriteTimeout derives from PBS_TARGET_TIMEOUT, so a slow target
    probe no longer cuts off the /auth/verify response.
  • Bumped GitHub Actions and the example proxy images (Traefik v3.7, nginx 1.30,
    HAProxy 3.4 LTS, Envoy v1.40).

Upgrade notes

  • Server: pull the new image. Behind a reverse proxy, set PBS_TRUSTED_PROXIES
    to the proxy's network, otherwise the proxy's address is logged.
  • Client: apt update && apt upgrade (the running daemon is restarted).

v0.0.5

Choose a tag to compare

@github-actions github-actions released this 19 Aug 13:04
524ccb2

What's Changed

  • ci: idempotent release job (fix rerun failures) by @ftaeger in #9
  • client: surface successful pbs-sync-auth check in skip logs by @ftaeger in #10

Full Changelog: v0.0.4...v0.0.5

v0.0.4

Choose a tag to compare

@github-actions github-actions released this 19 Aug 10:34
bb7d587

What's Changed

  • packaging: preserve run state on timer→daemon upgrade by @ftaeger in #8

Full Changelog: v0.0.3...v0.0.4

v0.0.3

Choose a tag to compare

@github-actions github-actions released this 19 Aug 09:56
c2259c3

What's Changed

  • CI: gate release artifacts to tags + add concurrency by @ftaeger in #2
  • docs: add Installation section to README by @ftaeger in #5
  • docs: prettier README, no-sudo client docs, reverse-proxy examples by @ftaeger in #6
  • Target-PBS reachability gate + config-driven client daemon by @ftaeger in #7

Full Changelog: v0.0.2...v0.0.3

v0.0.2

Choose a tag to compare

@github-actions github-actions released this 18 Aug 21:57
f889330

What's Changed

  • Debian package for the client (amd64) + amd64-only client builds by @ftaeger in #1

New Contributors

Full Changelog: v0.0.1...v0.0.2

v0.0.1

Choose a tag to compare

@github-actions github-actions released this 18 Aug 14:31