Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1532813

Re: [RFD] Common userspace tool for fscypto

From Richard Weinberger <richard@nod.at>
Newsgroups linux.kernel
Subject Re: [RFD] Common userspace tool for fscypto
Date 2016-11-29 23:10 +0100
Message-ID <sIYL7-5QB-1@gated-at.bofh.it> (permalink)
References <su02u-2rf-47@gated-at.bofh.it> <su30l-4pj-7@gated-at.bofh.it> <sIXvI-4Vd-29@gated-at.bofh.it> <sIYrL-5u6-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Joe,

On 29.11.2016 22:42, Joe Richey wrote:
> Hi Richard,
> 
> I'm Joe Richey, and I work on Mike's team. We've been playing around
> with a few design
> ideas regarding a tool for managing filesystem encryption. After going
> though some iterations
> with Ted, we have a fairly good idea about where to head design wise,
> and I'm working on a
> design document for it. It's a bit preliminary at this point, but I
> can share it if you want.
> 
> Our goal is to have a finished doc by end of Q4 and then get your and
> Jaegeuk's feedback.

Thanks for your quick response!
I hoped you had already some code, but having a decent design document
is also nice. I'm eager to read it.

Do you also plan to address d/page cache related issues?
i.e. when two users are logged into the system user rw
is able to see decrypted file names and contents in /home/dags/
if user dags installs a key and accessed a file.

Or files in /home/dags/ are still readable even after
user dags purged the key.

The tool could play games with CLONE_NEWNS to hide directories.
To provide a correct "logout" we could expose shrink_dcache_parent()
to usespace such that the emerging tool can purge the key and flush
the dcache on the encrypted directory. But I fear exposing shrink_dcache_parent()
is not a good idea. :-)

Just some random ideas...

Thanks,
//richard

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [RFD] Common userspace tool for fscypto Richard Weinberger <richard@nod.at> - 2016-11-29 21:50 +0100
  Re: [RFD] Common userspace tool for fscypto Joe Richey <joerichey@google.com> - 2016-11-29 22:50 +0100
    Re: [RFD] Common userspace tool for fscypto Richard Weinberger <richard@nod.at> - 2016-11-29 23:10 +0100
      Re: [RFD] Common userspace tool for fscypto Eric Biggers <ebiggers@google.com> - 2016-11-30 01:10 +0100
        Re: [RFD] Common userspace tool for fscypto Richard Weinberger <richard@nod.at> - 2016-11-30 09:30 +0100
          Re: [RFD] Common userspace tool for fscypto Eric Biggers <ebiggers@google.com> - 2016-12-03 01:50 +0100
      Re: [RFD] Common userspace tool for fscypto Theodore Ts'o <tytso@mit.edu> - 2016-11-30 22:10 +0100

csiph-web