Skip to content

v0.40.0

Choose a tag to compare

@github-actions github-actions released this 14 Nov 20:17
· 9 commits to main since this release

Fixes for GPG-encrypted tokens, the TLS switch to ring, and a release
pipeline that tests every published binary.

Changed

  • TLS uses rustls's ring provider instead of aws-lc-rs: aws-lc-sys's
    license is GPL-incompatible. deny.toml bans aws-lc so it can't come back.
  • CI/CD harmonized with netbox-mcp and proxmox-mcp:
    • Every CI job calls a make target.
    • The release workflow verifies the tag (versions match, tag on main,
      CHANGELOG section present), runs the full CI suite, and smoke-tests each
      of the four binaries before publishing.
    • Releases now carry build-provenance attestations, and their notes come
      from the CHANGELOG.
    • A weekly scheduled run covers cargo-deny, the minimum Rust version,
      stable/beta toolchain drift, real GnuPG on ubuntu and macOS, and the live suite.
      Failures open a tracking issue.
    • The toolchain is pinned in rust-toolchain.toml, actions are pinned by
      commit SHA, and Dependabot is enabled.
  • cargo-deny replaces cargo-audit, checking advisories, bans, sources and
    licenses.
  • CHANGELOG headings use the Keep a Changelog format.
  • make lint runs the committed-token scan (make secrets-scan), the
    same check CI runs, so a token-like test fixture fails locally before a
    push.

Added

  • Real-GnuPG tests (make test-real-gpg) catch changes in the status
    codes newer gpg versions emit.
  • Artifact smoke test (make smoke, scripts/smoke.py) runs a built
    binary through --version and an MCP tools/list round-trip.
  • LIVE_REQUIRED=1 makes the live suite fail instead of silently passing
    when credentials are missing.

Fixed

  • Rotated tokens work on the first call. After gitlab-mcp login
    rotates the token, the first rejected request re-reads the pass entry and
    retries once with the new token, instead of failing.
  • No repeated gpg runs after a failed re-read. If re-reading a rejected
    token failed (e.g. the gpg-agent cache had expired), every later request
    re-ran gpg. It now runs once per rejection.
  • Unlock and login advice names the right config and keyring. The
    "run gitlab-mcp unlock" message now includes the server's own --config
    and GnuPG home, shell-quoted.
  • Temp files are no longer symlink-followable. Writing the config and
    the encrypted token now creates its temp file exclusively (owner-only), so
    a symlink planted at the predictable name is never followed or deleted.
  • login can't half-initialise the store. It checks that the config
    can be written before asking for the token.
  • status ignores unusable subkeys. An expired, revoked, disabled or
    invalid encryption subkey no longer reports "unlocked".
  • gpg's own error is shown. A gpg that exits early (e.g. no public key
    for the recipient) reports that error instead of "Broken pipe".
  • Fixed an intermittent ~10s stall in the hung-gpg timeout test on macOS.