On Wed, 7 Feb 2024 14:50:00 -0800, Lew Wolfgang <wolfgang@sweet-haven.com> wrote:
On 2/7/24 12:57, Robert Webb via openSUSE Users wrote:
On Wed, 7 Feb 2024 08:08:17 -0800, Lew Wolfgang<wolfgang@sweet-haven.com> wrote:
Interesting. Does this site allow one to upload a pre-existing PDF form and sign it with a SmartCard certificate?
Another command from the poppler-tools package, 'pdfsig', can sign PDFs. Here is an example from the man page:
pdfsig input.pdf output.pdf -add-signature -nss-pwd password -nick 'pkcs11:token=smartcard0;object=Second%20certificate;type=cert'
Same, but uses a PKCS#11 URI as defined in IETF RFC 7512 to se- lect the certificate to be used for signing.
Wow! That's good to know, I'll try it. What happens if the PDF has two or more signature fields? Acrobat allows you to select which one you're signing.
I've never used it. From pdfsig(1): -sign field Sign the document in the specified signature field present in the document (must be unsigned). Field can be specified by field name (string) or the n-th signature field in the document (integer). -- Robert Webb