Install

Works with Drupal: ^10.6 || ^11.3 || ^12

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 257.33 KB
MD5: 5e1d9caaffd250cbd4c53a32de4f8483
SHA-1: 2bbac01e1caca9dcd019dcc88e682a60c1a9cded
SHA-256: 9f6a8356bfe8a709961e11593bc906f821f036a32a1326537fa03911bbb2d0c5
Download zip 396.09 KB
MD5: 0a261f1a0aac63e3adcdf3fc15c16af9
SHA-1: 9796bc135c36a2e6fd7f768b3bcb4d0310a253b9
SHA-256: e9457f16ad9ebaf4e6a2aae03b0966bbe9c2ccd61c6bc4f3cd6d655a29aa2fa8

Release notes

Changed

  • Use independent changelog fragments for pull requests and the shared validator for lossless release preparation.
  • Install config now ships an empty introspection_client_secret to match schema. ADR usage-limit wording matches GrantLockTrait / SECURITY.md (locked, fail closed). CONTRIBUTING phpcs uses phpcs.xml.dist; phpunit covers unit tests and submodule suites.
  • The File Gate keys page (/user/{user}/file-gate-webauthn) is self-only. Administrators are denied (403) on another account's page; the form lists the current user's credentials. JSON APIs were already current-user-only.

Removed

  • Unused gexp claim on the assurance session-bridge cookie (FG_AB). Grant expiry already clamps cookie exp and isSatisfied() checks that exp. Cookies minted with gexp still verify; the key is ignored.

Security

  • WebAuthn enrollment JSON POSTs (register/options, register, credentials/delete) require Drupal's X-CSRF-Token header. The account form sends the session token. deleteCredential re-checks register-or-administer. Grant-bound assert routes are unchanged.
  • Audit Chain rows no longer store original filenames in label (they use an opaque file:<id> instead). Optional audit_require_keyed (default off) refuses mint and download with HTTP 503 when a signed audit append fails.
  • OTP redeem no longer accepts email or otp query parameters. Present the passcode in the JSON body of POST /api/file-gate/otp/session, then download with the FG_OTP cookie. A query-string passcode is denied so it cannot land in access logs or browser history.

Upgrade notes

  • Clients that redeem an OTP with ?email= or ?otp= on the URL must switch to the JSON body of POST /api/file-gate/otp/session before upgrading.
Created by: jmcerda
Created on: 30 Oct 2026 at 03:10 UTC
Last updated: 30 Oct 2026 at 03:10 UTC
Bug fixes
New features

Other releases