Closed mglatz closed 2 months ago
It is trying 2 passwords, does it look like the one you want it to use is among these? Can you share such a pdf for me to play with? It is possible the the pdf library is not able to decrypt it due to other reasons.
Yep, the passwords look ok. I've been able to unlock all the files with https://tools.pdf24.org/en/unlock-pdf. Ill share the file with you, but give me an email please, dont want to post it here :) thanks.
You can send me a file to info at docspell.org or use the (private) matrix chat @eikek:matrix.org
Hi @mglatz thanks for sending the file. I couldn't reproduce the issue on my dev setup, though :/. What version of docspell are you using? Where did you put the passwords - in the config file or in the collective setting?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. This only applies to 'question' issues. Always feel free to reopen or create new issues. Thank you!
First of all, thank you for this great peace of SW!
Running docspell latest in docker I can't process (unlock) any password protected PDFs. I do have at least two different PDFs from different organizations, both using different passwords. I am able to open and unlock both of them using web browser as password viewer, but docspell fails to unlock them. Both passwords are stored in config file under decrypt-pdf and decrypt-pdf is enabled. The log shows
I am sure that one of the passwords is valid for the file being processed I also tried adding the passwords under collective settings in UI but that does not help either. A note: The files were uploaded before passwords were entered, then I added passwords, restarted docspell stack and tried to reprocess the files. The log above is output from the reprocessing.