Linux bluetooth development
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: Szymon Janc <szymon.janc@tieto.com>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: [PATCH] Bluetooth: Limit OOB to P-256 values for Secure Connection Only mode
Date: Tue, 27 Jan 2015 13:08:34 -0800	[thread overview]
Message-ID: <459A528B-2187-4CD6-B299-42EB967F98FF@holtmann.org> (raw)
In-Reply-To: <2080375.GZdINHllEn@leonov>

Hi Szymon,

>> When using Secure Connection Only mode, the P-192 hash and rand values
>> for BR/EDR and the TK value for LE are not valid. The Secure Connections
>> Only mode limits the encryption keys to P-256 derived values for both
>> transports. To avoid accidentally loading weak values for pairing just
>> restrict it to P-256 values.
> 
> If so, shouldn't enabling Secure Connection Only mode result in clearing OOB 
> data (or at least removing legacy ones)?

coming to think about this, another option is to just not use the P-192 values when in SC only mode. Which is something we are currently missing.

Regards

Marcel


      parent reply	other threads:[~2015-01-27 21:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-27 19:21 [PATCH] Bluetooth: Limit OOB to P-256 values for Secure Connection Only mode Marcel Holtmann
2015-01-27 20:13 ` Szymon Janc
2015-01-27 20:39   ` Marcel Holtmann
2015-01-27 21:08   ` Marcel Holtmann [this message]

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=459A528B-2187-4CD6-B299-42EB967F98FF@holtmann.org \
    --to=marcel@holtmann.org \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=szymon.janc@tieto.com \
    /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