Page 1 of 1

PDF Security - Password Encrypted

PostPosted: Wed Oct 04, 2023 9:52 am
by aljjspam
Since I updated to MacOS Sonoma, all my rules that depended on Password Encrypted stopped working.
I don't know if this affecting only me or it's a bug with Hazel or Sonoma.

Re: PDF Security - Password Encrypted

PostPosted: Thu Oct 05, 2023 9:19 am
by Mr_Noodle
Hazel was never able to automatically handle password protected PDFs. How was it working before?

Re: PDF Security - Password Encrypted

PostPosted: Thu Oct 05, 2023 12:09 pm
by aljjspam
Mr_Noodle wrote:Hazel was never able to automatically handle password protected PDFs. How was it working before?


The rule was to check if the file was Password Encrypted, then move the file.
You could try, create a PDF Encrypted on Preview and save. It's no indexing the file Security tag.

Re: PDF Security - Password Encrypted

PostPosted: Fri Oct 06, 2023 9:34 am
by Mr_Noodle
That would be a Spotlight issue. I would contact Apple and file a bug with them if they are no longer indexing it.

Re: PDF Security - Password Encrypted

PostPosted: Sat Dec 23, 2023 7:04 am
by Anjadekar
I've run into this same exact issue after upgrading to macOS Sonoma. I came here hoping to be able to describe it coherently and this thread nails it. Hope the Password Encrypted attribute is back in a future macOS update.

Re: PDF Security - Password Encrypted

PostPosted: Thu Apr 11, 2024 10:44 am
by aljjspam
Anjadekar wrote:I've run into this same exact issue after upgrading to macOS Sonoma. I came here hoping to be able to describe it coherently and this thread nails it. Hope the Password Encrypted attribute is back in a future macOS update.


If you have QPDF (you can install using Homebrew) you can use this script as a condition

Code: Select all
qpdf --is-encrypted "$1"
if [[ $? = 0 ]]; then
exit 0
else
exit 1
fi

Re: PDF Security - Password Encrypted

PostPosted: Thu Apr 11, 2024 11:02 am
by aljjspam
Mr_Noodle wrote:That would be a Spotlight issue. I would contact Apple and file a bug with them if they are no longer indexing it.


Follow up. The issue is still present.
I submitted the bug on 09/23/2023. I got no answer

Feedback Number: FB13214989