[
https://issues.apache.org/jira/browse/PDFBOX-4421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17209649#comment-17209649
]
Tilman Hausherr commented on PDFBOX-4421:
-----------------------------------------
missed commits by svn2jira:
Commit 1881794 from Tilman Hausherr in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1881794 ]
PDFBOX-4421: fix bugs to support and enable AES 128 encryption, as suggested by
Christian Appl:
- get actual key length from default crypt filter dict (PDFBox was using
default 40)
- use SHA1 digest for V 4
Commit 1881796 from Tilman Hausherr in branch 'pdfbox/branches/2.0'
[ https://svn.apache.org/r1881796 ]
PDFBOX-4421: fix bugs to support and enable AES 128 encryption, as suggested by
Christian Appl:
- get actual key length from default crypt filter dict (PDFBox was using
default 40)
- use SHA1 digest for V 4
> Add support for AES128 encryption for public key
> ------------------------------------------------
>
> Key: PDFBOX-4421
> URL: https://issues.apache.org/jira/browse/PDFBOX-4421
> Project: PDFBox
> Issue Type: Bug
> Components: Crypto
> Affects Versions: 2.0.13
> Reporter: Tilman Hausherr
> Assignee: Tilman Hausherr
> Priority: Major
> Labels: AES128
> Fix For: 2.0.22, 3.0.0 PDFBox
>
> Attachments: AESkeylength128.pdf, AESkeylength256.pdf,
> B2-AES-256-secured.pdf, B2-Adobe-128-aes-sec.pdf,
> PDFBOX-4421_Add_support_for_AES128_encryption_for_public_key_(AES128,_256_-_filter_based_k.patch,
> PDFBOX-4421_Add_support_for_AES128_encryption_for_public_key_(DRAFT).patch,
> image-2020-09-16-10-32-11-060.png, image-2020-09-16-10-33-55-201.png,
> image-2020-09-16-11-55-33-275.png, keystore.pfx, screenshot-1.png
>
>
> Follow-up of PDFBOX-4413. AES256 works for public key crypto, but AES128
> doesn't when the file is generated by an external software. (local tests
> work) We should at least get the decryption to work.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]