On 2025-02-19 04:01:32 Dr. Nikolaus Klepp via tde-users wrote:
Hi all!
This Workaround is for all that are plaged by kpdf not able to open
encrypted PDFs. - It decrypts PDFs with the infamouse empty password (that
failes on libpoppler) - It asks for the password for encrypted PDFs and
removes the encryption (if password is correct)
How to use:
- Save the attached program to your ~/bin (or wherever you would like it to
reside) - Change the file association for PDF to use this program
- Open some encrypted/not-encrypted PDFs that did not work in plain kpdf.
Commandline: "/where/ever/you/put/it/decrypt-pdf" PDF.pdf ...
TDE specific file URLS like sftp:// don't work, but maybe "somebody" feels
the need to add those.
--> KPDF can now handle all PDFs that it could not cope with.
Enjoy.
Nik
--
Please do not email me anything that you are not comfortable also sharing
with the NSA, CIA ...
And in openSUSE, pdfinfo is provided by the pdf-tools package.
Leslie
--
Platform: Linux
Distribution: openSUSE Leap 15.6 - x86_64
Desktop Environment: Trinity
Qt: 3.5.0
TDE: R14.1.3
tde-config: 1.0