Skip to content

chore: cut 0.4.0 release - #11

Merged
anhtuank7c merged 1 commit into
mainfrom
release/0.4.0
May 8, 2026
Merged

anhtuank7c merged 1 commit into
mainfrom
release/0.4.0

Conversation

@anhtuank7c

Copy link
Copy Markdown
Owner

Summary

Cuts the 0.4.0 release. Bumps version in meson.build, debian/changelog, and pamsignal.spec in lockstep with the version-consistency CI gate, renames CHANGELOG ## Unreleased → ## 0.4.0 — 2026-05-08, and updates every operator-facing document to reflect the new custom-webhook authentication surface that landed in #7 and #8.

Linked issues

Releases #7 (Bearer auth header) and #8 (mTLS client cert). No new feature work — this PR is documentation + version bump only.

What changed in this release

  • Custom webhook cannot send Authorization header (Bearer auth) #7 (Bearer auth header): webhook_auth_header config key for the custom webhook channel. Single-header form so any auth scheme works (Bearer, X-API-Key, Splunk HEC, Datadog DD-API-KEY, HMAC). Memfd-backed dispatch keeps the secret out of argv. Merged c96508c.
  • Optional mTLS client auth for custom webhook (cert/key/CA) #8 (mTLS): webhook_client_cert / webhook_client_key / webhook_ca_bundle config keys for client-cert authentication to the receiver. Combines additively with the Bearer header. Cert/key/CA paths route through the same memfd config so argv is byte-identical regardless of which auth modes are configured. Merged 19e09ce.

Both features are additive and default-empty — existing v0.3.x configs continue to work unchanged.

Doc updates in this PR

  • docs/configuration.md — new "Custom webhook authentication" section covering both auth modes with combined-pattern examples and the config-load validation rules.
  • docs/architecture.md — new "Curl invocation (memfd-backed config)" subsection under "Alert isolation model" documenting that URL + optional auth header + optional TLS paths all flow through one memfd, with argv byte-identical regardless of channel or auth mode.
  • docs/deployment.md — cert/key file placement guidance with the install commands for the canonical 0640 root:pamsignal layout.
  • docs/threat-model.md — attack # PULL REQUESTS: Build file requets #3 (alert credentials exposure via process metadata) extended; NS8 rewritten: Bearer + mTLS now ship, HMAC-signed payloads remain out of scope (different threat model — third-party webhook delivery vs operator → operator's own SIEM); trust-boundary table gains a "Config → curl -K parser" row; operator guidance adds key-file mode guidance and cert-rotation notes.
  • pamsignal.8.in — SECURITY section gains an mTLS bullet, FILES section documents the validation rules for the cert/key/CA paths.
  • CHANGELOG.md — ## 0.4.0 — 2026-05-08 headline added with a release summary; previously-## Unreleased content moved under it; new empty ## Unreleased heading added at the top for future entries.
  • debian/changelog and pamsignal.spec — new 0.4.0-1 stanzas matching the GitHub release prose.

Test plan

  • Verified in a Debian bookworm container: meson compile -C build zero warnings, meson test -C build 4/4 OK, version-consistency check across meson.build (0.4.0), debian/changelog (0.4.0-1), and pamsignal.spec (0.4.0).
  • No source-code changes, so the existing CMocka suite (53 in test_config, 27 in test_journal_watch, plus test_utils and test_notify) is unchanged from Optional mTLS client auth for custom webhook (cert/key/CA) #8.
  • The release-packages.yml workflow's verify-versions job will run when the tag is created and confirm all three sources match v0.4.0.

Threat-model alignment

Strengthens attack #3 (alert credentials exposure via process metadata). The doc updates make explicit what was already true after #7+#8 merged: every per-channel sender funnels through one memfd-backed curl -K config, so the curl child's argv is byte-identical across all alert dispatches regardless of which auth mode is configured. Trust-boundary table now lists the validators per field.

Updates NS8 (HMAC-signed alert payloads → still out of scope; Bearer + mTLS ship). The previous NS8 wording predated #7/#8 and read as "no authenticated alert delivery at all" — outdated. The new wording is precise about what now ships (transport-layer auth, both shared-secret and PKI), what doesn't (payload-level HMAC), and why the line is drawn there (different threat model).

Pre-commit checklist

  • No source files touched, so clang-format / clang-tidy / build / unit tests are unaffected from Optional mTLS client auth for custom webhook (cert/key/CA) #8's already-green state.
  • meson compile -C build produces zero warnings (verified).
  • meson test -C build — all 4 suites pass (verified).
  • CHANGELOG.md has the ## 0.4.0 — 2026-05-08 heading with a release summary and a fresh ## Unreleased heading at the top.
  • debian/changelog and pamsignal.spec have matching 0.4.0-1 stanzas.
  • Commit subject follows Conventional Commits (chore:, imperative, ≤72 chars).

Release procedure (after merge)

  1. Tag v0.4.0 on the merge commit.
  2. Create the GitHub release using the changelog headline + per-PR summaries.
  3. release-packages.yml runs automatically on release: published — produces signed .deb (Ubuntu 24.04) and .rpm (Fedora, EL9) artifacts and attaches them to the release.

🤖 Generated with Claude Code

Bump meson.build, debian/changelog, and pamsignal.spec to 0.4.0
in lockstep with the version-consistency CI gate, rename CHANGELOG
"## Unreleased" → "## 0.4.0 — 2026-05-08", and update every
operator-facing document to reflect the new custom-webhook
authentication surface (Bearer header from #7, mTLS from #8):

- docs/configuration.md: full "Custom webhook authentication"
  reference covering both auth modes with combined-pattern examples
  and the validation rules enforced at config load.
- docs/alerts.md: already updated in #7/#8; no change here.
- docs/architecture.md: new "Curl invocation (memfd-backed config)"
  subsection documenting that URL, optional auth header, and
  optional TLS paths all flow through one memfd config — argv
  byte-identical regardless of channel or auth mode.
- docs/deployment.md: cert/key file placement guidance with the
  install commands for the canonical 0640 root:pamsignal layout.
- docs/threat-model.md: attack #3 (alert credentials exposure via
  process metadata) extended to cover auth header + TLS paths;
  NS8 rewritten — Bearer + mTLS now ship, HMAC-signed payloads
  remain out of scope; trust-boundary table gains a "Config →
  curl -K parser" row; operator guidance adds key-file mode
  guidance and cert-rotation notes.
- pamsignal.8.in: SECURITY section gains an mTLS bullet, FILES
  section documents validation rules for the cert/key/CA paths.

No source-code changes — the runtime behavior is identical to
post-#8. CMocka suite count and CI gate (ASAN + UBSAN,
systemd-analyze ≤ 30, version consistency) unchanged from #8.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@anhtuank7c
anhtuank7c merged commit 587df55 into main May 8, 2026
4 checks passed
@anhtuank7c
anhtuank7c deleted the release/0.4.0 branch May 8, 2026 04:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant