pub fn decode_pubkey_base64(s: &str) -> Result<VerifyingKey>Expand description
Decode a base64-encoded Ed25519 public key.
Accepts two formats:
- SSH wire format (base64 of 51-byte blob): validates the “ssh-ed25519” type tag.
- Raw Ed25519 (base64 of 32-byte key).