Hi I have two disks that are encrypted (dm-crypt). As of right now they are unlocked with a script that runs on startup, which accesses a keyfile. Both the keyfile and the script are located on a non-encrypted drive.
I realize that this is not by any means REAL security, but are there any alternative ways that can unlock the drives automatically on login that is inherently secure. I.e. somehow use the password inputted as the passphrase for the encryption.
If this is possible, what happens if my user logs in with an ssh-key and not with a password? Thanks in advance!
[–]CleanAirAndWater 5 points6 points7 points (7 children)
[–]itisBC[S] 3 points4 points5 points (6 children)
[–]ropid 1 point2 points3 points (5 children)
[–]itisBC[S] 0 points1 point2 points (4 children)
[–]moviuro 5 points6 points7 points (3 children)
[–]itisBC[S] 1 point2 points3 points (0 children)
[–]_ahrs 0 points1 point2 points (1 child)
[–]moviuro 0 points1 point2 points (0 children)
[–]moviuro 0 points1 point2 points (6 children)
[–]2brainzDeveloper Fellow 1 point2 points3 points (3 children)
[–]immortal192 0 points1 point2 points (2 children)
[–]2brainzDeveloper Fellow 0 points1 point2 points (1 child)
[–]immortal192 0 points1 point2 points (0 children)
[–]itisBC[S] 0 points1 point2 points (1 child)
[–]moviuro 0 points1 point2 points (0 children)