6

I am using KDE Neon, and I have successfully configured Okular to add a digital signature to my PDF (using Tools > Digitally Sign menu item).

However, it looks ugly like this (the rectangle with black border and light grey fill):

enter image description here

(I added some black rectangles to censor some sensitive info)

Is there a way to customize this ugly representation of the digital signature? I figure to have only the "Signed by:" line and "Date:" line, both left-aligned, will be enough.

Giacomo1968
  • 58,727
pepoluan
  • 1,332

2 Answers2

1

tl;dr: Upgrade to Okular 25.04 or higher.

Although the font size is still not customizable, Okular 25.04 comes with automatic font sizing option for the signature panel, which solves the root problem.

0

More of a workaround than an answer, but your digital signature doesn't need to be "visible" at all. You may retain complete control of the visible elements in your document.

I have digitally signed many documents in Okular by simply clicking on the page instead of drawing the requested "rectangle to insert the signature field". The visible representation of this "signature field" – if it appears at all – is then just a single pixel.

All of the cryptographic information and certificate details are still copied to the pdf and Acrobat duly confirms that they are valid.

My visible signature appears on the page as a graphical design that I create either in Okular (as a stamp) or in the original document prior to pdf conversion. I just have to make sure that the details of that visible signature (especially the date!) match the details of the invisible "signature field". Typically I also click to insert this at the same location on the page.

Though not quite as neat and tidy as Acrobat, the above approach is a lot more convenient than messing around with LibreOffice Draw.