[
https://issues.apache.org/jira/browse/PDFBOX-4660?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16939206#comment-16939206
]
Michael Klink commented on PDFBOX-4660:
---------------------------------------
In the course of PDFBOX-4155 SASLprep was introduced for V6 decryption. Has it
also been introduced for encryption?
> 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
> Components: Crypto
> 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
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]