BePDF requires (unjustified) a password

just came across this old thread because of a slightly/maybe related bug where BePDF asks for a password when the file cannot be opened (e.g. not found).
Maybe the file is not yet completely written to the cash and does not exist in the filesystem, as @Starcrasher suggested.
Can you please attach the file if you are still there @Polli ?

That is cause by how pdf format works, if you update a pdf file new data blocks are added and a new TOC is written at the end of the file. probably your interupzted copy tried to open an earlier version (which was PW protected) with the last copied TOC

There was really a related bug in BePDF which I fixed yesterday and which has been merged in the meantime, see issue #118 on GitHub.

An old hack to work around xpdf3 always reporting no encryption led to BePDF always prompting for a password if there was any problem opening the file.

I removed the hack since we’ve long moved on to xpdf4 in the meantime, and improved handing of file loading issues.

5 Likes