Skip to main content

parse_recipient

Function parse_recipient 

Source
pub fn parse_recipient(pubkey: &str) -> Result<MurkRecipient, CryptoError>
Expand description

Parse a public key string into a MurkRecipient.

Tries x25519 (age1...) first, then SSH (ssh-ed25519 ... / ssh-rsa ...).