feat: add PDF password removal - #210
Merged
mithun-srinivas merged 1 commit intoSep 2, 2026
Merged
Conversation
|
@Pawankumar3210 is attempting to deploy a commit to the Mithun Srinivas' projects Team on Vercel. A member of the Team first needs to authorize it. |
Owner
|
Perfect companion to Protect PDF @Pawankumar3210, thanks. Reusing the same local qpdf engine, decrypting only with the password the user provides, and being upfront that it does not crack or bypass anything is exactly right. The clear error on a wrong password and the zero-external-network E2E check make this a clean one. Merging now, every check is green. Small follow-up on our side: I'll add a proper unlock icon so it does not fall back to the generic document glyph. Thanks for closing out the security pair! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Which issue does this close?
Closes #84
What changed
Added a new Unlock PDF operation at
src/operations/unlock-pdf/.The tool lets users select a password-protected PDF, enter the known password, and download an unprotected copy. It uses the same locally bundled
qpdfWebAssembly engine introduced for Protect PDF and runs entirely in the browser.The implementation follows DoxDock's plugin pattern and reuses the shared Dropzone, Progress, Note, DownloadButton, and useJob components.
Acceptance criteria
Checklist
npm test— 40/40 tests passed.npm run build— passed.Proof
Manual browser testing with a real password-protected PDF confirmed:
The UI also clearly states that the tool only removes protection when the user already knows the password and does not crack or bypass passwords.