unable to click always allow on git-credential-osxkeychain popup

后端 未结 6 447
误落风尘
误落风尘 2021-01-30 10:21

Recently I\'ve been getting a popup when pushing or pulling from upstream

git-credential-osxkeychain wants to use your confidential information stored in \"githu         


        
相关标签:
6条回答
  • 2021-01-30 11:00

    Delete the entry corresponding to git-credential-osxkeychain in Keychain Access and re-enter your credentials to get it working.

    0 讨论(0)
  • 2021-01-30 11:01

    I fixed this but in a somewhat insecure way because none of the other proposed solutions worked for me.

    • Open Keychain Access.
    • Search for the github.com Internet Password entry and double click it.
    • Go to the Access Control tab and change it to Allow all applications to access this item.
    • Save changes.

    You should no longer get prompted by xcodebuild.

    0 讨论(0)
  • 2021-01-30 11:05

    This appears to have been an issue with MagicPrefs. I quit MagicPrefs and my symptoms have disappeared.

    (ref: https://apple.stackexchange.com/questions/208704/os-x-10-11-unable-to-press-allow-on-keychain-access-dialogs )

    -- original answer below for posterity -- I found that this occurs with some sort of failure with Keychain Access. The reason I say that is because I also had the problem clicking the button Allow or Always Allow (but not Deny) when changing another aspect of Keychain.

    authd.log file shows "Succeeded.." for what appears to be each time I pressed Accept it however the modal dialog box does not disappear.

    Solution for me: Restart, did not have to re-enter my credentials like the solutions above. :(

    0 讨论(0)
  • 2021-01-30 11:07

    You should enter password of your user(mac login password), but not git password.

    0 讨论(0)
  • 2021-01-30 11:09

    For SourceTree users, try downgrading Git to system Git, via SourceTree > Preferences > Git > Use System Git.

    According to this report SourceTree 2.2 uses Git 2.6.4 which is causing the bug.

    0 讨论(0)
  • 2021-01-30 11:13

    This fixed the issue for me:

    • Open Keychain Access
    • Select Keychains -> login and Category -> Passwords
    • Type github.com in search box, you should see an entry (or entries) of Internet Password kind for github.com. Right click & Delete them.
    • Go back to terminal and retry the git command that requires the password
    • Type in your git username and password when prompted
    • Done :)
    0 讨论(0)
提交回复
热议问题