Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

encryption doesn't work on some pdf files #60

Open
terceiro opened this issue May 19, 2019 · 0 comments
Open

encryption doesn't work on some pdf files #60

terceiro opened this issue May 19, 2019 · 0 comments

Comments

@terceiro
Copy link

a simple pdf encryption doesn't work on origami 2.1.0, e.g.:

pdfencrypt --output /tmp/enc.pdf --password test plain.pdf

then opening the resulting pdf with a pdf viewer, I cannot decrypt by using "test" as password. the sample pdf is attached, and was produced with a simple echo hello | pandoc -o plain.pdf. However, I tried with a PDF file generated from LibreOffice, and it worked.

This did work in 2.0.0. I bisected this locally, and found the commit that breaks this is dde7ab1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant