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

advanced encryption #91

Open
erfantkerfan opened this issue Nov 5, 2020 · 2 comments
Open

advanced encryption #91

erfantkerfan opened this issue Nov 5, 2020 · 2 comments

Comments

@erfantkerfan
Copy link

in some files I need to encrypt pdf file with 2 properties:

  1. opening the pdf file does not require a password at all
  2. making any changes (and if possible printing) would require the owner_pwd

I tried reading the source code but it seemed that this logic wont work with such code:

output_file = PdfFileWriter()
output_file.encrypt(user_pwd="", owner_pwd="password")
@pubpub-zz
Copy link

Hi you should have a look at this issue #88

@erfantkerfan
Copy link
Author

yeah I checked that out
but
is it fixed on pip yet?

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

2 participants