Install
Works with Drupal: ^10.6 || ^11.3 || ^12Using Composer to manage Drupal site dependencies
Alternative installation files
Release notes
## [1.13.0] - 2026-10-23
### Added
- OpenTimestamps upgrade-path unit tests, plus a kernel case that
replaces a pending calendar receipt with a Bitcoin-attested proof
when the calendar returns one. A still-pending calendar, a transport
error, and a mismatched or malformed attestation stay fail-closed.
- Optional `$settings['audit_chain_witness_demo']` switch and
`drush audit-chain:witness-demo` for a controlled site. Shipped
`witness_backend` stays empty. XRPL remains optional, disabled by
default, and testnet-only: the demo points at an external relay and
does not sign. Demo steps walk OpenTimestamps then XRPL even when
receipt UUIDs sort the other way. The runbook's live-demo lead-time
section says to submit OpenTimestamps 12-24 hours ahead and to fund
XRPL testnet the same day. See docs/WITNESS_DEMO.md.
- RFC 3161 witness backend (`rfc3161`) for persisted checkpoint
digests. Submit stores a confirmed TimeStampToken plus the OCSP
evidence captured at submit. Upgrade is a no-op. Verify checks
imprint, policy, CMS signature, trust chain, critical timeStamping
EKU, algorithm floor, and revocation, and re-checks OCSP while the
signer is unexpired. Install defaults are empty (fail closed). A TSA
credential, if the vendor needs one, is a Key entity id. Crypto uses
the PHP openssl extension; phpseclib is used for ASN.1 structure
only. GitHub Actions job `PHPUnit (OpenSSL 3 FIPS provider)`
builds OpenSSL 3.0 with `enable-fips`, activates the fips
provider as the default (`default_properties = fips=yes`), and runs
the RFC 3161 kernel tests plus the witness suite. A guard step fails
the job if MD5 through PHP openssl still succeeds or the fips
provider is not listed as active. The SHA-1 rejection fixture is a
pre-built certificate so the FIPS provider is never asked to mint a
non-approved signature.
### Fixed
- Successful appends with `stream_enabled` no longer write
`audit_chain_event` rows to Database Logging. The SIEM stream uses a
dedicated sink that forwards to every tagged logger except dblog
(syslog, Monolog, or PHP syslog when those are absent). Errors and
warnings still use `logger.channel.audit_chain` and remain visible in
dblog. Existing `stream_enabled: true` config stays valid; no update
hook is required.
- The status report reads the stored scheduled-verification run on every
call. A verification saved earlier in the same request is no longer
hidden by the dashboard metric cache, so a tampered signed row still
fails the status report after that run.
- Scheduled-verifier presentation formats last-run time with DateFormatter
type `custom` and `DATE_ATOM`, so missing `core.date_format.medium` or
fallback cannot abort `runNow()` after the verdict is persisted.
- After the scheduled-verification verdict is saved, the failure event
dispatches in a try and successor-defect plus presentation logging run
in finally. A throwing logger does not skip the event; a throwing
subscriber does not skip the watchdog log. If both throw, the logger
exception surfaces with the subscriber exception chained as
getPrevious(). Core cron's Error::logException() does not log previous
exceptions, so the subscriber failure will not appear in cron logs in
that case. Hash, mutex, and seal behavior is unchanged.
### Changed
- Core requirement is now `^10.6 || ^11.3 || ^12` on the base module and in
`composer.json`. Status-report findings move to
`hook_runtime_requirements()` (`AuditChainRequirements`) so Drupal 12 can
drop the `REQUIREMENT_*` integers; Drupal 10.6 still runs the same copy
through a `#[LegacyRequirementsHook]` bridge. The optional MCP submodule
stays on `^10.6 || ^11.3` because Tool API declares `^10.5 || ^11`.
Hash, mutex, and seal behavior is unchanged.
- Scheduled verification classifies `keyed_verification_unavailable` as
its own card. Status report, dashboard, and cron log the operator-facing
copy instead of interpolating the machine key through the generic
`failed` card. The dead `runNow()` belt that re-checked `unkeyed_rows`
after `verify()` is removed: `verify()` already returns `ok` only when
that count is zero. Hash, mutex, and seal behavior is unchanged.
`classify()` is still the only classifier.
- Status report, dashboard integrity card, and scheduled-verifier logging
share one scheduled-verification snapshot (classified state, live row
count, stored run, and formatted last-run time) and call `forReason()`
once. `classify()` is still the only classifier. Hash, mutex, and seal
behavior is unchanged.
- Scheduled-verifier watchdog `@when` is ISO-8601 (`DATE_ATOM`) rather
than the localized medium date format.