« 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
RobertBoara on Wednesday, May 15, 2024 at 16:58
In Etsy, Amazon, eBay, Shopify https://pint77.com Pinterest+SEO +II = high sales results
Josephnal on Wednesday, May 15, 2024 at 19:50
Поможем получить <a href=https://libertyfintravel.ru/armenia><b>гражданство Армении</b></a> "под ключ".
Договор, гарантии. Консультация бесплатная!
Свяжитесь с нами в telegram: <a href=https://t.me/LibFinTravel><b>@migrapractice</b></a>
RobertGunse on Wednesday, May 15, 2024 at 20:06
Hi, kam dashur të di çmimin tuaj
FobertArbip on Thursday, May 16, 2024 at 13:24
Доставка цветов и букетов <a href=https://fc99.ru/>Интернет-магазин цветов</a>
DanaTwime on Thursday, May 16, 2024 at 17:44
Slightly off topic :)
It so happened that my sister found an interesting man here, and recently got married ^_^
(Moderator, don't troll!!!)
Is there are handsome people here! ;) I'm Maria, 27 years old.
I work as a model, successfull - I hope you do too! Although, if you are very good in bed, then you are out of the queue!)))
By the way, there was no sex for a long time, it is very difficult to find a decent one...
And no! I am not a prostitute! I prefer harmonious, warm and reliable relationships. I cook deliciously and not only ;) I have a degree in marketing.
My photo:
<img src="https://i.ibb.co/zhMSQpj/5489819-2-3.jpg">
___
<i>Added</i>
The photo is broken, sorry(((
Check out my blog where you'll find lots of hot information about me:
https://af-credit.ru
Or write to me in telegram @Lolla_sm1_best ( start chat with your photo!!!)
RobertBoara on Thursday, May 16, 2024 at 20:48
In Etsy, Amazon, eBay, Shopify https://pint77.com Pinterest+SEO +II = high sales results
DmhskcBof on Friday, May 17, 2024 at 09:15
I have been excited to putting down some stakes on different sports matches going on at the moment. I thought it would be best to tell everyone that I have discovered what I think to be the most trustworthy website across America. If you happen to be interested in joining the excitement, don't forget to take a look at the site: <a href=https://purecasinos.org/new/>Shop now</a>
KINCAIDE3 on Sunday, January 3, 2021 at 23:02
Thank you!!1