Skip to content
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

Replicas main key rotation implementation #2948

Open
wants to merge 18 commits into
base: master
Choose a base branch
from

Conversation

WildFireFlum
Copy link
Contributor

@WildFireFlum WildFireFlum commented Feb 28, 2023

  • Problem Overview
    This PR adds support for main key rotations on demand (for example, when compromised).
    The implementation uses the replica's consensus key as its main key, thus when an operator sends a consensus key rotation request, the resulting state is that both the main key and the consensus key are changed.
    The behavior can be reverted back to separate the main key and consensus key (without supporting main key rotations) via the singleSignatureScheme configuration parameter.

  • Testing Done
    Unit tests and apollo tests (local and remote)

  • Additional Changes
    Added a convenience directory ${bft-root}/build/apollogs/ which contains links to both the logs of the latest test run and all of the previous test runs.
    Also added an output file for apollo tests: /concord-bft/build/apollogs/latest/failed_cases.txt which is generated upon failure and contains the names of the tests cases which have failed.

@WildFireFlum WildFireFlum requested a review from a team as a code owner February 28, 2023 15:26
@WildFireFlum WildFireFlum force-pushed the yf/kx-master-merge branch 2 times, most recently from aad5b86 to c769f07 Compare March 1, 2023 20:52
Makefile Outdated Show resolved Hide resolved
@WildFireFlum WildFireFlum force-pushed the yf/kx-master-merge branch 9 times, most recently from 5c62bfa to ec67f12 Compare April 10, 2023 17:02
@WildFireFlum WildFireFlum force-pushed the yf/kx-master-merge branch 2 times, most recently from d6d908d to 6df5b8b Compare April 11, 2023 10:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants