Keyward is an offline terminal application for bringing SSH keys, configuration, known hosts, and security checks together in one keyboard-driven interface. It discovers and inspects keys, showing details such as type, size, fingerprint, and passphrase protection; supports generating, importing, rotating, deleting, and adding keys to ssh-agent; and stores per-key tags and notes. Its host-by-host editor validates ~/.ssh/config while preserving comments, spacing, and ordering exactly when saving, and automatically retains the five most recent config backups. A known-hosts screen displays key details and markers such as @revoked, and can remove entries while preserving file permissions.
The security audit assigns an A-F grade and identifies issues including weak keys, absent passphrases, permissive file modes, and risky SSH directives, with suggested fixes. Keyward also creates encrypted backups of the SSH directory and encrypted metadata, using a master password-derived key; the README specifies Argon2id, ChaCha20-Poly1305, and age. It runs as a static binary without a daemon, network calls, or required configuration file, and offers headless commands for listing keys, auditing in text or JSON, importing keys, managing the agent, and making backups. Audits can fail CI pipelines at a chosen severity. Version 1.0 promises stable formats and CLI behavior throughout the 1.x series. Multi-file config support, hardware-backed keys, and additional audit checks are possible future directions, not commitments.
Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.