Mastonaut icon indicating copy to clipboard operation
Mastonaut copied to clipboard

CoreTootin.KeyChainController error prevents Auth on Ventura with Chrome 109

Open sdenaro opened this issue 2 years ago • 10 comments

I am attempting to connect to my account on indieweb.social on MacOS 13.1 using Mastonaut 1.3.9 and I am getting this error

"Could not authorize"

"Keychain: The operation couldn’t be completed. (CoreTootin.KeychainController.Errors error 0.)"

image

sdenaro avatar Jan 21 '23 00:01 sdenaro

Just looked at the current versions, will try with current version.

sdenaro avatar Jan 21 '23 00:01 sdenaro

Just tried with current version 1.5.0 and same issues with oauth login on indieweb.social

sdenaro avatar Jan 21 '23 01:01 sdenaro

I've requested an account with indieweb.social to try and debug this, although it looks more like something local.

Are you using iCloud Keychain?

chucker avatar Feb 08 '23 21:02 chucker

I am not using icloud keychain. I am using Chrome.

sdenaro avatar Mar 18 '23 21:03 sdenaro

I tried it with Safari, confirming my login was in the iCloud Keychain and got the same error

image

sdenaro avatar Apr 02 '23 23:04 sdenaro

If you launch Keychain Access and filter the list by mastonaut, do you get any entries? (Specifically, anything starting with either app.mastonaut.mac.keychain OR 8C2P42VFTH.me.chucker.mastonaut.keychain.)

If so, try quitting Mastonaut, deleting all of those, and launching Mastonaut again.

chucker avatar Apr 11 '23 20:04 chucker

I do not see anything in the keychain when I filter on mastonaut

I took a look under ~/Library and found these

./Group Containers/8C2P42VFTH.me.chucker.mastonaut
./Group Containers/R85D3K8ATT.app.mastonaut.mac
./Containers/app.mastonaut.mac.QuickToot
./Containers/me.chucker.mastonaut.mac.QuickToot
./Containers/app.mastonaut.mac
./Containers/me.chucker.mastonaut.mac

I delete those.

I reinstalled the latest version.

I moved my account to Mastodon.social

Same issue.

image

Any ideas? Should I activate the iCloud keychain sharing?

sdenaro avatar Apr 12 '23 02:04 sdenaro

Should I activate the iCloud keychain sharing?

No, I don't think that will change it.

One thing you can try just for me to narrow it down: create a fresh macOS user account and see if Mastonaut runs there.

chucker avatar Apr 20 '23 11:04 chucker

create a fresh macOS user account and see if Mastonaut runs there.

Ok, that worked. I set up Mastonaut on my work MacBook and I was able to log in.

So it must be something on this Mac that is causing the problem. Anything I could be looking at that would be local to the environment?

sdenaro avatar May 09 '23 01:05 sdenaro

Quick list of possible things that could be causing this

  1. I installed Mastonaut via the Apple Store at first and then via download from github
  2. My chrome plugins? Should not be an issue since I tried using safari and had the same issue
  3. Yubikey software - I have a yubikey on my personal Mac and a Titan key on my work Mac
  4. I didn't install 1.3 or 1.5 on my work MacBook. Did those version drop any files or keys in the keystore?

sdenaro avatar May 09 '23 22:05 sdenaro