Skip to main content

user_key_of_passkey

Function user_key_of_passkey 

Source
fn user_key_of_passkey(
    secret: &[u8; 32],
    option: &Value,
) -> Result<Key, Problem>
Expand description

The user key, opened with a passkey’s secret: the secret stretched as a master key is (HKDF-Expand, “enc” and “mac”) opens the RSA key Bitwarden keeps for the passkey, which opens the user key (WebAuthnPrfOption).