Article 6PK6K Reuse Luks password for Slackware.

Reuse Luks password for Slackware.

by
drigohighlander
from LinuxQuestions.org on (#6PK6K)
Hi guys.
Trying to accomplish this: https://www.enricozini.org/blog/2015...use-passwords/
without success, because, besides it relies on keyctl, the decrypt_keyctl script is rigged with systemd
which makes impossible to use or even change it to works with Slackware.

So I did my on.
It's called Slackware dCrypt
You can download here https://filebin.net/ho9ccj1i6aqqqhi9

Basically I patched init from initrd and rc.luks to be able to unlock my tagged disks with same password.
After I enter the password of my disk, all disk with same tag and password will be automatically unlocked
without asking the same password every time for every disk.

Using the version I made you can continue using the default Slackware scripts normally.
You my find that, the dcrypt works better than Slackware default ones.

Just download the file, run and test
sh dcrypt

You will got an interactive console showing all the steps
If you afraid of something, it's all open.
You can look inside, and see all the patchs and scripts.

Hope it land in Slackware.
Thank you all.
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments