All of lore.kernel.org
 help / color / mirror / Atom feed
From: Omar Sandoval <osandov@osandov.com>
To: linux-fscrypt@vger.kernel.org
Cc: Sergey Anpilov <anpilov@fb.com>, Pavlo Kushnir <pavlo@fb.com>
Subject: Using TPM trusted keys (w/ v2 policies?)
Date: Thu, 16 Jan 2020 11:32:28 -0800	[thread overview]
Message-ID: <20200116193228.GA266386@vader> (raw)

Hi,

We're exploring fscrypt, and we were hoping to make use of a trusted key [1] so
that we could avoid exposing the master key to userspace. I found a patch [2]
from a couple of years ago adding this support. However, trusted keys in the
kernel seem to be tied to the keyring, which is not used for v2 encryption
policies. Seeing as v1 policies are considered deprecated, what would be the
way to move forward with this feature? Would it make sense to add minimal
keyring integration for v2 policies in order to support this use case?

Thanks!

1: https://www.kernel.org/doc/html/latest/security/keys/trusted-encrypted.html
2: https://lore.kernel.org/linux-fscrypt/20180118131359.8365-1-git@andred.net/

             reply	other threads:[~2020-01-16 19:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-16 19:32 Omar Sandoval [this message]
2020-01-16 19:53 ` Using TPM trusted keys (w/ v2 policies?) Eric Biggers

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=20200116193228.GA266386@vader \
    --to=osandov@osandov.com \
    --cc=anpilov@fb.com \
    --cc=linux-fscrypt@vger.kernel.org \
    --cc=pavlo@fb.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.