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

bug: drawings (and others?) located outside of page not redacted #121

Closed
opened 2026年03月07日 21:48:22 +01:00 by mahlzahn · 0 comments

Description

These drawings (check also text, etc.) aren't shown, but they might still contain sensitive data. It was discovered using pypdf's test sample: https://github.com/py-pdf/sample-files/tree/main/009-pdflatex-geotopo

Implementation

  • try using quasi infinite redaction rectangles around page, and then use PyMuPDF's redaction capabilities?
  • manually remove drawings using loop over operations in page contents, like in !114, may use pypdf for that
## Description These drawings (check also text, etc.) aren't shown, but they might still contain sensitive data. It was discovered using pypdf's test sample: https://github.com/py-pdf/sample-files/tree/main/009-pdflatex-geotopo ## Implementation - try using quasi infinite redaction rectangles around page, and then use PyMuPDF's redaction capabilities? - manually remove drawings using loop over operations in page contents, like in !114, may use pypdf for that
mahlzahn added this to the v0.5.0 milestone 2026年03月11日 15:58:48 +01:00
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#121
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?