logoalt Hacker News

cronoslast Thursday at 12:49 AM2 repliesview on HN

On macOS we have 3 ways to run Tailscale: https://tailscale.com/kb/1065/macos-variants Two of them have a GUI component and use the Keychain to store their state.

The third one is just the open-source tailscaled binary that you have to compile yourself, and it doesn't talk to the Keychain. It stores a plaintext file on disk like the Linux variant without state encryption. Unlike the GUI variants, this one is not a Swift program that can easily talk to the Keychain API.


Replies

cyberaxlast Thursday at 2:02 AM

You don't need Swift to use the Keychain API. It's doable from pure C.

show 2 replies
reader9274last Thursday at 4:20 AM

Only one of the ways uses Keychain per that page.

show 1 reply