pub fn get_cached_pubkey(alias: &str) -> Result<Option<(Vec<u8>, CurveType)>>Expand description
Get a cached public key for the given alias.
Returns the raw key bytes and curve type. Handles legacy cache files (plain hex without curve prefix) by assuming Ed25519.
Args:
alias- The key alias (e.g., “default”).