Install
Works with Drupal: ^10.6 || ^11.3 || ^12Using 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_secretto match schema. ADR usage-limit wording matchesGrantLockTrait/ SECURITY.md (locked, fail closed). CONTRIBUTING phpcs usesphpcs.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
gexpclaim on the assurance session-bridge cookie (FG_AB). Grant expiry already clamps cookieexpandisSatisfied()checks thatexp. Cookies minted withgexpstill verify; the key is ignored.
Security
- WebAuthn enrollment JSON POSTs (register/options, register, credentials/delete) require Drupal's
X-CSRF-Tokenheader. The account form sends the session token.deleteCredentialre-checks register-or-administer. Grant-bound assert routes are unchanged. - Audit Chain rows no longer store original filenames in
label(they use an opaquefile:<id>instead). Optionalaudit_require_keyed(default off) refuses mint and download with HTTP 503 when a signed audit append fails. - OTP redeem no longer accepts
emailorotpquery parameters. Present the passcode in the JSON body ofPOST /api/file-gate/otp/session, then download with theFG_OTPcookie. 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 ofPOST /api/file-gate/otp/sessionbefore upgrading.