Module identity_challenge

Source
Expand description

Identity challenge implementation.

Ref: https://wamu.tech/specification#identity-challenge.

Functionsยง

initiate
Returns a challenge fragment for initiating an identity challenge.
respond
Given a list of identity challenge fragments and an identity provider, returns the response signature for an identity challenge.
verify
Given an identity challenge response signature, a list of identity challenge fragments and a verifying key for challenged party, returns an Ok result for valid identity challenge response signature, or an appropriate Err result otherwise.