Skip to main content

webauthn_challenge

Function webauthn_challenge 

Source
pub fn webauthn_challenge(signing: &ContentHash) -> Vec<u8> 
Expand description

The challenge bytes a browser must be given so that the assertion it returns attests to this submission (D39).

This is the hex form of the choir_oplog::signing_hash, the exact bytes the ed25519 path signs. Both schemes therefore commit to one definition of what was approved, and a reader comparing an ed25519 op with a passkey op is comparing like with like rather than two encodings that happen to agree today.