raoulh / mc-agent

Simple ssh-agent that loads keys stored from Moolticute
GNU General Public License v3.0
15 stars 8 forks source link

Native Apple Silicon Builds #21

Open ananthb opened 1 year ago

ananthb commented 1 year ago

mc-agent runs through Rosetta on Apple Silicon processors currently. Would be nice to get native builds.

ananthb commented 1 year ago

I've got mc-agent running on startup to replace Apple's native ssh-agent. I can contribute the necessary config to get that going back here as well.

raoulh commented 1 year ago

Yes, please make a PR

ananthb commented 1 year ago

I had a LaunchAgent plist to auto start mc-agent, but then switched to just enabling and running it from moolticute. I set custom arguments there to create a socket at a well known path. Then I set the $SSH_AUTH_SOCK environment variable to that socket path in my shell config.

This works without requiring custom config in mc-agent.

ananthb commented 1 year ago

All that's left is native Apple Silicon binaries. Moolticute isn't fully ready yet: https://github.com/mooltipass/moolticute/issues/929