Friday, January 11, 2019

Okular: PDF Signature + Certificate support has landed

As of a few minutes ago, i merged the code from Chinmoy Ranjan Pradhan's GSOC to support showing PDF Signatures and Certificates in Okular.



Signature handling is a big step for us, but it's also very complex, so i expect it to have bugs and things that can be improved so testers more than welcome.

Compiling is a bit "hard" since it requires poppler 0.73 that was released a few days ago.

But thanks to flatpak, there's no need to compile it, you can run the KDE Okular Nightly on your system to try it

flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak remote-add --if-not-exists kdeapps --from https://distribute.kde.org/kdeapps.flatpakrepo
flatpak install kdeapps org.kde.okular

Note: if you have okular installed from another flatpak repo (for example flathub) this will switch you to the KDE Nightlies, you may want to switch back after testing.

And then you can try the adobe sample pdf
flatpak run --share=network org.kde.okular https://blogs.adobe.com/security/SampleSignedPDFDocument.pdf

And you should get stuff like this

13 comments:

Anonymous said...

Oh! Does this mean you have the ability of Adobe Sign and Fill?
Can I sign documents with a wacom tablet?
When will it be rolled into the stable Okular?
Thanks!!

Albert Astals Cid said...

You can not create new Signatures, just verify the existing ones.

This will be rolled into stable with KDE Applications 19.04 (unless something catastrophic is found)

Anonymous said...

ok. Thanks

parapente said...

Very nice indeed! It was a feature that I was looking for for a long time. After running a few tests I can say that it seems to work well. A couple of wishes:
* A way to indicate upon opening a file there is a problem with the signature (like the green, red notifications that appear in adobe reader)
* Some pdf files change the annotation when the signature is checked. One such file can be found here (https://goo.gl/VrVLLq).

Albert Astals Cid said...

@parapente please file bugs in bugs.kde.org with those wishes otherwise they'll be lost in here.

sintawiranata said...

I think digital signature and electrical signature are the same. Now I can see the different of digital and electrical who have a symbol and the other no. Thank you for making this article. Awesome sharing. stiply.nl

esigndsc said...

Superb and really very good informative blog.
I regularly read blogs related to Digital Signature Certificate and it really helps. keep it up. Do regular blogging.

DSM said...

Best blog. Keep it up. we provide Digital Signature Certificate Online in India and Delhi and best in service.

DSM said...

Nice information. thanks we also provide class 2 Digital Signature Certificate in India anyone want pls contact

Aitor said...

Great Job,

We where waiting this feature in our university !

thanks a lot !

DSM said...

Thanks for the wonderful information.
Class3 Digital signature certificate

signyourdoc said...

How can we make class 3 digital signature
online

Make My Digital Signature said...

Thanks for the nice post. It was very useful for me. Keep sharing such ideas in the future as well.
Make My Digital Signature.