Skip to main content

parse_msg_a

Function parse_msg_a 

Source
fn parse_msg_a(json: &[u8]) -> Result<MsgA, OnePasswordError>
Expand description

Parses the JSON of msga, after its base64 layer is removed.

Rejects a ya that is not the canonical encoding of a point, or is the identity, before anything is sent back.