Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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?

share|improve this question

1 Answer 1

up vote 7 down vote accepted

Unfortunately, you can't 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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.