-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Markdown was also linted
- Loading branch information
Showing
3 changed files
with
26 additions
and
4 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"default": true, | ||
|
||
// Hard tabs | ||
"MD010": { "spaces_per_tab": 4 }, | ||
|
||
// Line length | ||
"MD013": false, | ||
|
||
// Multiple top-level headings in the same document | ||
"MD025": { "front_matter_title": "" }, | ||
|
||
// Inline HTML | ||
"MD033": { "allowed_elements": ["a"] } | ||
} |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,19 @@ | ||
--- | ||
title: Decrypt PDFs | ||
--- | ||
|
||
# Decrypt PDFs before consumption | ||
|
||
Encrypted PDFs are one way to rain on your parade with paperless-ngx - even if you know the password. You get no thumbnail, no OCR, you are constantly nagged for the password when you want to view the file. So let's get rid of the encryption! | ||
Encrypted PDFs are one way to rain on your parade with paperless-ngx - even if you know the password.You get no thumbnail, no OCR, you are constantly nagged for the password when you want to view the file. So let's get rid of the encryption! | ||
|
||
## Setup | ||
|
||
_decrypt-pdf_ consists of | ||
|
||
1. the script itself | ||
2. the password files (insecure.pwd.txt and personal.pwd.txt) | ||
* **personal.pwd.txt** is slated for your personal passwords, it's also added to the local _.gitignore_ file | ||
* **insecure.pwd.txt** contains some of the most prolific passwords I could find | ||
* you can create other files in the same manner to try passwords from dumps, "most common password in XXX" lists etc. | ||
|
||
Keep all of these in the same folder and install the script either as your one pre-consumption script or call it via other means, e.g. the [example pre-consumption consolidated wrapper script](./README.md#pre-consumption-wrapper). | ||
|