Details
Description
When writing a PDF using AES 256 bit encryption, the field names / values from the Acroform are not being persisted correctly. If I encrypt using RC4 128 bit, they are persisted correctly. I am using snapshot pdfbox:2.0.0-20141023.180319-636.
I dug into this, and it looks to me the problem is with COSWriter.visitFromString, which invokes SecurityHandler.decryptString (there is no SecurityHandler.encryptString).
Attachments
Attachments
Issue Links
- relates to
-
PDFBOX-2469 javax.crypto.BadPaddingException in PDFBox 1.8.8-SNAPSHOT
- Closed