stapler icon indicating copy to clipboard operation
stapler copied to clipboard

Unencrypted password restricted pdf file asks for password

Open jrvarma opened this issue 4 years ago • 2 comments

stapler asks for a password while processing an unencrypted pdf file which uses a password to restrict permissions. This is only an annoyance because I can simply press enter and stapler then processes the file flawlessly. In similar situations, pdftk does not ask for password, but prints the following warning before processing the file:

WARNING: The creator of the input PDF: ... has set an owner password (which is not required to handle this PDF). You did not supply this password. Please respect any copyright.

jrvarma avatar Nov 22 '19 06:11 jrvarma

Can you provide such a file? I can try to implement it without a test case, but it would make things a lot easier if I can test it myself :)

hellerbarde avatar Feb 19 '20 00:02 hellerbarde

test-stamped.pdf

jrvarma avatar Feb 19 '20 08:02 jrvarma