pub fn validate_actor_key(hex: &str) -> Result<String, String>Expand description
Checks an ed25519 actor public key and returns it lowercased.
Normalised rather than accepted as sent, because this string becomes a line in the trusted-keys file and the duplicate check that keeps a replayed redemption idempotent is a string comparison. Two spellings of one key would append it twice, and a file binding one name to two keys is refused wholesale at the next reload – taking every other key in it down with it.
§Errors
Returns a message when the value is not 64 hex characters.