Skip to content

Byte-range signing with CMS #193

Closed

Description

@michaelstonis

Parent

#88 → #33 Spec: Broadside v1

What to build

A document is signed into a new or existing signature field: the signature dictionary reserves Contents, the incremental save computes the byte ranges, and a detached CMS signature (RSA, SHA-256) from the platform PKCS package is embedded; an external signer contract (with its ADR, open decision 10) supports HSM and remote signing.

Spec clauses

ISO 32000-2 §12.8.1, §12.8.3; spec story 39

Acceptance criteria

  • A signed corpus file verifies with poppler's pdfsig and with OpenSSL CMS verification over the byte ranges.
  • The byte ranges cover the whole file except Contents.
  • Signing twice produces two revisions, and the first signature still verifies.
  • An external signer that receives only the digest produces a valid signature.

Blocked by

Deliverables (every ticket)

  • Tests through the public seam (see the spec's Testing Decisions)
  • XML docs citing clauses on public types
  • Conformance map rows updated in the same PR
  • PublicAPI.Unshipped.txt updated
  • Fuzz target and benchmark where the ticket adds a parser, codec or hot path

Activity

  1. added
    taskUnit of work from the task template
    ready-for-agentTriaged: an agent can pick this up without further clarification
    on Oct 10, 2026
  2. added a commit that references this issue on Oct 14, 2026
  3. added
    integratedMerged into the spec integration branch; closes when the integration PR merges
    and removed
    in-progressClaimed and being worked on
    on Oct 14, 2026
  4. added a commit that references this issue on Oct 14, 2026
  5. michaelstonis commented on Oct 16, 2026

    @michaelstonis
    OwnerAuthor

    Done: implemented, tested and merged into the integration branch spec/33-broadside-v1 (full gate green). It reaches main with PR #277.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

integratedMerged into the spec integration branch; closes when the integration PR mergesphase:5Phase 5ready-for-agentTriaged: an agent can pick this up without further clarificationtaskUnit of work from the task templatetrack:5C-signaturesTrack 5C-signatures

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions