Skip to main content

parse_session_env_full

Function parse_session_env_full 

Source
pub fn parse_session_env_full(
    env_value: &str,
) -> Option<(String, [u8; 32], Option<[u8; 32]>)>
Expand description

Parse a JOY_SESSION env var value, returning the session id, the ephemeral session private key, and (if the originating token was Crypt-scoped) the delegation private key embedded for zone-key unwrap (ADR-041 §5).