From: Brian Gix <brian.gix@intel.com>
To: linux-bluetooth@vger.kernel.org
Cc: brian.gix@intel.com, inga.stotland@intel.com,
michal.lowas-rzechonek@silvair.com
Subject: [PATCH BlueZ v3 0/3] mesh: Fix Remote/Local dev key usage
Date: Thu, 26 Sep 2019 11:14:41 -0700 [thread overview]
Message-ID: <20190926181444.4916-1-brian.gix@intel.com> (raw)
V3: By popular demand, the name "remote" is now used for both DevKeySend()
and DevKeyMessageReceived().
In DevKeySend(), setting remote == true means that the Key Ring *must* be
used to encrypt the outgoing message, and a failure will be returned if
the requested destination address does not include a device key in the
local key ring. For remote == false requests, the request will be rejected
if the destination is an element on the local node.
In DevKeyMessageReceived(), the remote boolean will be set == true if it
required the key ring to decrypot the message. If remote == false, this
means that the local nodes Device Key successfully decrypted the message,
and the message may be used to change or query privileged states.
Brian Gix (3):
mesh: Add local/remote bools to DevKey transactions
mesh: Use explicit Local vs Remote Device key usage
mesh: Fix Key Ring permissions for local nodes
doc/mesh-api.txt | 17 ++++++++++++++---
mesh/manager.c | 5 -----
mesh/model.c | 11 +++++++----
mesh/node.c | 40 +++++++++++++++-------------------------
4 files changed, 36 insertions(+), 37 deletions(-)
--
2.21.0
next reply other threads:[~2019-09-26 18:14 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-26 18:14 Brian Gix [this message]
2019-09-26 18:14 ` [PATCH BlueZ v3 1/3] mesh: Add remote boolean to DevKey transactions Brian Gix
2019-09-26 18:14 ` [PATCH BlueZ v3 2/3] mesh: Explicit Remote/Local Device key usage Brian Gix
2019-09-26 20:40 ` Stotland, Inga
2019-09-26 18:14 ` [PATCH BlueZ v3 3/3] mesh: Fix Key Ring permissions for local nodes Brian Gix
2019-09-26 20:41 ` Stotland, Inga
2019-09-26 23:27 ` Gix, Brian
2019-09-27 2:50 ` Stotland, Inga
2019-09-26 20:40 ` [PATCH BlueZ v3 0/3] mesh: Fix Remote/Local dev key usage Stotland, Inga
2019-10-01 18:07 ` Gix, Brian
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=20190926181444.4916-1-brian.gix@intel.com \
--to=brian.gix@intel.com \
--cc=inga.stotland@intel.com \
--cc=linux-bluetooth@vger.kernel.org \
--cc=michal.lowas-rzechonek@silvair.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).