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

Update the logic that prepares seal migration #8187

Merged
merged 2 commits into from
Jan 21, 2020

Conversation

briankassouf
Copy link
Contributor

@briankassouf briankassouf commented Jan 18, 2020

Instead of calling SetBarrierConfig in #8172 this updates the logic in adjustCoreForSealMigration to correctly set the barrier and recovery configs. I think this fixes the issue in #8172 and another issue where auto->auto migrations were not getting the correct config.

@briankassouf briankassouf added this to the 1.3.2 milestone Jan 18, 2020
@briankassouf briankassouf merged commit b36e800 into auto-to-shamir Jan 21, 2020
@briankassouf briankassouf deleted the auto-to-shamir-v2 branch January 21, 2020 17:24
briankassouf added a commit that referenced this pull request Jan 21, 2020
* Use Shamir as KeK when migrating from auto-seal to shamir

* Use the correct number of shares/threshold for the migrated seal.

* Fix log message

* Add WaitForActiveNode to test

* Make test fail

* Minor updates

* Test with more shares and a threshold

* Add seal/unseal step to the test

* Update the logic that prepares seal migration (#8187)

* Update the logic that preps seal migration

* Add test and update recovery logic

Co-authored-by: ncabatoff <[email protected]>
Co-authored-by: Brian Kassouf <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants