Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-2471

AES encryption failing to write Acroform field names and values

    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

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                shendrix1980 Stephen Hendrix
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: