Skip to content

Adds document signing ca and certificate setup#77

Merged
rolandboon merged 1 commit intomainfrom
feature/document-signing
Mar 3, 2026
Merged

Adds document signing ca and certificate setup#77
rolandboon merged 1 commit intomainfrom
feature/document-signing

Conversation

@rolandboon
Copy link
Member

Companion to #71 (Yubikey code signing) and #76 (GPG Code Signing CA). Where those PRs secures code by verifying Git commit signatures, this PR secures documents by enabling developers to sign PDFs with a CA-issued certificate.

Adds the 10KB Document Signing CA and a setup flow for creating personal X.509 signing certificates.

  1. Migration installs the CA certificate in the system trust store, so signed documents are recognized as trusted.

  2. New menu item (Security > Create document signing certificate) lets developers generate a personal signing certificate:

    • Generates an RSA 4096 key + CSR
    • Signs it with the Document Signing CA (fetched via a time-limited Bitwarden Send link, same pattern as Adds configuration helper to setup yubikey for ssh and gpg #71)
    • Creates a PKCS#12 bundle (~/.pdf-signing/signing-cert.p12) for use with pyHanko
    • Backs up the certificate to Bitwarden (Medewerkers/)
    • Securely removes the CA private key from the machine

Base automatically changed from feature/yubikey-ssh-gpg to main February 26, 2026 19:42
@rolandboon rolandboon force-pushed the feature/document-signing branch from 80e4902 to 488ce22 Compare March 3, 2026 09:06
@rolandboon rolandboon merged commit 5c53203 into main Mar 3, 2026
@rolandboon rolandboon deleted the feature/document-signing branch March 3, 2026 09:07
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.

1 participant