mesh: Fix Remote/Local dev key usage
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest3 patches 6 repliesIn review
- v23 patches 0 repliesSuperseded
- v11 patch 3 repliesSuperseded
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | mesh: Add remote boolean to DevKey transactionsdoc/ | +14 | 0 replies | |
| 2/3 | mesh: Explicit Remote/Local Device key usagemesh/ mesh/ | +22 | 1 reply | |
| 3/3 | mesh: Fix Key Ring permissions for local nodesmesh/ mesh/ | +0 | 3 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH BlueZ v3 0/3] mesh: Fix Remote/Local dev key usage
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(-)
Signature · 1 line
2.21.0