Open Lucas-C opened 2 weeks ago
hello, remember me? (: I'm the beginner cyy-2024! Thank you very much for your help!I guess I can do a simple p12 signature.~
Hi @cyy-2024
Thank you for your contribution 👍
I'm going to try to review your PR today 🙂
Intent Provide a pair of new subcommands:
pdfly sign
: take a PDF document and a pair of public/private certificates, and produce a signed PDF documentpdfly check-sign
: take a signed PDF document and a public certificate, and check if its signature is validSuggested implementation
fpdf2
is already a dependency ofpdfly
, and combined withendesive
could be use to perform signing: https://py-pdf.github.io/fpdf2/Signing.htmlendesive
could be used to check the signature.There are some example usages we could support:
Extra useful documentations:
Extra features we could consider:
--inplace
/-i
flag that would allow to NOT provide an output PDF filepath because the input PDF file would be directly modified