Skip to content

Adding notion of a recovery owner for network recovery #6705

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 55 commits into from
Jan 31, 2025

Conversation

gaurav137
Copy link
Contributor

@gaurav137 gaurav137 commented Dec 13, 2024

Adding support for a member that can act as a recovery owner and gets assigned the full recovery share to it. Such a member can single handedly recover the network on their own w/o requiring any other recovery members to submit their recovery shares.

This capability is going to be used in the confidential clean room scenario where a confidential recovery service gets created and is able to recover the CCF network on its own using a recovery owner identity. Only if the confidential recovery service is unable to perform recovery then the recovery members can come together and perform break glass recovery by submitting the threshold amount of recovery shares.

Changes done:

Added an optional recovery_role enum in MemberDetails to indicate whether a recovery member is a recovery owner or not.
Added support to set the above flag both via the cchost config file during network create and set_member proposal.
Recovery owners don't count towards the recovery threshold calculation so updated code paths accordingly.
Added test cases to recover a network using the recovery owner.

@gaurav137 gaurav137 requested a review from a team as a code owner December 13, 2024 08:11
@gaurav137 gaurav137 changed the title Adding notion of a recovery owner notion for network recovery Adding notion of a recovery owner for network recovery Dec 13, 2024
@maxtropets
Copy link
Collaborator

A reminder to update the CHANGELOG before merging

@maxtropets maxtropets added the run-long-test Run Long Test job label Jan 31, 2025
@achamayou achamayou enabled auto-merge January 31, 2025 18:41
@achamayou achamayou added this pull request to the merge queue Jan 31, 2025
Merged via the queue into microsoft:main with commit bd11afb Jan 31, 2025
16 of 18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
run-long-test Run Long Test job
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants