Created attachment 10758 [details] Locked PDF PDF has owner password to make changes to PDF and MuPDF does not accept the correct owner password to unlock and grant permissions. Attached PDF exhibits the problem. It does not have a user password and the owner password is test
Created attachment 10891 [details] tiger_user_owner.pdf Attached another test file tiger_user_owner.pdf that has separate non-blank user and owner passwords: 'user' and 'owner'.
Created attachment 10892 [details] same file with user password added user password 'sesame'
Fixed in commit 5509a4ef7520bf0b5280ce7d6af8eb15b1b8b0f1 Author: Tor Andersson <tor.andersson@artifex.com> Date: Thu May 15 12:13:19 2014 +0200 Fix 695101 and 694114: Use the correct numbers to validate the encryption key length. This reverts commit b1ed116091b790223a976eca2381da2875341e10. The key length for V==2 must be 40 <= length <= 128. The key length for V==4 is not taken from the /Length entry.