Repository navigation
feat: sign what you write, with your signature, signature blocks and your own certificate - #122
Merged
Merged
Conversation
1 of 4 tasks
FPurchess
added this pull request to stack #126
October 12, 2026 18:44
FPurchess
force-pushed
the
feat/signing
branch
from
October 12, 2026 18:52
08c0411 to
7108ea0
Compare
… points elsewhere an object it signed, even beside validation data
…sked, keep the old key when saving a new one fails, cap timestamp answers as they arrive, and name the certificate's holder as the signer
…data, and look up a revision's objects by number once
…ked, and count the trailer's /Info among the rest
…ir own, with widths, alignment and captions for pictures
…ick its width by value
…t the line the spec typed
…ent's rendered diagrams, align captions as their pictures, and read picture widths only from Blank's Word files
FPurchess
force-pushed
the
feat/signing
branch
from
October 13, 2026 06:58
7108ea0 to
86fdfd4
Compare
…as in the dialogs
# Conflicts: # .claude/rules/content-blocks.md # .claude/rules/state.md # CLAUDE.md # blank.json # docs/guide/blocks.md # docs/guide/shortcuts.md # public/THIRD-PARTY-NOTICES.txt # src-tauri/Cargo.lock # src/config.ts # src/editor/commands/contentBlocks.test.ts # src/editor/commands/contentBlocks.ts # src/editor/plugins/keymap.ts # src/editor/requests.ts # src/engine/engine.ts # src/engine/flatten.ts # src/engine/incremental.test.ts # src/engine/pdf.ts # src/engine/wasm/blank_layout_bg.wasm # src/exporters/docx/forms.ts # src/exporters/docx/index.ts # src/importers/docx/cleanup.ts # src/importers/docx/prepare.ts # src/markdown/schema.ts # src/scss/_typography.scss # src/scss/main.scss # src/state/dialogs.ts # src/ui/App.vue # src/ui/BlockTile.vue # src/ui/BlocksPane.test.ts # src/ui/TocPopover.vue
…the shared block settings, widths and picture scale, and the Word import on the shared part reading
…e, so it covers the lines under the signature too
…ir own, with widths, alignment and captions for pictures
…ick its width by value
…t the line the spec typed
…ent's rendered diagrams, align captions as their pictures, and read picture widths only from Blank's Word files
…as in the dialogs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Sign what you write in Blank, visibly and with your own certificate. This is the first of three stacked PRs for signing; the PDF tabs (#123) and signing received PDFs (#124) build on it.
What users get
<app config>/signing/.<!-- blank:signature@1 … -->, and makes the round trip through Word. A Word signature line becomes a block on import.ETSI.CAdES.detached, signed as an incremental update with lopdf.How it works
Content::Stamplays out the block. The engine also reports the boxes of the blocks, so the signer knows where they sit. The wasm is rebuilt.src-tauri/src/signing/): the key, the CMS and the timestamp stay native, and the passphrase crosses IPC once per signing. The signer never rewrites earlier bytes..claude/rules/signing.mdanddocs/guide/signing.md, plus the blocks, settings, configuration and shortcuts pages.Checked by hand