[
https://issues.apache.org/jira/browse/PDFBOX-5934?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tilman Hausherr updated PDFBOX-5934:
------------------------------------
Description:
The below command in PDFBox v 3.0.3 is password encrypting the PDF, but the
output is blank.
{noformat}
encrypt -O=19600101 -U=19600101 -keyLength=128 -i=c:\temp\file.pdf
{noformat}
In PDFBox V 2.0.32, the below command worked perfectly:
{noformat}
Encrypt -O 19600101 -U 19600101 -keyLength 128 c:\temp\file.pdf
{noformat}
was:
Hello PDFBox
I am encountering an issue when encrypting a PDF via command mode.
The below command in PDFBox v 3.0.3 is password encrypting the PDF, but the
output is blank.
encrypt -O=19600101 -U=19600101 -keyLength=128 -i=c:\temp\file.pdf
In PDFBox V 2.0.32, the below command worked perfectly:
Encrypt -O 19600101 -U 19600101 -keyLength 128 c:\temp\file.pdf
Do you have any suggestions
Many thanks
Andy
> Command Line PDF Encryption generating a blank PDF
> --------------------------------------------------
>
> Key: PDFBOX-5934
> URL: https://issues.apache.org/jira/browse/PDFBOX-5934
> Project: PDFBox
> Issue Type: Bug
> Components: Crypto, Utilities
> Affects Versions: 3.0.3 PDFBox
> Reporter: Andy Brisbane
> Priority: Blocker
>
> The below command in PDFBox v 3.0.3 is password encrypting the PDF, but the
> output is blank.
>
> {noformat}
> encrypt -O=19600101 -U=19600101 -keyLength=128 -i=c:\temp\file.pdf
> {noformat}
>
> In PDFBox V 2.0.32, the below command worked perfectly:
>
> {noformat}
> Encrypt -O 19600101 -U 19600101 -keyLength 128 c:\temp\file.pdf
> {noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]