Skip to content

RFC Reauthentication support

Szymon Janc linux-bluetooth 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2doc: Add reauthentication commands and event to Management APIdoc/mgmt-api.txt+105 -04 replies
2/2doc: Add reauthentication support to Agent APIdoc/agent-api.txt+42 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC 0/2] Reauthentication support

Hi,

Following patches are initial proposal for introducting reauthentication support for BlueZ. This allows to set system wide property to change default action when remote is missing link key from 'disconnect' to 'user consent' or 'auto-reauthentication' (later is what e.g. Android does).

Since reauthencation is not something that happens all the time first draft proposal is for single system wide policy.

It is also possible to prepare more fine grained API like per adapter or per device property. Not sure if that would give some real benefit over system wide property... I have some draft proposal for such API as well but wanted to get feedback for simpler variant first.

Some open points include pairing failure after reauthentication or weaker key being created... should old key be restored in such case? Or just handle those as regular pairing failure/success (there was user consent after all) and don't restore old linkkey?

Last but not least:) Is 'reauthentication' a good name? Other option would be 'repairing' but that might be confusing with fixing..

Comments are welcome.

Signature · 13 lines
BR
Szymon Janc

Szymon Janc (2):
  doc: Add reauthentication commands and event to Management API
  doc: Add reauthentication support to Agent API

 doc/agent-api.txt |   43 +++++++++++++++++++++-
 doc/mgmt-api.txt  |  105 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 147 insertions(+), 1 deletion(-)

-- 
1.7.10.4