keybase / client

Keybase Go Library, Client, Service, OS X, iOS, Android, Electron
BSD 3-Clause "New" or "Revised" License
8.91k stars 1.23k forks source link

Unable to login on macos app #17201

Open joelrthompson opened 5 years ago

joelrthompson commented 5 years ago

The keybase app on my iphone works fine, but when I try to login to the macos app I get the following error:

"ERROR Secret store not functional: error while retrieving secret: Secret store error: No secret found for test_ss_qknqhhpu"

michaelsmoody commented 5 years ago

I too am experiencing this upon trying to use Keybase for the first time.

michaelsmoody commented 5 years ago

LogID 5e19c102313f25af4897ce1c

mlsteele commented 5 years ago

@joelrthompson Could you send a log with keybase log send?

mlsteele commented 5 years ago

The app is talking to macos's keychain and getting weird results. When trying to delete an entry it's as if it doesn't exist The specified item could not be found in the keychain. (-25300). And when adding one it's as if it doesn't have access The user name or passphrase you entered is not correct. (-25293).

Could you both try this?

image

Also did you get any prompts like this? Maybe hidden behind another window or in another space.

image

joelrthompson commented 5 years ago

Ok, I've sent the log files. I tried unlocking and relocking the keychain and restarting the computer, both of which resulted in the same error. Also, I cant find any entries labeled 'keybase' in my keychain.

mlsteele commented 5 years ago

@joelrthompson thanks so much for trying those steps and for the new logs (90d6b5c1568e88c82e14361c)

It's looking like a macOS bug that prevents Keybase from storing any keychain items. This is obviously a problem for Keybase which uses the keychain to store the logged-in secret that encrypts most locally-stored data.

A few questions and things for you to try @michaelsmoody and @joelrthompson. Trying to pin down what conditions cause this relatively rare but bad problem.

  1. When setting up your computer did you migrate from another machine?
  2. Are you the only admin account on the machine? Is there any corporate LDAP or MDM or other corporate management stuff in play?
  3. Did you recently change user password is there any chance your passwords are out of sync?
  4. Running any antivirus software that might be interfering?
  5. Try creating a new macOS user (System Preferences > Users & Groups > +). Does signing up or logging in to Keybase work as the alternate user?
  6. Try updating to the latest version of macOS. Does Keybase work after that?
mlsteele commented 5 years ago

Got one report that this problem was fixed by updating to the latest version of macOS. So give that a shot first.

joelrthompson commented 5 years ago

@mlsteele thanks for tracking down the issue. unfortunately, I can't update because I have some older software running that isn't compatible with the newest version of macOS...

tpanagos commented 5 years ago

Helping a co-worker get setup on OSX 10.14.5. He got this error when attempting to create an account. But, signing up through IOS first and then signing-in through OSX app worked for him. He did not see a popup to allow keychain access. He is running an antivirus but we worked-around it before we got deeper into the debugging. Hope that helps.

ThePunisherDev commented 5 years ago

Im in same boat as Joelrthompson

patcon commented 5 years ago

I might have a fix. But regardless, please share what osx versions you are using :)

@joelrthompson I think this might be what you're looking for: https://github.com/keybase/client/issues/18257#issuecomment-533370589 (pls +1 the origin issue-starter comment if so)

@michaelsmoody it sounds like you might have another issue, and if you also think so, please do leave this issue open to keep tabs on it :)