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
git credential-osxkeychain does not appear to work [ darwin ] #36223
Comments
I think we generally try to avoid macOS specific features like that since it usually depends on impure parts of the system like frameworks. |
This makes sense to me. Shouldn't we disable installing this when macOS users install git using nix though? That way we avoid confusion that it should work. |
Yeah that's a good idea. |
I cannot reproduce this. One thing that should happen when first doing this is that the dialog opens asking if the app can access your keychain. Perhaps this is not happening? Some AV or enterprise config profilsmes might disable this feature for unknown binaries. |
interesting @matthewbauer . I had first installed git using xcode-select, so I wonder if that could impact this. Also, our organization uses Jamf for device profile management. I'm not sure how to determine if that impacts this. |
Thank you for your contributions. This has been automatically marked as stale because it has had no activity for 180 days. If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity. Here are suggestions that might help resolve this more quickly:
|
I marked this as stale due to inactivity. → More info |
Issue description
I installed
git
vianix-env -iA latest.gitAndTools.gitFull
.Everything installed fine, but my SSH credentials are not being cached correctly.
This appears to be a problem with
git credential-osxkeychain
.Running
git credential-osxkeychain erase
hangs indefinitely. Any of thegit credential-osxkeychain
commands seem to hang too.Using Apple's version of git available by
xcode-select --install
works as expected:Steps to reproduce
Technical details
Note that
latest
is a channel I added withnix-channel --add https://github.com/NixOS/nixpkgs/archive/master.tar.gz latest
The text was updated successfully, but these errors were encountered: