« Disabling kdump to reclaim missing RAM on CentOS 8 | Windows fails to format USB drive that previously contained an ISO image » |
Encrypting and decrypting PDFs using QPDF
Saturday, March 14, 2020
If you have a password-protected PDF and want to generate a decrypted version, it’s very simple with QPDF:
$ qpdf --password=123 --decrypt input.pdf output.pdf
To avoid entering the password on the command line (perhaps you don’t want it saved in your shell history):
$ qpdf @- --decrypt input.pdf output.pdf
Then enter --password=123
and hit enter and ^D
.
To encrypt a PDF, do this:
$ qpdf --encrypt userPw ownerPw 256 -- input.pdf output.pdf
Similarly, to avoid including the passwords in the command, do this:
$ qpdf --encrypt @- @- 256 -- input.pdf output.pdf
And then type the user password, hit enter, the owner password, enter, and ^D
.
Comments
EvelynChact on Thursday, July 25, 2024 at 23:20
<a href=https://app.getgrass.io/register/?referralCode=ftQcOU_kA-dCl9V>You are sleeping - your PC is collecting crypto. The Grasse Network uses 1% of your PC to collect artificial intelligence data from the Internet. Join for free. You can now connect your Solana wallet to Grass</a>
Moneenopy on Friday, July 26, 2024 at 18:07
<a href=https://pinco-casino-wv1.top/>pinco зеркало</a> - описание новой модели, оснащенной инновационными технологиями и современным дизайном для вашего уюта и комфорта.
RobertBoara on Friday, July 26, 2024 at 19:14
<a href=https://pint77.com> Pinterest advertising for the USA and English-speaking countries. Etsy, amazon, shopify, ebay</a>
Butbleabemam on Saturday, July 27, 2024 at 03:54
Смотрите новые видео с самыми горячими сценами и свежими материалами каждый день, только у нас! Мы обновляем контент ежедневно, чтобы вы всегда могли насладиться новыми и увлекательными видео. Смотрите <a href=https://www.oct.by/software/silverback/>порно с аматорскими актёрами</a> и делитесь с друзьями!
KINCAIDE3 on Sunday, January 3, 2021 at 23:02
Thank you!!1