feat: gpgtools ssh-config-summary - per-host table of gpg-enabled logins (v0.11.0)

- read-only: one row per marker-managed block in ~/.ssh/config (or
  --config PATH): alias, hostname, user, key id (first 8 chars of
  the identity's SHA256 fingerprint via ssh-keygen -lf, material
  digest as fallback), and the fallback identity's name
- no managed blocks / missing config: fact + configure_ssh hint,
  exit 0 always (read-only command)
- spec items 2.8 + section 13 first, then tests, then code (SPEC
  6.12); 10 new tests (100 in test_gpgtools.py), registry
  description, README section, CHANGELOG 0.11.0, version pins

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
nvaldez
2026-11-19 09:49:35 +01:00
parent cdc209536f
commit 41c8b99bd6
9 changed files with 333 additions and 7 deletions
+13
View File
@@ -10,6 +10,19 @@ Format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and
- Nothing yet.
## [0.11.0] - 2026-11-19
### Added in 0.11.0
- `gpgtools ssh-config-summary`: a read-only view of the gpg-enabled ssh
logins. One row per marker-managed block in `~/.ssh/config` (or
`--config FILE`): alias, hostname, user, the key id - first 8 chars of the
identity's SHA256 fingerprint via `ssh-keygen -lf`, with the SHA-256
material digest as fallback when ssh-keygen is unavailable - and the
fallback identity's name. No managed blocks (or a missing config) prints
that fact with the `configure_ssh` hint. Exit code always 0. Spec item 2.8
and section 13 written first, then tests, then code (SPEC 6.12).
## [0.10.0] - 2026-11-19
### Added in 0.10.0