Linux bluetooth development
 help / color / mirror / Atom feed
* SM: is BlueZ the Master/Initiator or Slave/Responder?
@ 2013-11-25 21:17 Scott James Remnant
  2013-11-28 16:59 ` Vinicius Costa Gomes
  0 siblings, 1 reply; 3+ messages in thread
From: Scott James Remnant @ 2013-11-25 21:17 UTC (permalink / raw)
  To: linux-bluetooth@vger.kernel.org, Holtmann, Marcel, Johan Hedberg,
	Brian Gix

We are able to pass all qualification tests with BlueZ as the Master except one:

  TP/KDU/BV-06-C - Master Key Distribution - Encryption Key bit

This test requires that BlueZ initiates pairing with the
SMP_DIST_ENC_KEY bit set in the init_key_dist member of struct
smp_cmd_pairing - however this member is always initialized to zero
and never changed.

This seems to have changed at some point in the past, 2b64d153 added
MITM mechanism and changed the init_key_dist member initialization
from dist_keys to 0


So two questions:

 1) should BlueZ be able to behave as Master? It passes the majority
of the tests except this one.

 2) given the above, is this a bug that init_key_dist is 0 or is it a
test plan error that it requires this?

Scott
-- 
Scott James Remnant | Chrome OS Systems | keybuk@google.com | Google

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

end of thread, other threads:[~2013-12-06 19:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-25 21:17 SM: is BlueZ the Master/Initiator or Slave/Responder? Scott James Remnant
2013-11-28 16:59 ` Vinicius Costa Gomes
2013-12-06 19:47   ` Scott James Remnant

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox