[ https://issues.apache.org/jira/browse/PDFBOX-4421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17198723#comment-17198723 ]
Tilman Hausherr edited comment on PDFBOX-4421 at 9/19/20, 12:59 PM: -------------------------------------------------------------------- I wanted to add small files created with itext but after reading their license, I realize I can't, even if I'd publish the source code, because it may not be used in a "non AGPL environment". [~capSVD] when back, could you please create two very small files with the software you used, only with one page, and the text "Key length: 128" and "Key length: 256". Your two files are too large because I'd like to include them in the source distribution as part of a test. was (Author: tilman): I wanted to add small files created with itext but after reading their license, I realize I can't, even if I'd publish the source code, because it may not be used in a "non AGPL environment". [~capSVD] when back, could you please create two very small files with the software you used, only with one page, and the text "Key length: 128" and "Key length: 256". Your two files are too large because I'd like to include them in the source distribution. > 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: 3.0.0 PDFBox, 2.0.22 > > Attachments: 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: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org