Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Encrypted drive setup at login and locking on logout.
Date: Mon, 06 Jul 2020 09:53:32
Message-Id: d15d68ba-ba0b-b40d-e3e7-4328711681e2@gmail.com
In Reply to: Re: [gentoo-user] Encrypted drive setup at login and locking on logout. by Neil Bothwick
1 Neil Bothwick wrote:
2 > On Sun, 5 Jul 2020 23:49:14 -0500, Dale wrote:
3 >
4 >> Digging around I found these. 
5 >>
6 >> [ebuild  N    ~] sys-fs/ecryptfs-utils-111_p20170609::gentoo  USE="gtk
7 >> nls pam -doc -gpg -openssl -pkcs11 -python -suid -tpm"
8 >> PYTHON_SINGLE_TARGET="python2_7" 1,401 KiB
9 >> [ebuild  N     ] sys-fs/cryptmount-5.3.2::gentoo  USE="gcrypt largefile
10 >> luks nls openssl udev -argv0switch -cswap -fsck -mount (-selinux)
11 >> -systemd" 533 KiB
12 >>
13 >> Looking at the info I've found tho, I don't think it will do what I'm
14 >> looking for.  Has anyone used either of these in the past?  If so, does
15 >> one of these do what I'm looking for?
16 > ecryptfs-utils is the userland management of the kernel's ecryptfs.
17 > Ecryptfs uses an overlay filesystem to encrypt files within a directory,
18 > it is what Ubuntu uses for encrypted home directories
19 >
20 > cryptmount is for working with LUKS filesystems, which appears to be the
21 > route you are leaning towards. I haven't used it and don't know what
22 > advantages it has over a user script, if you want to manually mount the
23 > filesystem, or /etc/crypttab.
24 >
25 >
26
27 I thought Gentoo used /etc/conf.d/dmcypt?  I still haven't figured that
28 part out yet.  I need to read up on that more.  I'm not sure what it
29 does exactly, yet.
30
31 Dale
32
33 :-)  :-) 

Replies

Subject Author
Re: [gentoo-user] Encrypted drive setup at login and locking on logout. Neil Bothwick <neil@××××××××××.uk>