Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Agent not restarting when updating #169

Closed
jerryzj opened this issue Nov 12, 2020 · 8 comments · Fixed by #173
Closed

Agent not restarting when updating #169

jerryzj opened this issue Nov 12, 2020 · 8 comments · Fixed by #173
Labels
bug Something isn't working

Comments

@jerryzj
Copy link

jerryzj commented Nov 12, 2020

Hi,

I just installed the pre-lease version 2.0.
My OS is macOS Big Sur 11.0.1 RC2(20B28)

After I set the SSH_SOCKET and install the SecretAgent, (the SecretAgent is shown in Activity Monitor) I still see the "Secret Agent is not Running" notification in Secretive App, and the GitHub ssh test still not getting the ssh key in Secure Enclave.

@jerryzj
Copy link
Author

jerryzj commented Nov 12, 2020

The setup instruction for fish is wrong.

The provided instruction is

set -x SSH_AUTH_SOCK=/Users/$USER/Library/Containers/com.maxgoedjen.Secretive.SecretAgent/Data/socket.ssh

But the right instruction should be

set -x SSH_AUTH_SOCK /Users/$USER/Library/Containers/com.maxgoedjen.Secretive.SecretAgent/Data/socket.ssh

NO "=" between variable name and real path.

@maxgoedjen maxgoedjen added the bug Something isn't working label Nov 13, 2020
@maxgoedjen maxgoedjen changed the title Not working on macOS Big Sur Agent not restarting when updating Nov 13, 2020
@maxgoedjen
Copy link
Owner

@jerryzj thanks for letting me know! I split out the fish config issue into #170. I'll treat this one as the canonical ticket for the agent issue. I've tried to improve that in #165 but it looks like it's not enough :/
I'll experiment with that a bit more tonight and reissue 2.0 if I can get it working better.

@jerryzj
Copy link
Author

jerryzj commented Nov 13, 2020

@maxgoedjen Ok. I just installed the latest version of macOS, so I can help you test it.

@maxgoedjen
Copy link
Owner

@jerryzj sweet :) I'll tag you on the RC if I think I've got it solved.

@maxgoedjen
Copy link
Owner

@jerryzj also in the super-short-term, if you find it's blocking you from doing something, you can manually launch the agent by opening Secretive.app/LoginItems/SecretAgent.app

@maxgoedjen
Copy link
Owner

maxgoedjen commented Nov 13, 2020

@jerryzj alright, THINK I've got it. I've retagged 2.0.0 with that release, feel free to give it a go. It's working pretty consistently in my testing, LMK if you have any issues. Thanks again for raising this :)
https://github.com/maxgoedjen/secretive/releases/tag/v2.0.0

@maxgoedjen
Copy link
Owner

Just for posterity:
A few major issues addressed in that fix:

  • The "running checker" didn't update its status properly after relaunching
  • The uninstall reinstall stuff seems to work better when it's deferred a runloop
  • I've tweaked the "force launch" thing to work a bit better (incl delaying after killing old agent/starting new one).

@jerryzj
Copy link
Author

jerryzj commented Nov 13, 2020

Thanks!
The new version is working smoothly now, but the "Secret Agent Is Not Running" is still there😂
I found another UI problem, will open another issue.

@maxgoedjen maxgoedjen moved this to Todo in Secretive Apr 8, 2022
@maxgoedjen maxgoedjen moved this from Todo to Done in Secretive Apr 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants