kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: Yann Droneaud <ydroneaud@opteya.com>
To: noloader@gmail.com, kernelnewbies <kernelnewbies@kernelnewbies.org>
Subject: Re: Kernel assisted keychain?
Date: Mon, 23 Dec 2019 15:47:20 +0100	[thread overview]
Message-ID: <36d998e858b24bb67324f974b5de94572f306ee6.camel@opteya.com> (raw)
In-Reply-To: <CAH8yC8kmeTTXS0_fOJ1V_Zm899Y7ZWGpeqH5S47QsqkYz9FNQA@mail.gmail.com>

Le vendredi 20 décembre 2019 à 11:13 -0500, Jeffrey Walton a écrit :
> Hi Everyone,
> 
> Does the kernel have a Keychain API to save secrets locally? I'm
> specifically looking for kernel assistance and a API to use across
> different OSes.
> 

AFAIK kernel doens't "save secrets locally" (in the sense those secrets
are available across reboot), you have to use higher level API such as 
https://freedesktop.org/wiki/Specifications/secret-storage-spec/ with
implementation such as https://wiki.gnome.org/Projects/Libsecret

But kernel can hold secrets with the keyring API 
http://man7.org/linux/man-pages/man7/keyrings.7.html
https://www.kernel.org/doc/Documentation/security/keys.txt

Regards.

-- 
Yann Droneaud
OPTEYA



_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

      reply	other threads:[~2019-12-23 14:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-20 16:13 Kernel assisted keychain? Jeffrey Walton
2019-12-23 14:47 ` Yann Droneaud [this message]

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=36d998e858b24bb67324f974b5de94572f306ee6.camel@opteya.com \
    --to=ydroneaud@opteya.com \
    --cc=kernelnewbies@kernelnewbies.org \
    --cc=noloader@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).