keyringd

Keyringd

CI Release License

Keyringd is an SSH agent that keeps your private keys in your computer’s hardware.

Hardware-protected keys can’t be extracted by an attacker, but they’re bound to a single device. Normally, replacing your computer means creating a new key and registering it with every server. With Keyringd, you don’t have to start over.

Instead of transferring the private key, Keyringd uses your passkey as an SSH certificate authority (CA) to certify a new Device Key for your next computer. Once your servers trust that CA, their setup stays the same across computers.

For everyday SSH, your Device Key does the work—without asking for your passkey each time.

Documentation · Getting started · Releases · Issues

Features

A Profile associates a passkey with this computer’s Device Key, its certificate, and settings. The passkey authorizes new Device Keys; it is not needed for everyday Device Key signatures.

Platforms

Platform Device Key storage UI toolkit
Ubuntu / Fedora TPM 2.0 GTK / libadwaita
Windows 11 version 23H2 or later TPM 2.0 WinUI
macOS 13 or later (Apple silicon only) Secure Enclave AppKit
WSL2 Windows agent’s TPM-backed key WinUI (Windows companion)

See Installation for full platform and authenticator requirements.

Get started

  1. Install the package for your platform and connect your SSH client to the agent.
  2. Create a Profile using a new or existing passkey.
  3. Register the CA public key or direct public keys required by your destination.
  4. Connect with your usual SSH client.

The Getting started guide walks through one working connection. Public key registration explains the destination-specific choices. Usage covers Profile management, and Git signing covers signing and verification.

Hardware protection prevents private-key extraction; access to the agent can still permit signing. Read the Security Model for local authentication, forwarded agents, Passkey authority, and revocation.

Build

The repository contains the Rust workspace, native applications, test infrastructure, packaging, and documentation site. Use Rust stable and the native toolchain for your target OS.

For example, on a configured Windows development host:

cargo xtask build --locked
cargo run -p keyringd-windows

License

Keyringd is licensed under the Apache License 2.0. Dependency notices are generated for application builds.