Skip to main content

Crate git_sshripped_ssh_identity

Crate git_sshripped_ssh_identity 

Source

Functions§

agent_public_keys
default_private_key_candidates
default_public_key_candidates
detect_identity
discover_ssh_key_files
Scan ~/.ssh/ for all files ending in .pub that have a corresponding private key file (same path without .pub). Returns (private, public) pairs.
identity_files_from_ssh_config
Parse ~/.ssh/config and extract all IdentityFile directive values. Expands leading ~ and ~/ to the user’s home directory.
private_keys_matching_agent
unwrap_repo_key_from_wrapped_files
unwrap_repo_key_with_agent_helper
well_known_public_key_paths
Returns only the well-known standard public key paths (id_ed25519.pub, id_rsa.pub). Use this when auto-adding recipients during init – we don’t want to silently add every key in ~/.ssh/ as a recipient.