You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit b09eeee
Browse filesBrowse the repository at this point in the historyBrowse files
Compare every bound-evidence digest; refuse duplicate evidence rows
- ct_scan_check_bound_evidence keyed its checks by the computed hash, so a
terms snapshot byte-identical to the Target Summary overwrote the terms
entry and the recorded terms hash / shown digest were never compared. Use
a list of [computed, recorded] pairs so every comparison runs.
- Refuse (ct_scan_evidence_duplicate) when an evidence key holds more than
one meta row instead of silently using the first.
- Accepted copy: compare the recorded terms hash case-insensitively, and
re-check under the queue lock that the job is still live (queued, leased
or running, authorization live) before claiming the send.
- Tests: identical-bytes cases, duplicate rows at creation and while
running, upper-case terms hash, and no copy for cancelled, revoked or
edited-evidence jobs.
- docs/WORDPRESS.md: document the above, list bound_required in schema 4,
fix the missing blank line before Egress.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
ct_test_assert( is_wp_error( $dead ) && count( $mail ) === $count && 'not_sent' === ct_scan_row( $dead_event['job_id'] )->accepted_copy_status, "An accepted copy was sent for a job that is no longer live ($how)." );
102
+
}
103
+
74
104
// The requirement is frozen into each job. A job created before the version was listed as requiring
75
105
// bound evidence keeps working when the configuration later requires it, and one created bound keeps
76
106
// needing it: configuration can neither cancel nor relax an authorization already given.
ct_test_assert( 410 === $dup_admit->get_status() && 'cancelled' === ct_scan_row( $dup_running['job_id'] )->status, 'A duplicate evidence row added after acceptance did not end the authorization.' );
86
115
87
116
// ---- Defaults: strict unless an r2-or-earlier version is explicitly grandfathered -------------------------------
0 commit comments