Packs / e-signing-public
pdf-signature-fields
Add empty signature fields (/FT /Sig) to a PDF where each signer should sign, and list fields + signed state.
Install
logicpacks pack use e-signing-public/pdf-signature-fieldsget_pack e-signing-public/pdf-signature-fieldsThe second line is the MCP tool call for the LogicPacks connector (Claude Code, Codex, Claude.ai and others). The first run of a pack someone else wrote asks for your yes.
Keys it needs (names only)
None.
Playbooks included
- Spec:
spec/SPEC.md(goal, steps, edge cases, don’ts) - Routes:
local-pypdfself-hosted-esigndocusign - Checks: 3 in
outcome/checks.yaml - Code:
add_sig_field.pylist_sig_fields.pymake_fixture.py - Tools: python3, pypdf
Usage, last 8 weeks
New: no recorded use yet.
Purpose (from spec/SPEC.md)
Goal
A PDF with named, correctly placed signature fields that signing tools (Adobe, pyHanko, Documenso, DocuSeal) recognise.
Steps
- Find the signature spot on each page (points from bottom-left; A4 = 595 x 842).
python3 code/add_sig_field.py in.pdf out.pdf --name Client --page 2 --rect 72,100,272,150(repeat per signer).python3 code/list_sig_fields.py out.pdflists fields and whether each has a value (/V).- Open in a PDF reader: the field shows as a signature box.
Edge cases
- Adding fields after a document is digitally signed invalidates that signature: add all fields first.
- Some viewers hide empty signature widgets without an appearance stream; the field still exists.
Don'ts
- Don't store signer IDs, IPs or documents of real clients in this repo.
- Don't call a typed/drawn stamp a 'digital signature'; it is an electronic signature mark.