adur1990 / Pass-for-macOS

macOS wrapper for pass, the standard UNIX password manager
BSD 3-Clause "New" or "Revised" License
112 stars 8 forks source link

Fails to launch #47

Closed johnmorenoGL closed 3 years ago

johnmorenoGL commented 3 years ago

Hi.

I've been using Pass for macOS for a while successfully, but starting a few weeks ago, it cannot be opened. i get the following message when I try to launch:

“Pass for macOS” can’t be opened because Apple cannot check it for malicious software.

This software needs to be updated. Contact the developer for more information.

Homebrew Cask downloaded this file on February 19 2021 from github.com.

I tried reinstalling through Homebrew, but the result is the same.

Any thoughts on how could this issue be solved?

adur1990 commented 3 years ago

Hello, I suspect that the problem is related to app notarization. Since Pass for macOS uses functionality that Apple doesn't like (especially the lack of a hardened runtime) I can't notarize the app. Therefore, the first time you launch the app, you need to do the following:

Also have a look at the corresponding part of the readme

johnmorenoGL commented 3 years ago

I understand what you're saying (because for every other application I install through homebrew, I get a dialog asking to authorize it).

But in this case, I only get a dialog saying that the application can't be opened, with no alternatives whatsoever.

adur1990 commented 3 years ago

Okay, that is strange. Can you provide more information? What macOS version do you use? Intel or Apple Silicon? Pass for macOS version?

johnmorenoGL commented 3 years ago

Hi.

The OS is:

macOS Catalina 10.15.7 (19H114) MacBook Pro (16-inch, 2019) 2.6 GHz 6-Core Intel Core i7

Pass for macOS version:

$ brew info passformacos
passformacos: v0.11.2
...
adur1990 commented 3 years ago

Sorry, but I can not reproduce. I had the opportunity to test the recent version on Catalina, where it worked fine. Could you use the Console.app and send me a console dump filtered by de.artursterz.passformacos? Maybe I can find something there.

adur1990 commented 3 years ago

Hi,

I update Pass for macOS today. Could you try to remove Pass for macOS completely from your system and reinstall the most recent version (0.11.3)? Does it work now?

johnmorenoGL commented 3 years ago

Hi.

I uninstalled the old version. Then installed again. Brew shows it's the new version

$ brew info passformacos
passformacos: v0.11.3
https://github.com/adur1990/Pass-for-macOS
/usr/local/Caskroom/passformacos/v0.11.3 (128B)
From: https://github.com/adur1990/homebrew-tap/blob/HEAD/Casks/passformacos.rb
==> Name
Pass for macOS
==> Description
None
==> Artifacts
Pass for macOS.app (App)

But behavior is the same. I get a dialog box with the following

“Pass for macOS” can’t be opened because Apple cannot check it for malicious software. This software needs to be updated. Contact the developer for more information.

Homebrew Cask downloaded this file today at 2:01 PM from github.com.

And there's not option to manually whitelist the application.

adur1990 commented 3 years ago

I really don't know what is going on. Please try it again following this tutorial

adur1990 commented 3 years ago

Any success?

johnmorenoGL commented 3 years ago

Hi.

Sorry for the late reply. The suggested link actually did the trick!

Now I have the issue of the browser extension not working properly ---but I guess that's a topic for another day.

Thanks a lot for the help... and the app!!

-- John.

adur1990 commented 3 years ago

I'm glad it is working now. What is the problem with the browser extension?

adur1990 commented 3 years ago

I am closing this issue due to inactivity. Feel free to open it again.

johnmorenoGL commented 3 years ago

Hi.

Yes. The issue with Pass-for-MacOS is solved. The other issue I had is not directly related.

Thank you for the help!

SeniorMars commented 2 years ago

I had a similar issue: the browser extension works, but the status bar app nor ctrl-shift=p work. Any tips? I have reinstalled many times.