I occasionally receive financial statements as password-protected PDF files. I appreciate the security, but would prefer to archive the files without the password requirement as I’m never going to remember the password when I do need to open them again.
brew install qpdf
Then, simply run the below in Terminal:
qpdf --decrypt --password=your_password encrypted_filename.pdf decrypted_filename.pdf