If you use ubuntu with LUKS and you use the same pass phrase for multiple volumes, then you will have to enter this pass phrase multiple times.
This is annoying, so I created a modification for the initramfs-tools part of cryptsetup which allows to specify groups of volumes which share a pass phrase. Thus requiring to input each individual pass phrase only once.
I put it on gitlab. Please take a look.
There are security implications. If you have serious requirements on data security DO NOT USE THIS PATCH.
If you want to give this a spin, you should be able to repair a system with a damaged initrd and crypttab. If in doubt, please wait for some success reports of other users.
Suggestions, audits, questions and pull requests are very welcome!
[link] [comments]