Skip to content
This repository has been archived by the owner on Jan 7, 2022. It is now read-only.

Using OS X Keychain #5

Open
max-mapper opened this issue Jul 27, 2017 · 1 comment
Open

Using OS X Keychain #5

max-mapper opened this issue Jul 27, 2017 · 1 comment

Comments

@max-mapper
Copy link

it's pretty straightforward to get/put keys in Keychain.app

https://github.com/git/git/blob/35f6318d44379452d8d33e880d8df0267b4a0cd0/contrib/credential/osxkeychain/git-credential-osxkeychain.c

You can also spawn /usr/bin/security but spawning a process on require would be weird.

If we wrote a native addon to wrap those syscalls, we could use Keychain on Mac (if the prebuild is available) and otherwise still use the current strategy.

Any downsides to this?

@joehand
Copy link
Collaborator

joehand commented Apr 2, 2018

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants