Skip to content

Encrypted save with the standard security handler #180

Closed

Description

@michaelstonis

Parent

#87 → #33 Spec: Broadside v1

What to build

Saving encrypts every string and stream with AES-256 (revision 6) by default, AES-128 or RC4 only through an explicit legacy option, with passwords, permissions and crypt filters (including unencrypted metadata); an encrypted source re-saves with its key or a new one, and encryption can be removed.

Spec clauses

ISO 32000-2 §7.6.4; spec story 28

Builds on

Integrated earlier work: #42, #44

Acceptance criteria

  • Each handler and revision written re-opens through Standard security handler, all revisions #42 with the user and the owner password and passes qpdf check with the password.
  • Re-saving encrypted-aes-256.pdf never copies ciphertext as raw source bytes (test on changed and unchanged objects).
  • EncryptMetadata false leaves the metadata stream readable without a password.
  • RC4 output records a diagnostic that it is deprecated.

Blocked by

None — can start immediately

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 12, 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 12, 2026
  4. 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:4Phase 4ready-for-agentTriaged: an agent can pick this up without further clarificationtaskUnit of work from the task templatetrack:4E-encryption-writeTrack 4E-encryption-write

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions