Skip to content

Adds document signing ca and certificate setup#77

Open
rolandboon wants to merge 3 commits intomainfrom
feature/document-signing
Open

Adds document signing ca and certificate setup#77
rolandboon wants to merge 3 commits 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
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