Skip to main content

key_type_label

Function key_type_label 

Source
pub fn key_type_label(key_string: &str) -> &str
Expand description

Classify an SSH key type for human-readable display.

Returns a short label like “ssh-ed25519” or “ssh-rsa” from the full key string.