git
ask
hub
Privacy
Terms
Sign in with GitHub
tailscale/peercred
↗
Stars ·
14
Language ·
Go
License ·
BSD-3-Clause
Simplify and Visualize This Repo
Scan the safety of this repo
Self Host this repo
Check out more work of Developer: tailscale
Ask anything about this repo to start.
Show me how to use the peercred Go library to check the OS user of a process connecting to my local TCP listener and reject connections from anyone other than a specific user.
Help me integrate peercred into my Go daemon so I can authenticate local clients by their system identity instead of requiring an API key or shared secret.
Write a Go server that uses peercred to accept connections only from processes running under a specific Unix user and log the identity of every connecting process.
Full explanation on explaingit →
📎
Send
By chatting or signing in you agree to the
Terms
and chat-message logging (revocable in
History
).