I've been using luks with a passphrase for years, but sometime in the past months, since installing bullseye, it started using a keyfile for my home partition.
I get prompted for the passphrases for /, and swap, but not home.
First, I have no idea how this happened, or how it's even possible.
But mainly I'm looking for the steps to get rid of the keyfile and revert to a passphrase for my home partition.
I've been searching, but haven't found any clear instructions.
Regards,
Tom
[Software] Luks suddenly not requiring passphrase
[Software] Luks suddenly not requiring passphrase
Tom Rowe
Four wheel drive allows you to get stuck
in places even more inaccessible.
Four wheel drive allows you to get stuck
in places even more inaccessible.
- kent_dorfman766
- Posts: 549
- Joined: 2022-12-16 06:34
- Location: socialist states of america
- Has thanked: 61 times
- Been thanked: 70 times
Re: [Software] Luks suddenly not requiring passphrase
I cannot remember the filename but under the root (probly /etc directory) will exist a keys file/directory. back it up...and delete it...then expect that you may or may not be presented with the opportunity to enter your key for /home upon bootup...will depend upon your specific config
Re: [Software] Luks suddenly not requiring passphrase
Did you happen to remember the path and filename? I couldn't find it and never got back here.
I just installed I just installed bookworm on one of my laptops and was VERY careful to set encryption on all 3 drives (root, swap, home) to a passphrase (I used the same passphrase for all three in case that affects behavior) and was prompted 6 times for the passphrase (enter and confirm), but when it boots it only asks for the passphrase for root and swap. Once swap is confirmed, it finishes booting.
I still can't find the keyfile.
Regards,
Tom
I just installed I just installed bookworm on one of my laptops and was VERY careful to set encryption on all 3 drives (root, swap, home) to a passphrase (I used the same passphrase for all three in case that affects behavior) and was prompted 6 times for the passphrase (enter and confirm), but when it boots it only asks for the passphrase for root and swap. Once swap is confirmed, it finishes booting.
I still can't find the keyfile.
Regards,
Tom
Tom Rowe
Four wheel drive allows you to get stuck
in places even more inaccessible.
Four wheel drive allows you to get stuck
in places even more inaccessible.
-
- Global Moderator
- Posts: 3950
- Joined: 2014-07-20 18:12
- Location: Europe
- Has thanked: 109 times
- Been thanked: 518 times
Re: [Software] Luks suddenly not requiring passphrase
Hello,
Can you report a full copy of the system log ? You can use the command:
The log will be in the file named log.txt
You can report logs in one of the following ways:
Is it used the same pass-phrase for all encrypted partitions ?rovernut wrote: ↑2024-09-30 16:28 I just installed I just installed bookworm on one of my laptops and was VERY careful to set encryption on all 3 drives (root, swap, home) to a passphrase (I used the same passphrase for all three in case that affects behavior) and was prompted 6 times for the passphrase (enter and confirm), but when it boots it only asks for the passphrase for root and swap. Once swap is confirmed, it finishes booting.
Can you report a full copy of the system log ? You can use the command:
Code: Select all
script log.txt
journalctl -b --no-pager
exit
You can report logs in one of the following ways:
- paste them into the Debian Pastezone service (https://paste.debian.net) and report the URL/link of the paste in a follow-up message
- attaching the logs to a follow-up forum message as a compressed zip or gz file
- paste logs into the body of a follow-up message between code tags (if they fit the size of a forum message)
Re: [Software] Luks suddenly not requiring passphrase
Yes. it's a 29 character passphrase, I only want to remember one.
Are there particular strings you're interested in? I'm not crazy about posting the fully log unless I absolutely need to.Can you report a full copy of the system log ?
regards,
Tom
Tom Rowe
Four wheel drive allows you to get stuck
in places even more inaccessible.
Four wheel drive allows you to get stuck
in places even more inaccessible.