-
Notifications
You must be signed in to change notification settings - Fork 91
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
Add passphrase_file to mount options (refactored) #269
Add passphrase_file to mount options (refactored) #269
Conversation
Reviewed. Now we may take a break and wait for any of our PRs to get merged :) |
@RlndVt could you rebase this? |
Thanks for the heads up, I've started looking into it. |
64b9941
to
a6f7415
Compare
src/commands/mount.rs
Outdated
} | ||
) | ||
// Unlock by unlock policy | ||
.unwrap_or_else(|| unlock_policy.apply(&first_sb))) |
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.
Not completely happy with this flow yet.
The opening bracket on 389 matches the last closing bracket at the end of this line (402). Preferably I would close it on line 400, but haven't figured out how to get the types matched up quite yet.
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.
Checks are failing, please have a look.
I'm not sure I understand the failing check; I believe "treefmt-check" is unhappy with the format of the code? |
6ba6911
to
e985349
Compare
Signed-off-by: Roland Vet <[email protected]>
3657c77
to
ca82ea4
Compare
Is handled after the cli passphrase_file option. Allows unlocking the volume in fstab.
a43556e
to
995de4b
Compare
995de4b
to
f7ea066
Compare
Sorry for the force-push spam. |
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.
Nice, but @koverstreet should take a look.
In response to asking Kent to take a look: On 19/05/2024 18:33, Kent Overstreet [email protected] wrote:
On Wednesday, June 5th, 2024 at 3:04 PM, Kent Overstreet [email protected] wrote:
I've asked (him and Tony) what the other options/alternative workflows are but no response yet. Conclusion for this PR is still the same: won't be merged. Same (most likely) goes for #266. |
A gist on how I mount my encrypted array at boot: https://gist.github.com/RlndVt/7055be264c9492064d3523c8e74ea0a3 |
Expansion of @donmor's work in #266