google / macops-keychainminder

SecurityAgentPlugin for monitoring keychain password synchronization
94 stars 18 forks source link

Keychain Minder GUI appears after login, regardless of whether keychain password is correct or not. #3

Closed russellhancox closed 8 years ago

russellhancox commented 8 years ago

From @rtrouton on August 19, 2015 13:12

I've installed Keychain Minder 1.2, and I'm seeing that the Keychain Minder GUI now always appears after login. This may be due to the RunAtLoad flag being added to the LaunchAgent; removing it from the LaunchAgent addressed the behavior:

https://github.com/google/macops/commit/00d7ced672a559734a5bddf2a4d6b7bfe2f669f0#diff-6d8fc9394339d8e851330a157f0e13d3

Copied from original issue: google/macops#40

russellhancox commented 8 years ago

Both this and #39 would make sense if you're running a debug build. The check for presence in the plist is skipped for Debug builds to make developing the UI easier.

russellhancox commented 8 years ago

From @rtrouton on August 19, 2015 13:17

OK. I'll build from the Xcode project again and see if that fixes it.

russellhancox commented 8 years ago

From @rtrouton on August 19, 2015 13:27

Dumb question: How do I build the Xcode project so that it's set for a release build rather than debug? It's "Project: Build For: Running", correct?

russellhancox commented 8 years ago

No, Build For: Profiling. I'm removing the "ifdef DEBUG" line because it isn't that useful and is likely to lead to this problem.