mirror of
https://github.com/db9979/sshtermy.git
synced 2026-12-06 20:54:09 +01:00
Verbindungs-Manager mit verschlüsseltem Store (AES-256-GCM, Argon2id, DPAPI), SSH-Terminal (x/vt), Tunnel -L/-R/-D und Web-Services, KI-Copilot für OpenAI-kompatible Endpunkte (Ghost-Text, Folgebefehle, Ziel-Modus, Frage) mit festen Gefahrenregeln, Versionierung und signiertes Auto-Update. Idee: Dominik Bornhäußer Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018i4GUgYsYk78PSL5QZPeim
15 lines
589 B
Go
15 lines
589 B
Go
//go:build !windows
|
|
|
|
package vault
|
|
|
|
// Auf macOS/Linux gibt es kein DPAPI. Der Store wird dort nur mit dem
|
|
// Master-Passwort (Argon2id + AES-256-GCM) geschützt. Eine Erweiterung um den
|
|
// macOS-Schlüsselbund (Keychain) ist als eigener Wrap-Typ "keychain" möglich,
|
|
// braucht aber cgo oder das security-CLI und ist deshalb nicht Teil des Kerns.
|
|
|
|
// DPAPIAvailable: außerhalb von Windows nie.
|
|
func DPAPIAvailable() bool { return false }
|
|
|
|
func dpapiProtect(_, _ []byte) ([]byte, error) { return nil, ErrDPAPI }
|
|
func dpapiUnprotect(_, _ []byte) ([]byte, error) { return nil, ErrDPAPI }
|