public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: William Kenworthy <billk@iinet.net.au>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Encrypted drive setup at login and locking on logout.
Date: Mon, 6 Jul 2020 13:24:53 +0800	[thread overview]
Message-ID: <ac1f7450-052f-7318-a4ed-2eb4ebc6aef1@iinet.net.au> (raw)
In-Reply-To: <c8dd9093-6c00-6f05-4521-2844bb47f8a5@gmail.com>

Hi Dale, I looked at Veracrypt and ran into the fact that it on windows
Veracrypt MUST be installed by an administrator which is a blocker for
using USB keys on computers I don't control (such as transporting files
securely between locations - i.e., where there is potential to lose the
usb key):

see
https://www.veracrypt.fr/en/Using%20VeraCrypt%20Without%20Administrator%20Privileges.html

BillK


On 6/7/20 12:49 pm, Dale wrote:
> 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
>
> :-)  :-) 


  reply	other threads:[~2020-07-06  5:25 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
2020-07-06  5:24   ` William Kenworthy [this message]
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=ac1f7450-052f-7318-a4ed-2eb4ebc6aef1@iinet.net.au \
    --to=billk@iinet.net.au \
    --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