Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Korsgaard <peter@korsgaard.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 3/5] tpm2-abrmd: new package
Date: Sun, 18 Mar 2018 23:15:56 +0100	[thread overview]
Message-ID: <87po41do83.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <20180315125602.26186-3-casantos@datacom.ind.br> (Carlos Santos's message of "Thu, 15 Mar 2018 09:56:00 -0300")

>>>>> "Carlos" == Carlos Santos <casantos@datacom.ind.br> writes:

 > This is a system daemon implementing the TPM2 access broker (TAB) &
 > Resource Manager (RM) spec from the TCG. The daemon (tpm2-abrmd) is
 > implemented using Glib and the GObject system.

 > Communication between the daemon and clients using the TPM is done with
 > a combination of DBus and Unix pipes. DBus is used for discovery,
 > session management and the 'cancel', 'setLocality', and 'getPollHandles'
 > API calls (mostly these aren't yet implemented). Pipes are used to send
 > and receive TPM commands and responses (respectively) between client and
 > server.

 > The daemon owns the com.intel.tss2.Tabrmd name on dbus. It can be
 > configured to connect to either the system or the session bus.

 > The package also provides a client library for interacting with the
 > daemon via TPM Command Transmission Interface (TCTI). It is intended for
 > use with the SAPI library (libsapi) like any other TCTI.

 > Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
 > ---
 >  package/Config.in                         |  1 +
 >  package/tpm2-abrmd/Config.in              | 25 +++++++++++
 >  package/tpm2-abrmd/S30devtpmperms         | 37 ++++++++++++++++
 >  package/tpm2-abrmd/S80tpm2-abrmd          | 74 +++++++++++++++++++++++++++++++
 >  package/tpm2-abrmd/etc.default.tpm2-abrmd |  1 +

I think this is a bit too complicated / wordy. When there are sensible
defaults we add those to the init script and just allow an
/etc/default/<pkg> to override it for special setups, so I've dropped
the etc.default.tpm2-abrmd.

The same for S30devtpmperms - I have simply added:

chown tss:tss /dev/tpm[0-9]* && chmod 600 /dev/tpm*

To check_device() in S80tpm2-abrmd and dropped S30devtpmperms.

Committed with these changes, thanks.

-- 
Bye, Peter Korsgaard

  reply	other threads:[~2018-03-18 22:15 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-15 12:55 [Buildroot] [PATCH 1/5] tmp2-tss: remove architecture restriction Carlos Santos
2018-03-15 12:55 ` [Buildroot] [PATCH 2/5] tmp2-tss: bump to version 1.4.0 Carlos Santos
2018-03-18 21:03   ` Peter Korsgaard
2018-03-20  6:23     ` Peter Korsgaard
2018-03-21 11:54       ` Carlos Santos
2018-03-21 13:18         ` Peter Korsgaard
2018-03-15 12:56 ` [Buildroot] [PATCH 3/5] tpm2-abrmd: new package Carlos Santos
2018-03-18 22:15   ` Peter Korsgaard [this message]
2018-03-15 12:56 ` [Buildroot] [PATCH 4/5] tpm2-tools: " Carlos Santos
2018-03-18 22:24   ` Peter Korsgaard
2018-03-21 11:49     ` Carlos Santos
2018-03-15 12:56 ` [Buildroot] [PATCH 5/5] DEVELOPERS: add myself for tpm2-{abrmd, tools, tss} Carlos Santos
2018-03-18 22:24   ` Peter Korsgaard
2018-03-18 21:02 ` [Buildroot] [PATCH 1/5] tmp2-tss: remove architecture restriction Peter Korsgaard

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=87po41do83.fsf@dell.be.48ers.dk \
    --to=peter@korsgaard.com \
    --cc=buildroot@busybox.net \
    /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