What's new in version 1.0.0
First published version. The module seals every line of the unalterable log (blockedlog) at a distance: a SHA256 fingerprint goes to a webservice operated by the editor, and any later change of the journal becomes detectable.
What the first version brings
- Local fingerprint chain: a second chain over
llx_blockedlog, computed in the same request as the journal write, under a lock on the last line. - Delayed send: the send leaves after the response of the page
(
fastcgi_finish_request()when available), with a 5 second timeout. An invoice validation is never blocked by the webservice. - Scheduled job every 5 minutes: catch-up of the missing lines, send by batches of 500, heartbeat after an hour of silence.
- Ed25519 enrollment with a one-use code: every request is signed, every receipt is verified against the server public key frozen at enrollment.
- Verification page (Tools menu) with the anomaly summary, windows of 500
lines, POST CSV export and CLI script
scripts/verify.php(exit code 1 as soon as one anomaly exists).
What leaves the server
Fingerprints only: the journal line number, the SHA256 fingerprint of the line, the previous hash of the chain and the event date. No amount, no reference, no name.