mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-06 16:05:05 +02:00
d02c63ac865dd4f1b082834586e2c774cacaf61e
Motivation: Some environments disallow or do not reliably accept one-way pubkey-only auth, or require keyboard-interactive password + TOTP. This adds an optional, host-scoped automation via kitty's native askpass to reduce repetitive manual entry while preserving the ssh kitten UX. - Add auth_config.go to parse password/totp_* from ssh.conf by host block - Ignore these keys in main ssh.conf parser to avoid bad-line warnings - Pass host/user to askpass for host-aware lookup - Auto-answer password and OTP prompts in askpass; fallback to UI otherwise Security: Secrets in ssh.conf are plain text; users should enforce strict permissions or avoid storing passwords if unacceptable. Only login password/OTP prompts are auto-answered; passphrases and host key confirmations are not. feat(ssh): add secret backend support for auth passwords and TOTP secrets Introduce support for specifying secret backends in SSH auth config, currently supporting only the "text" backend for storing secrets directly. This allows for future extensibility while maintaining backward compatibility by treating values without a backend as "text:<value>". The changes include new fields in AuthEntry for backends, updated parsing logic in lineHandler, error handling for invalid backends, and normalization for existing configs. A new parseBackendSecret function handles the parsing with validation.
…
…
…
…
= kitty - the fast, feature-rich, cross-platform, GPU based terminal See https://sw.kovidgoyal.net/kitty/[the kitty website]. image:https://github.com/kovidgoyal/kitty/workflows/CI/badge.svg["Build status", link="https://github.com/kovidgoyal/kitty/actions?query=workflow%3ACI"] https://sw.kovidgoyal.net/kitty/faq/[Frequently Asked Questions] To ask other questions about kitty usage, use either the https://github.com/kovidgoyal/kitty/discussions/[discussions on GitHub] or the https://www.reddit.com/r/KittyTerminal[Reddit community] Packaging status in various repositories: image:https://repology.org/badge/vertical-allrepos/kitty-terminal.svg?columns=3&header=kitty["Packaging status", link="https://repology.org/project/kitty-terminal/versions"]
Languages
Python
38.6%
C
27.9%
Go
26.4%
Objective-C
5.5%
Shell
1%
Other
0.5%