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

coordinator: add manifest option to seal with unique key or disable sealing #677

Merged
merged 2 commits into from
Jun 20, 2024

Conversation

thomasten
Copy link
Member

@thomasten thomasten commented Jun 17, 2024

Currently, the Coordinator uses the product key to seal the data. Users may want to use the unique key instead or disable persistent storage altogether for ephemeral deployments.

Proposed changes

  • Add Config.SealMode field to the manifest
  • Use seal key as configured in manifest

Copy link

netlify bot commented Jun 17, 2024

Deploy Preview for marblerun-docs ready!

Name Link
🔨 Latest commit 64692a1
🔍 Latest deploy log https://app.netlify.com/sites/marblerun-docs/deploys/66740726bafeaf0008be58ef
😎 Deploy Preview https://deploy-preview-677--marblerun-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@thomasten thomasten force-pushed the feat/coordinator/uniquekey branch from 12a787c to 6500c29 Compare June 18, 2024 08:03
@thomasten thomasten marked this pull request as ready for review June 20, 2024 06:57
@thomasten thomasten requested a review from daniel-weisse June 20, 2024 06:57
sealedData, err := s.sealer.Seal(s.recoveryData, dataRaw)
if err != nil {
if !errors.Is(err, seal.ErrMissingEncryptionKey) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This introduces a change where we no longer write data to disk before a manifest is set.
I prefer the new behavior, but we might want to mention this in the changelog

@thomasten thomasten requested a review from daniel-weisse June 20, 2024 10:41
@thomasten thomasten merged commit 41397a0 into master Jun 20, 2024
9 of 10 checks passed
@thomasten thomasten deleted the feat/coordinator/uniquekey branch June 20, 2024 13:40
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.

2 participants