Expand description

Identity challenge implementation.

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

Functions

  • Returns a challenge fragment for initiating an identity challenge.
  • Given a list of identity challenge fragments and an identity provider, returns the response signature for an identity challenge.
  • 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.