Expand description
Identity rotation implementation.
Functions§
- challenge_
response - Given a list of identity challenge fragments, the current identity provider and the new identity provider, returns the identity rotation challenge response payload that includes the new verifying key and challenge response signatures from both the current and the new identity providers.
- initiate
- Given an identity provider, returns the payload for initiating an identity rotation request.
- rotate_
signing_ and_ sub_ share - Given the current “signing share”, “sub-share” and identity provider, and the new identity provider,
returns an
Ok
result wrapping the new “signing share” and “sub-share” associated with the new identity provider, that can be used to reconstruct the current “secret share” given the new identity provider, or an appropriateErr
result. - verify_
challenge_ response - Given an identity rotation challenge response, a list of identity challenge fragments and
a verifying key for challenged party,
returns an
Ok
result for valid identity rotation challenge response signature, or an appropriateErr
result otherwise. - verify_
request_ and_ initiate_ challenge - Given an identity rotation request payload and a list of verifying keys for the other parties, returns an ok result with a challenge fragment for initiating an identity challenge for a valid request or an appropriate error result for an invalid request.