Is crypttab secure to automount a partition?
Christopher de Vidal <[email protected]> Sat, 20 Mar 2021 12:43:55 -0400
| Newsgroups | gmane.linux.kernel.device-mapper.dm-crypt |
|---|---|
| Message-ID | <CAA2KLbZz-GMUrhzdWwsXdU3M7agw7HOV5_eo6dW26joMB4hKtQ@mail.gmail.com> |
I am a newbie with this so go gentle please :-) I want to automagically mount a partition at boot. Is it secure to use the crypttab key field? I assume I would have to store the passphrase plain texting the file specified in the key field, and since as I understand it the point of partition encryption is to prevent a malicious local user with physical access from reading the files, if the user can read the file specified in the key field, wouldn't they then be able to decrypt the partition? Seems to me like leaving the front door key under the doormat, but maybe I'm just ignorant how it works. Please educate this newbie. Christopher de Vidal _______________________________________________ dm-crypt mailing list -- [email protected] To unsubscribe send an email to [email protected]