25

A while ago I received a PDF file that was digitally signed.

The Document Viewer (Evince) shows me that the digital signature was not validated.

How do I add the file's digital signature to evince so that the warning disappears?

1 Answer 1

16

Unfortunately, you can't (now on Gitlab) do this at the minute with the standard version of evince, as a developer explained on the official mailing lists:

This feature isn't implemented in Evince, mainly because isn't supported by poppler, the underlying library for PDF support.

This is indeed the main point; you would need to patch poppler with the digital signature support as well as evince.

However, there is a interesting project in progress to provide just the functionality you want; the details are explained on this github page entitled 'evince signatures', where all the patches are available.

As well as on the github page, there is more information on the project on this site; it is clear they hope to integrate it upstream in the future. The developers note that

the most used software for reading pdf documents on Windows (Acrobat Reader) has support for showing and validate signatures in pdf documents. On modern Linux desktops that doesn't yet exist and that's the purpose of this project, change Evince document viewer (default gnome pdf reader) to add those features.

So, you can experiment with the github development code if you wish, but it may not be a good idea to patch poppler as other programs depend on it; however, it is likely that the digital signatures feature will be available soon if it is integrated upstream. Judging by the evince screenshots for a valid and invalid signature the patches do seem to be enabling just the features you are interested in.

4
  • 1
    How come this is not yet possible? Or is it?
    – iamatrain
    Oct 9, 2016 at 17:44
  • 2
    I would also like to know is this possible now in 2017.?
    – Hrvoje T
    Mar 21, 2017 at 6:54
  • 3
    didn't find it in evince, but at least there is command-line pdfsig(1) from poppler-utils package that can perform .pdf signature validation Feb 2, 2020 at 17:09
  • 2
    9 years has passed -- and this is still not possible. :-(
    – Agrajag
    Dec 21, 2021 at 13:35

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .