[ 
https://issues.apache.org/jira/browse/PDFBOX-2456?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tilman Hausherr updated PDFBOX-2456:
------------------------------------
    Attachment: PasswordSample-256bit.pdf

I'm expanding the test to process three files prepared by [~msahyoun], to check 
that permissions are treated correctly. In the attached file 
PasswordSample-256bit.pdf, there was a padding error in Object 38 (an XRef 
stream) with the old parser. This is another Adobe documentation problem, in 
the encryption segment it isn't mentioned, but in the File Structure segment, 
one can read this: "The cross-reference stream shall not be encrypted". Thus 
we'll skip that one.

> create TestSymmetricKeyEncryption.java
> --------------------------------------
>
>                 Key: PDFBOX-2456
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2456
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: Utilities
>    Affects Versions: 1.8.7, 1.8.8, 2.0.0
>         Environment: java7 debian7
>            Reporter: Ralf Hauser
>              Labels: AES256
>             Fix For: 1.8.8, 2.0.0
>
>         Attachments: AES256.diff, PasswordSample-256bit.pdf, 
> TestSymmetricKeyEncryption.java, enc128bit_20141025_115145.pdf, 
> enc256bit_20141025_105451.pdf, preEnc_20141025_105451.pdf, 
> preEnc_20141025_115145.pdf
>
>
> similarly to org.apache.pdfbox.encryption.TestPublicKeyEncryption, also test 
> password based encryption 
> 1) 128bit
> 2) 256bit AES PDFBOX-1594



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to