public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Dale <rdalek1967@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Encrypted drive setup at login and locking on logout.
Date: Sun, 5 Jul 2020 23:49:14 -0500	[thread overview]
Message-ID: <c8dd9093-6c00-6f05-4521-2844bb47f8a5@gmail.com> (raw)
In-Reply-To: <e8285ae9-3c8f-c625-30a0-c56c51258b90@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1978 bytes --]

Dale wrote:
> Howdy,
>
> As some know, I been playing with encryption recently.  I got doing it
> on the command line and using veracrypt for USB sticks down.  I use
> Veracrypt for those that I want to work on windoze as well, I hope
> anyway.  Now I'm moving on to something else. 
>
> Now that I have a spare drive, I want to encrypt it and have a mount
> point for it, /home/dale/documents for example.  What I'd like to do,
> when I login in, it asks me for the encryption password and then
> mounts it.  When I log out, it reverses.  I'm not doing all of /home
> because I want to separate some info.  I may do it later. 
>
> I did some googling but maybe my search terms aren't good enough.  I
> mostly find for /home as a whole but not separate parts of it.  When I
> add in Gentoo does some things differently, it may be that this isn't
> even doable.  Also, my user password and password for the encryption
> will be different.  I'm using KDE but anything that will work as part
> of KDE or along with KDE will be fine with me. 
>
> Does anyone have a howto they can link to?  Is this even doable? 
>
> Thanks.
>
> Dale
>
> :-)  :-) 


Digging around I found these. 

[ebuild  N    ~] sys-fs/ecryptfs-utils-111_p20170609::gentoo  USE="gtk
nls pam -doc -gpg -openssl -pkcs11 -python -suid -tpm"
PYTHON_SINGLE_TARGET="python2_7" 1,401 KiB
[ebuild  N     ] sys-fs/cryptmount-5.3.2::gentoo  USE="gcrypt largefile
luks nls openssl udev -argv0switch -cswap -fsck -mount (-selinux)
-systemd" 533 KiB

Looking at the info I've found tho, I don't think it will do what I'm
looking for.  Has anyone used either of these in the past?  If so, does
one of these do what I'm looking for?

I'm surprised someone hasn't come up with this before.  Surely I'm not
the only one who would like a automatic way to decrypt, mount, umount
and encrypt with some sort of automated process.  Sort of like a USB
stick only with encryption. 

Dale

:-)  :-) 

[-- Attachment #2: Type: text/html, Size: 2792 bytes --]

  parent reply	other threads:[~2020-07-06  4:49 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-04  2:23 [gentoo-user] Encrypted drive setup at login and locking on logout Dale
2020-07-04  3:49 ` Francesco Turco
2020-07-04 13:01   ` Michael
2020-07-06  4:49 ` Dale [this message]
2020-07-06  5:24   ` William Kenworthy
2020-07-06  6:37     ` Dale
2020-07-06  9:05       ` William Kenworthy
2020-07-06  9:46         ` Dale
2020-07-06 10:17         ` Neil Bothwick
2020-07-06 11:02         ` Rich Freeman
2020-07-06  8:21   ` Neil Bothwick
2020-07-06  9:53     ` Dale
2020-07-06 10:19       ` Neil Bothwick

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c8dd9093-6c00-6f05-4521-2844bb47f8a5@gmail.com \
    --to=rdalek1967@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox