You are not logged in.

#1 2021-12-28 15:27:07

uhuu
Member
From: Estonia
Registered: 2010-11-22
Posts: 23

[SOLVED]adding password to luks volume with keyfile

I have secondary datadrive luks encrypted. it is opened via crypttab with keyfile without password during the boot.

had an idea to add passphrase in addition to keyfile - just for plan B

sudo cryptsetup luksAddKey /dev/sda2
Enter any existing passphrase: 
No key available with this passphrase.

How can I add additional passphrase to slot1 if there's only keyfile without passphrase in slot 1?


[SOLVED] Just have to specify keyfile to be used for unlocking with "-d"

Last edited by uhuu (2021-12-28 16:48:54)


Windows is not a virus, virus does something...

Offline

Board footer

Powered by FluxBB