Secure Simple Pairing dialogs not implemented yet
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | ubuntu-system-settings (Ubuntu) |
High
|
Matthew Paul Thomas | ||
| | ubuntu-system-settings (Ubuntu RTM) |
Undecided
|
Unassigned | ||
Bug Description
Right now, only Bluetooth legacy pairing (and I think SSP - JustWorks) is supported by the system settings. That means, newer keyboards, requiring Secure Simple Pairing with DisplayPin/EnterPin modes can't be paired from the ui.
This is the dialog that's missing on the touch version of system settings in order to pair "newer" keyboards: http://
At the moment, it is required to use bluez-simple-agent from commandline to pair such a keyboard. For completeness, this is the steps required to pair from command line:
* put keyboard into discovery mode
* hcitool scan
* bluez-simple-agent hci0 <device-addr>
* now bluez-simple-agent will instruct you to enter that pin, like the missing dialog should do
* qdbus --system org.bluez /org/bluez/
* Now go to the system settings app, and check the "Connect automatically when detected" box
Related branches
- Michael Zanetti (community): Abstain on 2015-02-05
- PS Jenkins bot: Needs Fixing (continuous-integration) on 2015-02-04
- Charles Kerr (community): Approve on 2015-02-04
-
Diff: 234 lines (+134/-12)5 files modifiedplugins/bluetooth/CMakeLists.txt (+1/-0)
plugins/bluetooth/DisplayPasskeyDialog.qml (+56/-0)
plugins/bluetooth/PageComponent.qml (+25/-0)
plugins/bluetooth/agent.cpp (+49/-11)
plugins/bluetooth/agent.h (+3/-1)
- Ken VanDine: Approve on 2015-02-09
- PS Jenkins bot: Needs Fixing (continuous-integration) on 2015-02-05
-
Diff: 464 lines (+160/-50)13 files modifiedplugins/bluetooth/CMakeLists.txt (+1/-0)
plugins/bluetooth/DisplayPasskeyDialog.qml (+56/-0)
plugins/bluetooth/PageComponent.qml (+25/-1)
plugins/bluetooth/agent.cpp (+50/-12)
plugins/bluetooth/agent.h (+4/-2)
plugins/bluetooth/agent.xml (+1/-1)
plugins/bluetooth/agentadaptor.cpp (+3/-3)
plugins/bluetooth/agentadaptor.h (+6/-6)
plugins/bluetooth/bluetooth.cpp (+8/-16)
plugins/bluetooth/bluetooth.h (+0/-1)
plugins/bluetooth/device.cpp (+5/-0)
plugins/bluetooth/device.h (+1/-0)
tests/plugins/bluetooth/tst_bluetooth.cpp (+0/-8)
| Changed in ubuntu-system-settings (Ubuntu): | |
| assignee: | nobody → Canonical Desktop Team (canonical-desktop-team) |
| Sebastien Bacher (seb128) wrote : | #1 |
| Changed in ubuntu-system-settings (Ubuntu): | |
| importance: | Undecided → High |
| Michael Zanetti (mzanetti) wrote : | #2 |
I'm quite happy with this one: http://
Will bring it to the sprint. You can give it a try if you want.
| Changed in ubuntu-system-settings (Ubuntu): | |
| assignee: | Canonical Desktop Team (canonical-desktop-team) → Matthew Paul Thomas (mpt) |
| Sebastien Bacher (seb128) wrote : | #3 |
I did a first implementation, using the current desktop design since we don't have a new design yet, merge request attached to the bug, feedback is welcome
| Changed in ubuntu-system-settings (Ubuntu): | |
| status: | New → In Progress |
| Launchpad Janitor (janitor) wrote : | #4 |
This bug was fixed in the package ubuntu-
---------------
ubuntu-
[ CI Train Bot ]
* Resync trunk
[ Mathieu Trudel-Lapierre ]
* [bluetooth] Display address for device in main list if name hasn't
been discovered yet.
[ Sebastien Bacher ]
* security-privacy: display the password mismatch warning when the new
text and the confirmation have the same length and different
content, without requiring for the user to hit the validation button
* security: use new i18n.ctr rather than qsTr which doesn't use
gettext (LP: #1418537)
* bluetooth: use the correct signature for the DisplayPasskey callback
* bluetooth: implement simple secure pairing dialog (LP: #1415509)
-- Ubuntu daily release <email address hidden> Mon, 09 Feb 2015 15:47:11 +0000
| Changed in ubuntu-system-settings (Ubuntu): | |
| status: | In Progress → Fix Released |
| tags: | added: bq |
| Nephilim1973 (nephilim1973-e) wrote : | #5 |
@ Michael...
Infortunatelly, my MEDION keyboard generates a random 6-digit PIN and I am not able to see this PIN via "bluez-
Regards
| Michael Zanetti (mzanetti) wrote : | #6 |
hmm... bluez-simple-agent still should show the pin... It might be a bit hidden between some other output though.
| Nephilim1973 (nephilim1973-e) wrote : | #7 |
$ hcitool scan
Scanning ...
90:7F:61:8E:B6:55 Medion BT Keyboard
phablet@
/usr/bin/
mainloop = GObject.MainLoop()
RequestPinCode (/org/bluez/
Enter PIN Code:
--> No PIN code :-(
| Michael Zanetti (mzanetti) wrote : | #8 |
In which case I would think you need to enter one here, and then enter the same on the keyboard, followed by pressing the enter key. Anyhow, this bug report is not about how to use bluez-simple-
| Nephilim1973 (nephilim1973-e) wrote : | #9 |
Sorry, but I don't think, that this is a handling issue...
```
$ bluez-simple-agent hci0 90:7F:61:8E:B6:55
/usr/bin/
mainloop = GObject.MainLoop()
RequestPinCode (/org/bluez/
Enter PIN Code: 1111
Release
New device (/org/bluez/
```
After this, the BT keyboard is connected for some seconds and then it automatically disconnects.
In system settings app it is not possible to reconnect, but the keyboard is a known device.
Regards.


Does anyone has a recommendation for a cheap bluetooth device supporting ssp pairing? Googling it seems that the microsoft "Wedge Mobile Keyboard" does, what are others testing with?