Hi all!
Giving this PDF https://www.farnell.com/datasheets/2304760.pdf kpdf requires a password to open it while firefox does not.
Anybody knows the reason for this?
Nik
On Wednesday 04 August 2021 01:58:22 Dr. Nikolaus Klepp wrote:
Hi all!
Giving this PDF https://www.farnell.com/datasheets/2304760.pdf kpdf requires a password to open it while firefox does not.
Anybody knows the reason for this?
Nik
Well, I can confirm that kpdf will not open this document on my machine. I did not get asked for a password, but then I had a ton of other pdf documents open, so that probably interferes with some functions.
I haven't tried to open it with any other programs yet, but it occurs to me that maybe you can open it in another pdf program (e.g., maybe pdftk or xpdf?), then save it under a different file name. I don't know if Firefox can do that.
Did you take care to disable the DRM settings? That doesn't seem like it would ordinarily have anything to do with passwords, but it makes no sense that one program would open it but another wants a password.
Bill
P.S. Breaking news: As I was clicking to send this email, I got a notification that kpdf wanted permission to access my tdewallet ... which does sound very suspicious. Why would kpdf need access to the passwords in my wallet?
Dr. Nikolaus Klepp wrote:
Hi all!
Giving this PDF https://www.farnell.com/datasheets/2304760.pdf kpdf requires a password to open it while firefox does not.
Anybody knows the reason for this?
Nik
confirmed Here kpdf requested access to kwallet - I rejected and it asked for passwd. FF is not asking for passwd
perhaps strace to see what is happening?
On Wed, 04 Aug 2021 12:04:16 +0200 deloptes emanoil.kotsev@deloptes.org wrote:
Dr. Nikolaus Klepp wrote:
Hi all!
Giving this PDF https://www.farnell.com/datasheets/2304760.pdf kpdf requires a password to open it while firefox does not.
Anybody knows the reason for this?
Nik
confirmed Here kpdf requested access to kwallet - I rejected and it asked for passwd. FF is not asking for passwd
perhaps strace to see what is happening?
For what it's worth, the file shows as encrypted (and slightly broken):
~ $ pdfinfo 2304760.pdf Internal Error: xref num 27 not found but needed, try to reconstruct<0a> Tagged: no UserProperties: no Suspects: no Form: none JavaScript: no Pages: 8 Encrypted: yes (print:yes copy:no change:no addNotes:yes algorithm:AES-256) Page size: 612 x 792 pts (letter) Page rot: 0 File size: 1626771 bytes Optimized: no PDF version: 1.4
It might be that the original creators of kpdf didn't anticipate the possible existence of encrypted files that weren't password-locked. Or it could be that the file breakage is causing other problems.
E. Liddell
Anno domini 2021 Wed, 4 Aug 09:09:54 -0400 E. Liddell scripsit:
On Wed, 04 Aug 2021 12:04:16 +0200 deloptes emanoil.kotsev@deloptes.org wrote:
Dr. Nikolaus Klepp wrote:
Hi all!
Giving this PDF https://www.farnell.com/datasheets/2304760.pdf kpdf requires a password to open it while firefox does not.
Anybody knows the reason for this?
Nik
confirmed Here kpdf requested access to kwallet - I rejected and it asked for passwd. FF is not asking for passwd
perhaps strace to see what is happening?
For what it's worth, the file shows as encrypted (and slightly broken):
~ $ pdfinfo 2304760.pdf Internal Error: xref num 27 not found but needed, try to reconstruct<0a> Tagged: no UserProperties: no Suspects: no Form: none JavaScript: no Pages: 8 Encrypted: yes (print:yes copy:no change:no addNotes:yes algorithm:AES-256) Page size: 612 x 792 pts (letter) Page rot: 0 File size: 1626771 bytes Optimized: no PDF version: 1.4
It might be that the original creators of kpdf didn't anticipate the possible existence of encrypted files that weren't password-locked. Or it could be that the file breakage is causing other problems.
Thanks for the hint, now I kind of solved it by uploading the PDF to https://smallpdf.com , let it remove the password and saving the result :)
But what I still don't understand: why was the preview in konqueror showing the first page of the pdf? Does KPDF not use the same component to as konqueror?
Nik
E. Liddell ____________________________________________________ tde-users mailing list -- users@trinitydesktop.org To unsubscribe send an email to users-leave@trinitydesktop.org Web mail archive available at https://mail.trinitydesktop.org/mailman3/hyperkitty/list/users@trinitydeskto...
Dne st 4. srpna 2021 Dr. Nikolaus Klepp napsal(a):
Anno domini 2021 Wed, 4 Aug 09:09:54 -0400
E. Liddell scripsit:
On Wed, 04 Aug 2021 12:04:16 +0200
deloptes emanoil.kotsev@deloptes.org wrote:
Dr. Nikolaus Klepp wrote:
Hi all!
Giving this PDF https://www.farnell.com/datasheets/2304760.pdf kpdf requires a password to open it while firefox does not.
Anybody knows the reason for this?
Nik
confirmed Here kpdf requested access to kwallet - I rejected and it asked for passwd. FF is not asking for passwd
perhaps strace to see what is happening?
For what it's worth, the file shows as encrypted (and slightly broken):
~ $ pdfinfo 2304760.pdf Internal Error: xref num 27 not found but needed, try to reconstruct<0a> Tagged: no UserProperties: no Suspects: no Form: none JavaScript: no Pages: 8 Encrypted: yes (print:yes copy:no change:no addNotes:yes algorithm:AES-256) Page size: 612 x 792 pts (letter) Page rot: 0 File size: 1626771 bytes Optimized: no PDF version: 1.4
It might be that the original creators of kpdf didn't anticipate the possible existence of encrypted files that weren't password-locked. Or it could be that the file breakage is causing other problems.
Thanks for the hint, now I kind of solved it by uploading the PDF to https://smallpdf.com , let it remove the password and saving the result :)
But what I still don't understand: why was the preview in konqueror showing the first page of the pdf? Does KPDF not use the same component to as konqueror?
Nik
If I remember correctly, poppler is used to display thumbnails, while KPDF is based on XPDF.
E. Liddell ____________________________________________________
Cheers
On Wed, 4 Aug 2021 17:00:00 +0200 "Dr. Nikolaus Klepp" office@klepp.biz wrote:
Anno domini 2021 Wed, 4 Aug 09:09:54 -0400 E. Liddell scripsit:
On Wed, 04 Aug 2021 12:04:16 +0200 deloptes emanoil.kotsev@deloptes.org wrote:
Dr. Nikolaus Klepp wrote:
Hi all!
Giving this PDF https://www.farnell.com/datasheets/2304760.pdf kpdf requires a password to open it while firefox does not.
Anybody knows the reason for this?
Nik
confirmed Here kpdf requested access to kwallet - I rejected and it asked for passwd. FF is not asking for passwd
perhaps strace to see what is happening?
For what it's worth, the file shows as encrypted (and slightly broken):
~ $ pdfinfo 2304760.pdf Internal Error: xref num 27 not found but needed, try to reconstruct<0a> Tagged: no UserProperties: no Suspects: no Form: none JavaScript: no Pages: 8 Encrypted: yes (print:yes copy:no change:no addNotes:yes algorithm:AES-256) Page size: 612 x 792 pts (letter) Page rot: 0 File size: 1626771 bytes Optimized: no PDF version: 1.4
It might be that the original creators of kpdf didn't anticipate the possible existence of encrypted files that weren't password-locked. Or it could be that the file breakage is causing other problems.
Thanks for the hint, now I kind of solved it by uploading the PDF to https://smallpdf.com , let it remove the password and saving the result :)
But what I still don't understand: why was the preview in konqueror showing the first page of the pdf? Does KPDF not use the same component to as konqueror?
No clue. I don't think the encryption/password system for PDFs is very strong, though. Poppler (the package that contains the pdfinfo command I used) can break it in order to perform PDF conversions (without knowing the password), so other packages may be able to do so as well.
E. Liddell