You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2014/11/17 08:50:34 UTC
[jira] [Resolved] (PDFBOX-2471) AES encryption failing to write
Acroform field names and values
[ https://issues.apache.org/jira/browse/PDFBOX-2471?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tilman Hausherr resolved PDFBOX-2471.
-------------------------------------
Resolution: Fixed
I see I forgot to set this one to resolved. Thanks [~shendrix1980]!
> AES encryption failing to write Acroform field names and values
> ---------------------------------------------------------------
>
> Key: PDFBOX-2471
> URL: https://issues.apache.org/jira/browse/PDFBOX-2471
> Project: PDFBox
> Issue Type: Bug
> Components: AcroForm, Writing
> Affects Versions: 1.8.7, 1.8.8, 2.0.0
> Reporter: Stephen Hendrix
> Labels: AES256, AcroForm
> Fix For: 1.8.8, 2.0.0
>
> Attachments: PDFBOX-2471_Fix__AES_256_bit_encryption_of_COSString.diff
>
>
> 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).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)