jorisschellekens / borb

borb is a library for reading, creating and manipulating PDF files in python.
https://borbpdf.com/
Other
3.4k stars 147 forks source link

Set Password For PDF generated #190

Closed mfikrin closed 10 months ago

mfikrin commented 10 months ago

I want to create a pdf and provide a password to the pdf (user password and owner password). Currently, I have succeeded in using a combination with other libraries but I think it takes a very long time if the PDF is large because it has to be dumped first and the other library should read the pdf and encrypted using these other libraries. Currently, is Borb able to set a password for the generated PDF? Thank You

jorisschellekens commented 10 months ago

I recently added the capability to read a password-protected PDF, however writing a password-protected PDF is currently unsupported.

mfikrin commented 10 months ago

okay, thank you for the answer and confirmation