Skip to content

Encrypted keys and Keychain on Mac #522

Answered by ronf
shcheklein asked this question in Q&A
Discussion options

You must be logged in to vote

As far as I know, keychain integration on the Mac is something is handled as a custom patch, in both the closed-source version that Apple ships and possibly as a patch provided by MacPorts. The details of how it works aren't publicly documented, though, and while I think Apple did release a patch under the BSD license, the changes are quite extensive so it may be difficult for any other SSH implementations to port and maintain, especially as Apple evolves the keychain internals.

In a quick search, I found https://github.com/jpouellet/MacPorts/blob/master/net/openssh/files/0002-Apple-keychain-integration-other-changes.patch, which is an 11,000+ line diff. That's not something I would be co…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@efiop
Comment options

@ronf
Comment options

@efiop
Comment options

Answer selected by shcheklein
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants