pub fn decode_portable(text: &str) -> Result<MasterKey>Expand description
Parses the portable text form.
Blank lines and # comments are skipped, because a key travelling through a
password manager or an email body picks them up. Everything else fails
closed: an unknown version, a key of the wrong length, trailing content, or a
key_id that does not match the material below it — the last of which is how
a truncated or hand-edited copy announces itself before it is imported.
§Errors
Error::Format for anything this build cannot read as a key.