pdfbox-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tilman Hausherr (Jira)" <j...@apache.org>
Subject [jira] [Commented] (PDFBOX-4660) Can't decrypt PDF when password contains special national characters
Date Thu, 26 Sep 2019 18:44:00 GMT

    [ https://issues.apache.org/jira/browse/PDFBOX-4660?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16938871#comment-16938871

Tilman Hausherr commented on PDFBOX-4660:

Oh, I can reproduce this with the command line utility :(

In the TestSymmetricKeyEncryption.java files, I can open them with the user password when
replacing the first two characters with "??". (I replaced the first three characters of the
test passwords with your passwords)

Anyway, that'll be an interesting riddle for the next few days...

> Can't decrypt PDF when password contains special national characters
> --------------------------------------------------------------------
>                 Key: PDFBOX-4660
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4660
>             Project: PDFBox
>          Issue Type: Bug
>    Affects Versions: 2.0.17
>            Reporter: Fastcore Tux
>            Priority: Major
> I tried to encrypt PDF by user password which contains national characters. Encryption
was successful but I can't open it and decrypt it in any PDF browser.
> Due to Cookbook example (https://pdfbox.apache.org/2.0/cookbook/encryption.html) it could
be tested by changing StandardProtectionPolicy instantiation.
> {code:java}
> StandardProtectionPolicy spp = new StandardProtectionPolicy("ěšč", "řžý", ap);
> {code}
> Maybe my usage is wrong... In this case please accept my apology.
> Thank you!

This message was sent by Atlassian Jira

To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org

View raw message