mbox series

[BlueZ,0/6] Honor provisioner's capabilities during authentication

Message ID 20200401102502.746-1-michal.lowas-rzechonek@silvair.com
Headers show
Series Honor provisioner's capabilities during authentication | expand

Message

Michał Lowas-Rzechonek April 1, 2020, 10:24 a.m. UTC
This patch adds ability for the provisioner application to declare a set
of supported authentication methods via ProvisionAgent1 API. The daemon
will then select the most secure method available on both ends.

This fixes an issue where nodes declaring OOB public key availability
could not be provisioned by applications lacking means to obtain such
keys.

v2:
 - fixed memory leak when displaying OOB data in cfgclient
 - fixed action bitmask endianness between mesh_agent_prov_caps and
   mesh_net_prov_caps

Michał Lowas-Rzechonek (6):
  tools/mesh-cfgclient: Display unprovisioned OOB data
  mesh: Remove unused 'server' argument
  mesh: Clean up naming of provisioning callbacks
  mesh: Refresh provisioner's capabilities
  mesh: Honor provisioner's capabilities
  doc/mesh-api: OOB Information field is 16 bit, not 32

 doc/mesh-api.txt       |   2 +-
 mesh/agent.c           | 105 ++++++++++++++++++++++++-----
 mesh/agent.h           |   2 +
 mesh/manager.c         |  33 ++++++---
 mesh/prov-initiator.c  | 148 +++++++++++++++++++++++++++--------------
 mesh/provision.h       |   6 +-
 tools/mesh-cfgclient.c |  20 ++++++
 7 files changed, 236 insertions(+), 80 deletions(-)