censor/Censor
1
37
Fork
You've already forked Censor
3

feat: support reading of encrypted documents #138

Open
opened 2026年03月12日 22:02:46 +01:00 by mahlzahn · 0 comments

Description

PDF documents may be protected by a password to grant read permission. Censor should at least be able to read a password protected file, maybe also write password-protected.

Implementation

The used PyMuPDF library already supports reading/writing encrypted PDF files. Thus, it "only" requires to implement the dialog asking for the password.

Optional additions

  • maybe support optional saving of the password for later use in Desktop's key store (seahorse?)
  • maybe ask when saving a file that was encrypted if the redacted document should be encrypted, too
  • allow to write any file with password protection
## Description PDF documents may be protected by a password to grant read permission. Censor should at least be able to read a password protected file, maybe also write password-protected. ## Implementation The used PyMuPDF library already supports reading/writing encrypted PDF files. Thus, it "only" requires to implement the dialog asking for the password. ### Optional additions - [ ] maybe support optional saving of the password for later use in Desktop's key store (seahorse?) - [ ] maybe ask when saving a file that was encrypted if the redacted document should be encrypted, too - [ ] allow to write any file with password protection
Sign in to join this conversation.
No Branch/Tag specified
main
v0.7.3
v0.7.2
v0.7.1
v0.7.0
v0.6.0
v0.5.0
v0.4.0
v0.3.0
v0.2.0
v0.1.0
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
censor/Censor#138
Reference in a new issue
censor/Censor
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?