lopdf icon indicating copy to clipboard operation
lopdf copied to clipboard

Add remove password protection?

Open luizfzs opened this issue 5 years ago • 3 comments

I had a quick look but couldn't find anything related to password protection. Does the library support it?

luizfzs avatar Apr 09 '19 14:04 luizfzs

Not yet.

J-F-Liu avatar Apr 12 '19 02:04 J-F-Liu

@J-F-Liu I am thinking of adding support for decrypting PDF files into lopdf.

Encryption seems tightly regulated where you are, will it be possible for you to merge such code in the main lopdf crate ? Otherwise, I can write a separate crate that can be made optional.

What is the best way to proceed ?

jothan avatar Aug 20 '19 15:08 jothan

Merge requests are welcome, other users also request this feature.

J-F-Liu avatar Aug 22 '19 09:08 J-F-Liu

Are there any updates on this? Or any crates that can modify the permissions of pdfs? the pdf crate only deals with passwords on read-locked documents. I'm looking for crate that can remove write-locks on pdfs

seanaye avatar Feb 22 '23 19:02 seanaye

This is at least partially resolved by #228

jwhear avatar Apr 27 '23 17:04 jwhear

Thanks

J-F-Liu avatar Apr 28 '23 02:04 J-F-Liu