git: e12562debcd4 - main - security/keyward: New port: Terminal UI for managing SSH keys and config

From: Jimmy Olgeni <olgeni_at_FreeBSD.org>
Date: Sat, 25 Jul 2026 10:35:17 UTC
The branch main has been updated by olgeni:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e12562debcd4e4a5733ef7fd0221de11add252d9

commit e12562debcd4e4a5733ef7fd0221de11add252d9
Author:     Jimmy Olgeni <olgeni@FreeBSD.org>
AuthorDate: 2026-07-21 22:30:31 +0000
Commit:     Jimmy Olgeni <olgeni@FreeBSD.org>
CommitDate: 2026-07-25 10:34:40 +0000

    security/keyward: New port: Terminal UI for managing SSH keys and config
---
 security/Makefile          |  1 +
 security/keyward/Makefile  | 19 +++++++++++++++++++
 security/keyward/distinfo  |  5 +++++
 security/keyward/pkg-descr | 10 ++++++++++
 4 files changed, 35 insertions(+)

diff --git a/security/Makefile b/security/Makefile
index 1fd82791606b..1faccf58148e 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -273,6 +273,7 @@
     SUBDIR += keychain
     SUBDIR += keyprint
     SUBDIR += keysmith
+    SUBDIR += keyward
     SUBDIR += kf5-kdesu
     SUBDIR += kf6-kdesu
     SUBDIR += kgpg
diff --git a/security/keyward/Makefile b/security/keyward/Makefile
new file mode 100644
index 000000000000..652937e80f89
--- /dev/null
+++ b/security/keyward/Makefile
@@ -0,0 +1,19 @@
+PORTNAME=	keyward
+DISTVERSIONPREFIX=	v
+DISTVERSION=	1.0.1
+CATEGORIES=	security
+
+MAINTAINER=	olgeni@FreeBSD.org
+COMMENT=	Terminal UI for managing SSH keys and config
+WWW=		https://github.com/gateway-of-last-resort/keyward
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		go:modules
+GO_MODULE=	github.com/gateway-of-last-resort/keyward
+GO_TARGET=	./cmd/keyward
+
+PLIST_FILES=	bin/keyward
+
+.include <bsd.port.mk>
diff --git a/security/keyward/distinfo b/security/keyward/distinfo
new file mode 100644
index 000000000000..77f1e61b1ab0
--- /dev/null
+++ b/security/keyward/distinfo
@@ -0,0 +1,5 @@
+TIMESTAMP = 1784672717
+SHA256 (go/security_keyward/keyward-v1.0.1/v1.0.1.mod) = 4337190dd0b11151908bb2f0eab89400f582fa642f35a7681e23bd5fe952b1fd
+SIZE (go/security_keyward/keyward-v1.0.1/v1.0.1.mod) = 1449
+SHA256 (go/security_keyward/keyward-v1.0.1/v1.0.1.zip) = 475dbf2b2645c2fa34ccdf8ff70f7d1e1129c9f330978a284ae22498096e9f24
+SIZE (go/security_keyward/keyward-v1.0.1/v1.0.1.zip) = 4712635
diff --git a/security/keyward/pkg-descr b/security/keyward/pkg-descr
new file mode 100644
index 000000000000..d1be4a6f3f9c
--- /dev/null
+++ b/security/keyward/pkg-descr
@@ -0,0 +1,10 @@
+Keyward is a keyboard-driven terminal UI that centralizes SSH key
+management, config editing, and security auditing in a single interface.
+
+It discovers and displays all SSH keys with their types, sizes, and
+fingerprints, and produces an A-F graded security audit that flags weak
+keys, missing passphrases, and risky configuration settings.  Hosts in
+~/.ssh/config can be edited with validation and automatic backups, and
+metadata and full backup archives are encrypted with age.
+
+Keyward is a single static binary with no daemon and works offline.