Skip to content

Add support for unlocking multi-device root#57

Open
graywolf wants to merge 1 commit intoalpinelinux:masterfrom
graywolf:multiple_crypt_devices
Open

Add support for unlocking multi-device root#57
graywolf wants to merge 1 commit intoalpinelinux:masterfrom
graywolf:multiple_crypt_devices

Conversation

@graywolf
Copy link
Copy Markdown

@graywolf graywolf commented Oct 4, 2019

Add cryptroo[0-9]= family of options to allow unlocking multi-device
root filesystems, which is needed for btrfs raid1.

@ncopa
Copy link
Copy Markdown
Contributor

ncopa commented Oct 9, 2019

this seems to solve same problem as #54 tries to solve, but in different way?

@graywolf
Copy link
Copy Markdown
Author

graywolf commented Oct 9, 2019

Yes, I think the problem solved is similar (same?). But when I decided to try alpine, #54 was not upstreamed (still is not) and since I did not like few design decisions (not being able to specify different options for different cryptoroots, handling anything ending with *.img as LUKS-encrypted file), I've put together different pull request doing this in backwards compatible way.

EDIT: Thinking about it, my version can also do what #54 is doing, except for the autoclose of the key device. That can either be added (cryptautoclose=true?) or just handled in openrc service added to boot level.

@graywolf
Copy link
Copy Markdown
Author

I've rebased on current master.

@graywolf
Copy link
Copy Markdown
Author

graywolf commented May 3, 2020

Hello,
is there anything I can do to help push this forward?

W.

Add cryptroo[0-9]= family of options to allow unlocking multi-device
root filesystems, which is needed for btrfs raid1.
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