How to encyrpt files in linux with certificate

akinkara

New Member
Joined
Mar 2, 2021
Messages
1
Reaction score
0
Credits
12
Simply: I use efs to encrypt my files in windows, i want the same in linux without luks because luks encyrpts the partition and asks for password on system login, i want the encyrption with certificate without prompt password.
 


f33dm3bits

Gold Member
Gold Supporter
Joined
Dec 11, 2019
Messages
4,776
Reaction score
3,430
Credits
34,774
You can still use luks to encrypt you partition and not need a password do decrypt it. All you have to do is generate a secondary key without password to the encrypted partition, then add it to /etc/crypttab and the decrypted device in your /etc/fstab and it will decrypt it on boot without it asking for a password.
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Linux.org Hosting Donations
Consider making a donation

Members online


Top