Repository navigation
Releases
docxplus 2.3.0 — audit, compare and atomic recovery
Review and recovery
- Cross-profile audit, logical comparison and private atomic no-clobber module export.
- Complete key pins remain required for authenticity; inspection and recovery never execute carried recipes.
- Fixes cover ODT manifest authority, complete signer identities, multi-module threshold credentials, descriptor cleanup and linear export-index accounting.
Qualification
Finalized source passed the complete isolated Linux workflow twice: 1,874 passed and one macOS-only skip per run; 92.74% branch coverage. Real bubblewrap confinement, Rust backend, DOCX/ODT Office render-save-render, wheel/sdist, all pipeline stages and the 18-page manuscript were exercised. The exact installed wheel passed genuine hybrid cryptography, current Rust capacity boundaries and 14 real legacy-backend review/recovery scenarios. Main CI and both CodeQL analyses passed on the exact released main commit.
Office rendering does not certify payload/signature survival, Microsoft Word or Google Docs interoperability. Source-bound receipts and SHA256SUMS accompany the artifacts. No new DOI, Zenodo or registry publication is included.
docxplus 2.2.2
docxplus 2.2.2
- Join the pinned Linux namespace init before monitor cleanup/reaping; failed bounded joins refuse output collection.
- Reject conflicting package/lock/citation/CodeMeta/Zenodo/skill versions before provisioning and remove the unused vulnerable wheel CLI.
- Correct manuscript transport/capacity/security claims and figure layout; regenerate examples, reports and the 18-page PDF.
- Add an explicitly admitted release-assets workflow with qualified-artifact hash binding, bounded metadata, exact expiring confirmation, pinned identity, supervised download deadlines and refusal-only reconciliation.
Validation
Source/main: 0b16c127b54ca49dd18c30d4a58514b1cae42efd. Native inputs SHA256: 602ba70d9d8d08395aa54e4e0c091c1b072fd429fc6671d053b2dd66610ac98a.
Two complete Linux runs each exercised 1,624 passing cases and one macOS-only skip; branch-inclusive coverage: 92.38%. Ruff, real cryptographic/Rust backends, all pipeline stages, built-wheel installation, DOCX/ODT Office render-save-render, exact-wheel composite-key/incorrect-pin boundaries and genuine 0.8 generic-packet compatibility were exercised. All 18 rendered PDF pages were inspected. Current main CI and CodeQL passed.
Qualification uses an explicitly approved, daemon-bound unmasked systempaths profile on an isolated Linux engine; see VALIDATION for its security limits. Office editing is not asserted to preserve payloads/signatures. Microsoft Word, Google Docs and native macOS confinement are not newly qualified. The PDF document date is the reproducible build epoch, not the release-publication date.
Assets and scope
Wheel, sdist, manuscript PDF, SOURCE, VALIDATION and SHA256SUMS. Check the five payload files against SHA256SUMS. Receipt consistency alone is not producer authentication.
GitHub-only release explicitly authorized: no Zenodo deposit, archival upload/publication, new version DOI or registry publishing is claimed.
docxplus 2.2.1
Fixed
- Citation (
CITATION.cff) and Zenodo (.zenodo.json) metadata now report
2.2.1, so the released source, package, citation and archive versions agree. - The duplicate
2.0.0changelog headings are merged without dropping content.
The 2.2.0 code and release validation results are unchanged; this patch restores
release metadata coherence.
docxplus 2.2.0
Added
- ODT CLI channel selection —
odt-build --module SLOT[:CHANNEL]:FILEnow
acceptsodt_package_part(the default),odt_metadataandstego_media.
Only a known channel id in the middle field reinterprets the older
SLOT:FILEform, so colon-bearing legacy paths keep working.
Changed
- Reproduction output matching tokenises each pattern once per collection and
each relative path once, instead of splitting both for every entry/pattern
pair.
Fixed
- The ODF metadata channel now authors into a valid metadata-free base by
creating the optionaloffice:document-meta/office:metatree; malformed
existingmeta.xmlis still refused. - The manuscript PDF gate fails closed when
pandoc,pandoc-crossrefor the
configured engine is missing. CI runs the explicitly named--text-only
mode, and release validation compiles the PDF with the pinned toolchain. - The Linux descendant-custody regression test compared
strnamespace
identities withpathlib.Pathobjects, making its liveness observation
vacuous; both sides are now strings.
docxplus 2.1.0
Security
- The
mediaextra now requires Pillow >= 13.0.0, and the locked development/CI environment moves from 12.3.0. Pillow 13.0.0 fixes the open decoder memory-safety advisories, including critical heap overflows reachable from a crafted image — relevant because the media channel opens carriers carried by untrusted documents. Installations pinned to an older Pillow must upgrade.
Added
- ODF
metadatachannel (odt_metadata): base64 in ameta:user-definedfield nameddxplus_<slot>inmeta.xml. It preserves pre-existing user-defined fields, refuses a name collision, and shares the OOXML ceiling, sealing composition and digest binding. Wired throughOdtPlusBuilder,OdtPlusReader, the manifest dispatcher, the validator and the profile-aware registry, with round-trip, capacity, collision, signature and tamper tests.
Changed
- Untrusted content-types intake maintains one casefolded Override index instead of rescanning every prior declaration (quadratic → linear admission).
- Reproduction output transcripts resolve the project root once; DXE2/DXE3 envelope construction no longer copies the encrypted body through a temporary.
- Public intake and reader boundaries gained return and package annotations; the Linux descendant-custody regression checks process liveness instead of racing a sleep, and secret publication has real filesystem failure-path tests.
Migration
No wire-format change: existing format-3.0 packages remain readable. If you pin Pillow below 13.0.0, upgrade before using the media extra. The companion backend remains steganographer 0.9, selected with STEGANOGRAPHER_BIN or PATH.
See the changelog and release-validation contract.
Exercised validation
Exercised validation
- 1,302 tests passed with one macOS-only case skipped; whole-source branch coverage was 92.13% against the 90% gate, in the recorded image
sha256:3b706f40d4c4853093a8221636001ef7a57dccb0ce4a5416f5a776b60a863072, built from source inputssha256:f98e50ec6ade2335081faec55f86c7d7155cdbf4090d720af21e9a37abe3d492. run.sh allpassed, including regenerated PDF/figures, the dossier, the living manuscript, both DOCX/ODT surfaces, and the project and 136-file template round-trips compared byte-identically.- The installed wheel passed import-origin, console-entry, encrypted DOCX/ODT payload and Office render-save-render receipts; the qualified build also passed an independent Python 3.11.18 consumer check (sealed roundtrip, signature, wrong-password and tamper refusal).
- The daemon-bound procfs profile was admitted only for the verified Linux rootless daemon
f17b7fa1-c5d2-418f-9cae-a0123560ae04. Read-only/sysand non-mutating write-open refusals on/proc/sys/kernel/hostname,/proc/sysrq-triggerand/sys/kernel/uevent_helperwere recorded, and container stop/reap was proven. - Exact validated source bytes, generated-artifact hashes, host receipts and guest qualification are in
SOURCE-2.1.0.jsonandVALIDATION-2.1.0.json. Checksums are transport integrity, not publisher identity signatures.
docxplus 2.0.0
Changes
- Clean cutover to the authenticated manifest format 3.0: profile-separated typed, counted, length-framed transcripts, authenticated primary algorithms and co-signer identities. Rebuild and re-sign trusted format-2 inputs; there is no legacy verifier.
- Real provider ML-KEM-768/ML-DSA-65 composite signing, co-signing and recipient sealing; portable keys validate derived public halves, and mixed or ambiguous families refuse.
- Bounded archive and intake preflight: ZIP-directory allocation, gzip/TAR metadata, UTF-16 XML, channel and path budgets. Unsupported channels refuse instead of guessing.
- Descriptor-pinned project capture and fresh private extraction; secret/document/share/key outputs stage before per-entry atomic publication (not cross-file crash-atomic).
- Linux reproduction sandbox hardening: carried code runs as private PID 1 inside bubblewrap.
--ends bubblewrap's own options, so a recipe cannot inject--share-net/--bind, and an option-leading program refuses before any process starts. The reported init is pinned with a pidfd, so success, timeout and cleanup destroy the namespace and every detached descendant; absent pidfd support refuses execution. macOS Seatbelt denies process creation, so subprocess recipes require the Linux backend. - Release validation offers the validate-only
--allow-unmasked-procfs-for-daemon IDexception for one explicitly selected, provision-bound Linux rootless daemon inside an operator-controlled isolated VM. Default proc/kernel masking incompatibility still refuses: no automatic fallback and no host/global policy change. The container-localsystempaths=unconfinedprofile loses Docker's outer proc and kernel-path masking/read-only defenses while retaining production bubblewrap, private PID/proc and every other confinement/custody control.
Migration
Format-2 packages must be rebuilt and re-signed. The companion media backend is exercised against steganographer 0.9 (it provides the capacity contract); select that binary with STEGANOGRAPHER_BIN or PATH — implicit sibling checkout discovery is not performed. Fresh setup uses uv sync --locked --all-extras.
See the changelog, format spec and release-validation contract.
Exercised validation
- 1,296 tests passed with one macOS-only case skipped; whole-source branch coverage was 92.25% against the 90% gate, in the recorded image
sha256:493047efd01bdb81a3aaa6bc6bc5350763bfc2c76565f81f39eeade1d309fb07, built from source inputssha256:b688b5975f15b551dad62a32bb67bf6af02d95200ab6231f376ae91f0751decf. run.sh allpassed, including regenerated PDF/figures, the dossier, the living manuscript, both DOCX/ODT surfaces, and the project and 136-file template round-trips compared byte-identically.- The installed wheel passed import-origin, console-entry, encrypted DOCX/ODT payload and Office render-save-render receipts; the qualified build also passed an independent Python 3.11.18 consumer check.
- The daemon-bound procfs profile was admitted only for the verified Linux rootless daemon
f17b7fa1-c5d2-418f-9cae-a0123560ae04. Read-only/sysand non-mutating write-open refusals on/proc/sys/kernel/hostname,/proc/sysrq-triggerand/sys/kernel/uevent_helperwere recorded, and container stop/reap was proven. - The reproduction sandbox qualified with real bubblewrap: private PID/network namespaces, ancestor proc and signal denial, positive project/scratch writes, and successful-leader detached-child teardown.
- Exact validated source bytes, generated-artifact hashes, host receipts and guest qualification are in
SOURCE-2.0.0.jsonandVALIDATION-2.0.0.json. Checksums are transport integrity, not publisher identity signatures.
docxplus 1.1.0
Changes
- Migrate the optional steganographer backend to the 0.8 CLI envelope while preserving the public analysis-dictionary interface. Malformed contracts and real CLI failures fail closed; no legacy-output shim remains.
- ODT
stego_mediauses visible PNG carriers and the shared authenticated recovery path. Password sealing composes with concealment; DOCX/ODT dual-name surfaces remain byte-identical. - Locked development/media/figure dependencies, correct sibling-backend discovery, Python 3.11 syntax floor, and consumer-visible signer/tamper/privacy/output-preservation regressions.
- Fix ODT recipient-count padding, preserve project executable metadata on
noexecstorage, and align the ODF parity diagram with actual package-entry and PNG-carried roundtrips. - Source-bound release acquisition and separately qualified offline Linux computation: real production bubblewrap, read-only source/runtime, zero capabilities, network-none, bounded lifetime, strict bounded gzip/PAX extraction and collected stop/reap evidence. Incompatible kernel/LSM policy fails qualification; it is not bypassed.
- Correct citation metadata: 1.0.1's archived DOI is not reused for 1.1.0. No new archival DOI is claimed.
Migration
Use steganographer 0.8 with this consumer. Set STEGANOGRAPHER_BIN for an explicit backend; a sibling source checkout is discovered through the project root. Fresh source setup uses uv sync --locked --all-extras.
See the changelog, format and release-validation contract.
Exercised validation
- 673 passed, three explicit skips; whole-source coverage 93.41% with branch measurement enabled, retaining the 90% gate. Skips: optional LibreOffice absent and two macOS-only Seatbelt cases.
- Unchanged
run.sh allpassed, including its full suite, actual PDF/figures, living manuscript, and a 136-file external project recovered byte-identically through all four DOCX/ODT names. - Fresh installed wheel: isolated import-origin proof, real console script, encrypted DOCX/ODT payload recovery and byte-identical dual names. Writable scratch remains
noexec. - Python 3.11.18: all application modules compile and actual encrypted DOCX/ODT CLI roundtrips pass.
- Real production bubblewrap, UID 1000, zero capabilities, read-only source/runtime, IPv4/IPv6 TCP/UDP denials, separate network namespace and write-boundary probes pass; final namespace stopped and reaped.
- Final PDF embeds its cover and all eight diagrams. Wheel application modules match the exercised source; regenerated tracked outputs were imported by exact hash.
Assets include the wheel, source distribution, generated manuscript, source/validation inventories and SHA-256 checksums. Checksums are not a publisher identity signature.
docxplus v1.0.1
Fixes an installation defect in v1.0.0.
pip install docxplus reported success on v1.0.0 and left nothing importable. The
modules lived in src/ as flat top-level files that no wheel shipped,
[tool.uv] package = false kept them out of any build, and the console script
crashed importing a module that was never packaged. The tests never caught it
because they ran from a checkout with src/ on the path, which is the single
configuration in which the old layout worked.
Changed
- Modules moved under a real
docxpluspackage and import each other relatively,
sofrom docxplus.container import DocxPlusBuilderworks installed or from a
checkout. Flat imports (import crypto) becomefrom docxplus import crypto. - The CLI is now
docxplus.cli: run it withpython -m docxplus.clior the
docxplusconsole script. project_root()locates the checkout instead of counting parent directories,
which is what broke when the modules gained a level.- Coverage follows the CLI into the subprocesses that exercise it. Measured in the
parent alone, the most end-to-end-tested module in the repository read 0%.
Verified by installing into a clean virtualenv outside the checkout and exercising
the library, the console script, and its subcommands.
609 tests, 91.89% coverage against a 90% gate, ./run.sh all green.
Archived: 10.5281/zenodo.21985580 ·
concept DOI 10.5281/zenodo.21983948
always resolves to the latest version.
docxplus v1.0.0
A byte-valid OOXML .docx (and ODF .odt) that also carries a signed, modular,
selectively sealed intelligence layer through spec-sanctioned side-channels.
Archived on Zenodo: 10.5281/zenodo.21983949
What it is
Two contracts in one archive. The surface contract is a strictly conforming
document that Word, LibreOffice, and Google Docs open without complaint. The
intelligence contract is an authoritative, Ed25519-signed manifest binding a set
of typed payload modules, each placed through one of five transport channels that
OOXML and ODF actually define.
- Sealing lineages — plain, password (AES-256-GCM with Argon2id, scrypt, or
PBKDF2), X25519 multi-recipient, Shamir k-of-n with verifiable shares, and a
decoy lineage indistinguishable from an ordinary sealed module in shape, size, and
timing. - Provenance — an RFC 6962 Merkle root over the module set, a surface digest over
the whole package graph, co-signatures, and an append-only transparency log with
inclusion and consistency proofs. - Reproduction — attested commands, re-runnable by a reader under opt-in
confinement, never on open. - Steganalysis — a chi-squared LSB detector shipped in-tree, with its own
false-negative regime documented rather than omitted.
Evidence
606 tests at 94.11% coverage against a 90% gate, with no mocks anywhere: real
cryptography, real ZIP packages, real subprocesses. Fourteen cycles of adversarial
review closed 88 confirmed findings, each pinned by a regression test. The full
record is in docs/redteam-audit.md, including the
occasions when an earlier fix turned out to be incomplete, and one negative result
withdrawn rather than shipped.
The paper describing the format is output/documents/manuscript.pdf, and every
number in it derives from the live code rather than being typed.