Directories
¶
| Path | Synopsis |
|---|---|
|
Package agent is the user-session side of Latchwire.
|
Package agent is the user-session side of Latchwire. |
|
Package config parses Latchwire tunnel configurations.
|
Package config parses Latchwire tunnel configurations. |
|
Package daemon is Latchwire's privileged tunnel manager.
|
Package daemon is Latchwire's privileged tunnel manager. |
|
Package datadir locates the directory the Windows service keeps its state in.
|
Package datadir locates the directory the Windows service keeps its state in. |
|
Package desktop is the logic of the desktop app, free of any UI toolkit: card inspection and key generation, the [Peer] block, binding a server's .conf to the keys on the card, the daemon client and the tunnel view model.
|
Package desktop is the logic of the desktop app, free of any UI toolkit: card inspection and key generation, the [Peer] block, binding a server's .conf to the keys on the card, the daemon client and the tunnel view model. |
|
Package ipc is the local transport between the Latchwire daemon, the per-user agent and the CLI.
|
Package ipc is the local transport between the Latchwire daemon, the per-user agent and the CLI. |
|
ipctest
Package ipctest gives a test a transport address of its own.
|
Package ipctest gives a test a transport address of its own. |
|
Package keyprovider defines the vocabulary shared by every source of the device's static X25519 key: hardware tokens and the test-only software key.
|
Package keyprovider defines the vocabulary shared by every source of the device's static X25519 key: hardware tokens and the test-only software key. |
|
piv
Package piv is the YubiKey PIV backend.
|
Package piv is the YubiKey PIV backend. |
|
softkey
Package softkey is an in-memory key provider for tests only.
|
Package softkey is an in-memory key provider for tests only. |
|
wgadapter
Package wgadapter plugs a keyprovider.Provider into wireguard-go as its static key, adding a per-call timeout, per-role rate limits and a cap on outstanding provider calls.
|
Package wgadapter plugs a keyprovider.Provider into wireguard-go as its static key, adding a per-call timeout, per-role rate limits and a cap on outstanding provider calls. |
|
Package keyref parses references to a key slot on a hardware token.
|
Package keyref parses references to a key slot on a hardware token. |
|
Package killswitch blocks the traffic that would leave outside the tunnels: while a kill switch is on, only the tunnel interfaces, loopback, the tunnels' endpoints and what a link needs to come up (DHCP, IPv6 neighbour discovery and MLD) pass; DNS goes through the tunnels only.
|
Package killswitch blocks the traffic that would leave outside the tunnels: while a kill switch is on, only the tunnel interfaces, loopback, the tunnels' endpoints and what a link needs to come up (DHCP, IPv6 neighbour discovery and MLD) pass; DNS goes through the tunnels only. |
|
Package mcpserver is the MCP server of latchwire mcp: the tools a local agent calls to set Latchwire up.
|
Package mcpserver is the MCP server of latchwire mcp: the tools a local agent calls to set Latchwire up. |
|
Package msg holds user-facing message strings.
|
Package msg holds user-facing message strings. |
|
gen
command
Command gen writes internal/msg/en.go from internal/msg/locales/en.arb.
|
Command gen writes internal/msg/en.go from internal/msg/locales/en.arb. |
|
icu
Package icu is a small implementation of the ICU MessageFormat subset that Latchwire's translations use, and of the ARB files they live in:
|
Package icu is a small implementation of the ICU MessageFormat subset that Latchwire's translations use, and of the ARB files they live in: |
|
Package netcfg configures a tunnel interface's addresses and routes by running the platform's network commands (ifconfig/route on macOS, ip on Linux, netsh on Windows).
|
Package netcfg configures a tunnel interface's addresses and routes by running the platform's network commands (ifconfig/route on macOS, ip on Linux, netsh on Windows). |
|
Package netmon reports that the machine's network changed (an interface, an address or a route) and gives the current network a stable identity.
|
Package netmon reports that the machine's network changed (an interface, an address or a route) and gives the current network a stable identity. |
|
Package ttyio opens the terminal the user is at, for prompts that must not come from standard input: a pipe must never answer them.
|
Package ttyio opens the terminal the user is at, for prompts that must not come from standard input: a pipe must never answer them. |
Click to show internal directories.
Click to hide internal directories.