Using FOP 0.95, java 1.6. I am using "useragent.getRendererOptions().put("encryption-params", new PDFEncryptionParams(null, "password", false, false, true, true));" This does not open in Adobe Reader (windows) prior to version 6. Version 6 and above works, before version 6, comes up with Incorrect password message when you type in the password.
Hi Sorry for the awfully late reply... Can you try this with FOP Trunk? I know an issue existed in FOP 0.95 and earlier where the encrypted PDF's document trailer contained a duplicate entry. Some older Acrobat versions and other PDF viewers used the wrong, non-encrypted entry, which lead to this error. Should be fixed in FOP Trunk for quite some time now. Regards Andreas
This bug is not happening in FOP Trunk. I have tested the encrypted pdf document with Adobe Reader 5.1, which is working fine after given the password. Please cross check this bug with FOP Trunk.
This bug is fixed in FOP Trunck, not happening any more... Please try to reopen, if you feel that bug is still there in FOP Trunk.
batch transition pre-FOP1.0 resolved+fixed bugs to closed+fixed