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

zfs: allow unlock multiple encrypted pools #63

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

RinCat
Copy link

@RinCat RinCat commented Jan 23, 2025

Added 2 new values for dozfs.

loadkeyall will use zfs load-key -a to ask all passphrases, not just
root.

unifiedkey will try to use a single key to unlock all pools.
It must be used with loadkeyall. It does not need to be able to unlock
all pools, but it must be able to unlock the root pool.

Also unlock-zfs support -a for all pools, and -u for unified key.

Signed-off-by: Rin Cat (鈴猫) [email protected]

Added 2 new values for `dozfs`.

`loadkeyall` will use `zfs load-key -a` to ask all passphrases, not just
root.

`unifiedkey` will try to use a single key to unlock all pools.
It must be used with `loadkeyall`. It does not need to be able to unlock
all pools, but it must be able to unlock the root pool.

Also `unlock-zfs` support `-a` for all pools, and `-u` for unified key.

Signed-off-by: Rin Cat (鈴猫) <[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.

1 participant