Bug 366447

Summary: Encrypt pdf file with a password
Product: [Applications] okular Reporter: Gregor Mi <codestruct>
Component: PDF backendAssignee: Okular developers <okular-devel>
Status: REPORTED ---    
Severity: wishlist CC: boredsquirrel, kde
Priority: NOR    
Version: 0.25.80   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Gregor Mi 2016-08-05 12:49:23 UTC
Situation: Documents are sent around via email which is not encrypted by default, especially when communicating ad-hoc. Sometimes I receive an encrypted PDF file (which is better than no encryption at all) and with okular it is possible to decrypt it given the right password.

Wish 1: Make it possible for the user to encrypt a given PDF with a password via GUI to make it easy to encrypt PDFs oneself. On the shell one would use pdftk (see unix.stackexchange.com/questions/187404/how-to-set-password-for-pdf-files).

Wish 2: An option to remove a password from a PDF file would also be nice (see https://blog.sandipb.net/2009/01/10/removing-encryption-from-legitimate-pdf-files-on-ubuntu/)
Comment 1 Henning 2024-04-11 11:01:33 UTC
was there any progress on this? This really is a useful feature.

It could be placed in the "save to" dialog. I am trying if qpdf works well for this.