Expand description
Quorum approved request initiation and verification implementation.
Ref: https://wamu.tech/specification#quorum-approved-request.
Functions§
- challenge_
response - Given a list of command approval payloads, an identity provider, a quorum approved request initialization payload, a quorum size and a list of verifying keys for the other parties, returns an ok result with a quorum approved challenge response payload or an appropriate error result for an invalid request.
- initiate
- Given a “command” and an identity provider, returns the payload for initiating an quorum approved request.
- verify_
challenge_ response - Given a quorum approved challenge response payload, a list of command approval payloads,
a verifying key for challenged party, a quorum approved request initialization payload,
a quorum size and a list of verifying keys for the other parties,
returns an
Ok
result for valid quorum approved challenge response, or an appropriateErr
result otherwise. - verify_
request_ and_ initiate_ challenge - Given a “command” a quorum approved request initialization payload, an identity provider and a list of verifying keys for the other parties, returns an ok result with a “command” approval payload for initiating an identity challenge and approval acknowledgement for a valid request or an appropriate error result for an invalid request.