coherentgraphics / cpdf-binaries

PDF Command Line Tools binaries for Linux, Mac, Windows
Other
581 stars 42 forks source link

OS X 12.4 (Monterey) claims that this is malware #66

Closed shearerp closed 1 year ago

shearerp commented 1 year ago

Tried to use the ARM version to merge two PDFs and got this message:

image

It's probably a false positive but I hope there's a way to run this that doesn't have my Mac screaming that it's malware.

johnwhitington commented 1 year ago

Thanks for reporting.

Cpdf is codesigned but not notarized. I will have to take another look at notarization.

You can go to Settings —> security to allow the executable.

The message does seem rather apocalyptic. Is this standard Macos, or do you have some third-party virus scanner installed? “Will damage” rather than “may damage” doesn’t really sound like Apple’s style!

shearerp commented 1 year ago

No third party stuff to my knowledge. Pretty sure it is a Mac OS warning. Lots of other reports if you google the message, including other false positives.

I was a little shocked too, but over the years there's been a slow creep of more aggressive warnings and restrictions on "unofficial" apps.

johnwhitington commented 1 year ago

Ok, I think I know how to fix this. I will update this bug tomorrow.

johnwhitington commented 1 year ago

Does System preferences —> Security & Privacy —> General —> Open Anyway work?

As a workaround, I mean.

shearerp commented 1 year ago

I know what you're talking about but it doesn't appear in this version of OS X. After attempting to run cpdf at the command line and opening System Preferences, this is all I see:

image
johnwhitington commented 1 year ago

One last possible workaround: have you tried downloading and running the Intel version under rosetta?

shearerp commented 1 year ago

I was looking into this utility to help a friend but she ended up using something else. So, no need for workarounds for now. Getting pulled AFK, thanks for looking into it!

On Fri, Jul 15, 2022, 5:11 PM John Whitington @.***> wrote:

One last possible workaround: have you tried downloading and running the Intel version under rosetta?

— Reply to this email directly, view it on GitHub https://github.com/coherentgraphics/cpdf-binaries/issues/66#issuecomment-1186014647, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWGSUCHJIQH4LOBTI2FGXLTVUHV2BANCNFSM53W7CZJA . You are receiving this because you authored the thread.Message ID: @.***>

johnwhitington commented 1 year ago

Ok, fixed. You can re-download the ZIP to get the new binaries.

(The fix was to re-codesign them. Not sure why.)

shearerp commented 1 year ago

That did it! I can now do the "open anyway" trick. Thanks!

johnwhitington commented 1 year ago

That's a relief. Thanks for the report.