Skip to content

feat: docctl: review/approve on behalf of a signer without git - #24

Merged
volker-kempert merged 1 commit into
mainfrom
feature/vrkt/docctl-cmd-update
Nov 2, 2026
Merged

volker-kempert merged 1 commit into
mainfrom
feature/vrkt/docctl-cmd-update

Conversation

@volker-kempert

Copy link
Copy Markdown
Contributor

Add --user/--email to docctl review and approve for reviewers and approvers who only sign the PDF and don't use git. The given name/email (each falling back to git config if only one is given) is stamped into the doc_control directive instead of the git identity, and the segregation-of-duties check applies to that stamped person.

The commit is still signed off and GPG-signed by the git user doing the work. Its body states the entry was recorded on behalf of the stamped person, who authorized it, and that the signature on the archived PDF is the evidence of record; the Reviewed-by/Approved-by trailer names that person. Without the options, commits are unchanged.

@tobiaskaestner
tobiaskaestner changed the base branch from tkaestner/pdf-style to main October 31, 2026 09:45
Comment thread scripts/docctl.py Resolved

@tobiaskaestner tobiaskaestner left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Co-Pilot found one medium security flaw, please take a look again.

Add --user/--email to docctl review and approve for reviewers and
approvers who only sign the PDF and don't use git. The given name/email
(each falling back to git config if only one is given) is stamped into
the doc_control directive instead of the git identity, and the
segregation-of-duties check applies to that stamped person.

The commit is still signed off and GPG-signed by the git user doing the
work. Its body states the entry was recorded on behalf of the stamped
person, who authorized it, and that the signature on the archived PDF is
the evidence of record; the Reviewed-by/Approved-by trailer names that
person. Without the options, commits are unchanged.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@volker-kempert
volker-kempert force-pushed the feature/vrkt/docctl-cmd-update branch from 19af6d0 to 53a4f2d Compare November 2, 2026 11:15
@tobiaskaestner
tobiaskaestner self-requested a review November 2, 2026 12:52
@volker-kempert
volker-kempert merged commit f9b701c into main Nov 2, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants