On 2025-02-19 15:37:38 Dr. Nikolaus Klepp via tde-users wrote: > Anno domini 2025 Wed, 19 Feb 14:31:26 -0600 > > J Leslie Turriff via tde-users scripsit: > > On 2025-02-19 13:34:34 J Leslie Turriff via tde-users wrote: > > > 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. > > > > Hm... and my version of qpdf doesn't support --remove-restrictions. :-( > > That's bad. I have devuan ceres, qpdf is version 11.10.0-1. I'm quite sure > the version from debian stable and newer also support > --remove-restrictions. > > Nik > Here I get: @14:33:26 leslie@pinto wd=~ $ qpdf --password='' --decrypt --remove-restrictions --replace-input /usr/local/Documentation/Software/Languages/Bash/AdvancedBashScriptingGuide.pdf qpdf: unknown option --remove-restrictions Usage: qpdf [options] infile outfile For detailed help, run qpdf --help rc=2 @17:10:27 leslie@pinto wd=~ $ qpdf --version qpdf version 10.3.1 Run qpdf --copyright to see copyright and license information. rc=0 openSUSE is pretty conservative and a lot of tools are far from bleeding-edge. :-) 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 ____________________________________________________ tde-users mailing list -- users@xxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxx Web mail archive available at https://mail.trinitydesktop.org/mailman3/hyperkitty/list/users@xxxxxxxxxxxxxxxxxx