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
Signing and Reader: an incremental update drops /Info from its trailer and keeps the second /ID string #746
A document signed at B_LT or B_LTA gets incremental updates (the DSS and the document timestamp). Their trailers break
ISO 32000-1 7.5.6, which requires an added trailer to carry every entry of the previous one except /Prev, and they leave
the second /ID string unchanged, which ISO 32000-1 14.4 describes as the identifier that changes with each update.
Measured (in the review of #744) on main 6a58b65, a PdfA2b document signed with the in-tree test timestamp client and
a canned revocation client:
first trailer: /Size 11 /Root 5 0 R /Info 4 0 R /ID [...];
each appended trailer: /Size 14 /Root 5 0 R /Prev 68301 /ID [...]: /Info is dropped;
the second /ID string equals the first after every update;
veraPDF 1.30.4 2b reports the file compliant, so no oracle in CI sees it.
Cause: IncrementalCrossReferenceBuilder.WriteIncrementalXrefAndTrailer writes only Size, Root, Prev and ID; PdfDocumentReader.AppendRevision passes the base /ID through unchanged and does not pass /Info.
Under a PDF/A claim the file must meet ISO 32000-1, so this is output invalid under a claimed conformance (v2.4 by the
audit policy).
Proposal
Carry every previous trailer entry except /Prev into each added trailer (Info, Encrypt where present, and any other
key), and write a new second /ID string per update, derived from the update's content, keeping the first.
Acceptance
A test per signing level that appends (B_LT, B_LTA), with and without a PDF/A claim: each added trailer holds the
previous trailer's keys except /Prev, and the second /ID string differs from the previous revision's.
The signatures still validate (pdfsig) and veraPDF 2b passes.
A row in docs/conformance-v2.4.md (G5) for 7.5.6 and 14.4 with these tests.
Activity
test: close the G5 review round (#746, #743, #740, #747, 7.5.7, trail…
test: pin file structure and metadata output to its ISO clauses (#744)
Tim81 commentedon Nov 29, 2026
The ISO audit (
docs/conformance-v2.4.md) has skipped tests that wait on this issue; the fix removes their skip and makes them pass.Iso32000_1_7_5_6_IncrementalTrailersKeepEveryEntryAndTheSecondIdChanges(group G5)