[
https://issues.apache.org/jira/browse/PDFBOX-4421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17197129#comment-17197129
]
Tilman Hausherr edited comment on PDFBOX-4421 at 9/17/20, 3:44 AM:
-------------------------------------------------------------------
Encryption and decryption is there but IIRC length 128 doesn't work with
external software.
[Code|https://kb.itextpdf.com/home/it7kb/examples/certificate-encryption] that
I used to create an encrypted PDF to try decryption (at that time, I used itext
7.1.3 + bc 1.60). I don't have enough time right now, sadly. Maybe in a few
days. Yes this is something you could try. I tried at that time and wasn't
successful. The file I created at that time does have /V 4. But it's really the
decryption that matters most. There is no real need to encrypt with 128, one
should choose 256 (which works).
was (Author: tilman):
Encryption and decryption is there but IIRC length 128 doesn't work with
external software.
[Code|https://kb.itextpdf.com/home/it7kb/examples/certificate-encryption] that
I used to create an encrypted PDF to try decryption. I don't have enough time
right now, sadly. Maybe in a few days. Yes this is something you could try. I
tried at that time and wasn't successful. The file I created at that time does
have /V 4. But it's really the decryption that matters most. There is no real
need to encrypt with 128, one should choose 256 (which works).
> 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
> Priority: Major
> Labels: AES128
> Attachments: 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
>
>
> 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]