Repository navigation
fix(luks)!: read the master passphrase from the Secret only #222
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
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
92c8983
fix(luks)!: read the master passphrase from the Secret only
kvaps 72a1480
test(luks): pin the Secret-only passphrase contract in existing tests
kvaps 850a57a
test(luks): cover every guard that keeps the passphrase out of props
kvaps 39a5507
fix(cli): refuse to store the LUKS passphrase through set-property
kvaps a05644c
fix(rest): let an empty override delete a passphrase property
kvaps 3eaa926
test(e2e): create the LUKS passphrase through the Secret only
kvaps f81b885
docs(luks): describe the Secret as the only passphrase source
kvaps a60aff6
fix(rest)!: refuse per-volume LUKS passphrases
kvaps 5de1a07
fix(rest): refuse to change the cluster passphrase while LUKS volumes…
kvaps 8833620
fix(dispatcher): drop passphrase keys from a copy of the replica's props
kvaps 900e34e
docs(luks): name the refused per-volume key and the rotation guard
kvaps 3e7e056
fix(rest): read the whole body the way the handlers do in the passphr…
kvaps a057acf
test(dispatcher): pin that dropping the wire key leaves the replica a…
kvaps 6dcf641
fix(linstor-migrate): leave passphrase properties out and name the re…
kvaps 41fee60
test(e2e): refuse vd modify-passphrase and rotation over a LUKS volume
kvaps 3eb902f
fix(satellite): log the passphrase properties it ignores on a LUKS de…
kvaps 4b82209
docs(luks): give the upgrade steps for a passphrase kept in a property
kvaps 24d0f7e
fix(store): keep passphrase properties out of every server-side copy
kvaps 94c9543
test(satellite): pin the log line that names an ignored passphrase pr…
kvaps 673256d
docs(luks): find passphrase properties where the store keeps them
kvaps 534fcdf
fix(rest): ask the API server for LUKS volumes before a passphrase ro…
kvaps 5e3599e
docs(luks): find a passphrase on volume props and snapshots too
kvaps ef42997
fix(spawn): keep passphrase properties off spawned volumes and CLI sp…
kvaps 71cc110
docs(luks): find and delete a passphrase on volume group props
kvaps File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Target the configured passphrase Secret in the upgrade command.
If
ControllerConfig spec.passphraseSecretRef.nameis set, this command overwrites the default Secret instead. The satellite still reads the configured Secret, so volumes formatted with the controller property's value remain unable to open after the upgrade. Substitute the configured Secret name and controller namespace in this command. (raw.githubusercontent.com)