![](https://secure.gravatar.com/avatar/ed6f43113e3f1cee031ebd13654fc703.jpg?s=120&d=mm&r=g)
On 12/4/2023 5:38 PM, Pablo Rodriguez via ntg-context wrote:
On 11/24/23 18:16, Hans Hagen via ntg-context wrote:
[…] will do for now ... i can't upload a new installer .. pending the built; the advantage is that i can do some experiments that would otherwise break the current version (making compact font mode very close to normal, pdf signing […]
Sorry, Hans, if I am missing the point.
Does the above mean that ConTeXt will be able to sign PDF documents with digital certificates? Well, that's what singing is, right? The problem is actually less in the signing than in the certificates themselves.
Basically one can sign (with some certificate) and then validate. % sign-001.tex \setupinteraction[state=start] \definefield[signature][signed] \defineoverlay[signature][my signature] \starttext \startTEXpage[offset=1ts,frame=on,framecolor=darkblue] sign: \inframed [background=signature,framecolor=darkred] {\fieldbody[signature][width=3cm,option=hidden]} \stopTEXpage \stoptext after neing processed: mtxrun --script pdf --sign --certificate=sign-001.pem --password=test sign-001 (--library) and: mtxrun --script pdf --validate --certificate=sign-001.pem --password=test sign-001 (--library) etc. works here. Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------