Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for signature fields #335

Open
maxnoe opened this issue Mar 20, 2024 · 1 comment
Open

Support for signature fields #335

maxnoe opened this issue Mar 20, 2024 · 1 comment

Comments

@maxnoe
Copy link

maxnoe commented Mar 20, 2024

It would be great if hyperref could support a \SignatureField for digital signatures.

There is some "prior art", see
https://tex.stackexchange.com/questions/51090/how-do-i-create-a-pdf-file-that-can-be-digitally-signed

But I didn't find a working solution for me (digsig doesn't render in tests I did, neither in Adobe Acrobat nor in Okular) and eforms seems to be incompatible with hyperref forms.

@u-fischer
Copy link
Member

eforms should work find with hyperref, but without example I can't test.

I plan to add some support for signatures to the pdfmanagement-testphase bundle (as addition to l3pdffield,) but I doubt that hyperref itself will get it. Until then you can try something like this

\DocumentMetadata{pdfversion=1.7} %or 2.0

\documentclass[12pt]{report}
\usepackage{l3pdffield-testphase}
\begin{document}
Test signature
\ExplSyntaxOn
\pdffield_field:nn{name=signature,FT=Sig,Q=left}{mysig}
\fbox{\pdffield_annot:n{width=3cm,height=2cm,parent=mysig}}
\ExplSyntaxOff

\end{document}

More keys are in the l3pdffield documentation.

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

No branches or pull requests

2 participants