From: Szymon Janc <szymon.janc@gmail.com>
To: linux-bluetooth@vger.kernel.org
Cc: Szymon Janc <szymon.janc@gmail.com>
Subject: [RFC 0/2] Reauthentication support
Date: Tue, 14 May 2013 23:23:13 +0200 [thread overview]
Message-ID: <1368566595-8836-1-git-send-email-szymon.janc@gmail.com> (raw)
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
next reply other threads:[~2013-05-14 21:23 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-14 21:23 Szymon Janc [this message]
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
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=1368566595-8836-1-git-send-email-szymon.janc@gmail.com \
--to=szymon.janc@gmail.com \
--cc=linux-bluetooth@vger.kernel.org \
/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).