linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC 0/2] Reauthentication support
@ 2013-05-14 21:23 Szymon Janc
  2013-05-14 21:23 ` [RFC 1/2] doc: Add reauthentication commands and event to Management API Szymon Janc
  2013-05-14 21:23 ` [RFC 2/2] doc: Add reauthentication support to Agent API Szymon Janc
  0 siblings, 2 replies; 7+ messages in thread
From: Szymon Janc @ 2013-05-14 21:23 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Szymon Janc

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.

-- 
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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-05-30 22:10 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-14 21:23 [RFC 0/2] Reauthentication support Szymon Janc
2013-05-14 21:23 ` [RFC 1/2] doc: Add reauthentication commands and event to Management API Szymon Janc
2013-05-14 23:15   ` Vinicius Costa Gomes
2013-05-27 18:50     ` Szymon Janc
2013-05-27 18:57       ` Marcel Holtmann
2013-05-30 22:10         ` Szymon Janc
2013-05-14 21:23 ` [RFC 2/2] doc: Add reauthentication support to Agent API Szymon Janc

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).