public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] Ubuntu edgy + Keyboard + dbus + security mode 3
@ 2006-11-07 17:57 kilian
  2006-11-13  8:21 ` Marcel Holtmann
  0 siblings, 1 reply; 4+ messages in thread
From: kilian @ 2006-11-07 17:57 UTC (permalink / raw)
  To: bluez-users

Hi Folks!

I am using Ubuntu Edgy (bluez-utils 3.7.1-ubuntu-4) and an apple wireless 
keyboard pro.

Right now the keyboard is running without encryption and authentification.

I read i had to add the "dbus_pin_helper" option to my hcid.conf and run 
bluez-pin --dbus. But as i run "bluez-pin --dbus" nothing happens (even if i 
run it during "hidd --search" on another console) 

The log says Unknown Option "dbus_pin_helper line 26 " 

So whats wrong and what can i do to encrypt the connection?

Regards, 

Kilian

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] Ubuntu edgy + Keyboard + dbus + security mode 3
  2006-11-07 17:57 [Bluez-users] Ubuntu edgy + Keyboard + dbus + security mode 3 kilian
@ 2006-11-13  8:21 ` Marcel Holtmann
  0 siblings, 0 replies; 4+ messages in thread
From: Marcel Holtmann @ 2006-11-13  8:21 UTC (permalink / raw)
  To: BlueZ users

Hi,

> I am using Ubuntu Edgy (bluez-utils 3.7.1-ubuntu-4) and an apple wireless 
> keyboard pro.
> 
> Right now the keyboard is running without encryption and authentification.
> 
> I read i had to add the "dbus_pin_helper" option to my hcid.conf and run 
> bluez-pin --dbus. But as i run "bluez-pin --dbus" nothing happens (even if i 
> run it during "hidd --search" on another console) 
> 
> The log says Unknown Option "dbus_pin_helper line 26 " 
> 
> So whats wrong and what can i do to encrypt the connection?

make sure "hidd --server --encrypt" is running. And the old PIN helper
stuff is deprecated. Make sure a passkey agent is running to answer any
PIN requests.

Regards

Marcel



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] Ubuntu edgy + Keyboard + dbus + security mode 3
       [not found] <mailman.19693.1163411759.8777.bluez-users@lists.sourceforge.net>
@ 2006-11-13 18:07 ` kilian
  2006-11-13 18:29   ` Marcel Holtmann
  0 siblings, 1 reply; 4+ messages in thread
From: kilian @ 2006-11-13 18:07 UTC (permalink / raw)
  To: bluez-users

> > I am using Ubuntu Edgy (bluez-utils 3.7.1-ubuntu-4) and an apple wireless
> > keyboard pro.
> >
> > Right now the keyboard is running without encryption and
> > authentification.
> >
> > I read i had to add the "dbus_pin_helper" option to my hcid.conf and run
> > bluez-pin --dbus. But as i run "bluez-pin --dbus" nothing happens (even
> > if i run it during "hidd --search" on another console)
> >
> > The log says Unknown Option "dbus_pin_helper line 26 "
> >
> > So whats wrong and what can i do to encrypt the connection?
>
> make sure "hidd --server --encrypt" is running. And the old PIN helper
> stuff is deprecated. Make sure a passkey agent is running to answer any
> PIN requests.
>
> Regards
>
> Marcel
>

Hi,

I added the --encrypt option to my /etc/defaults/bluetooth and restarted the 
deamon while running "bluez-pun --dbus". After a few seconds my keyboard 
worked again and hcitool con showed 

ACL XX:XX:XX:XX:XX:XX handle 42 state 1 lm MASTER AUTH ENCRYPT

But even though everything seemed to have worked fine, I wasnt asked for a 
pin... So my Question: Is everything really alright (and secure) now?


Regards,

Kilian

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] Ubuntu edgy + Keyboard + dbus + security mode 3
  2006-11-13 18:07 ` kilian
@ 2006-11-13 18:29   ` Marcel Holtmann
  0 siblings, 0 replies; 4+ messages in thread
From: Marcel Holtmann @ 2006-11-13 18:29 UTC (permalink / raw)
  To: BlueZ users

Hi Kilian,

> I added the --encrypt option to my /etc/defaults/bluetooth and restarted the 
> deamon while running "bluez-pun --dbus". After a few seconds my keyboard 
> worked again and hcitool con showed 
> 
> ACL XX:XX:XX:XX:XX:XX handle 42 state 1 lm MASTER AUTH ENCRYPT
> 
> But even though everything seemed to have worked fine, I wasnt asked for a 
> pin... So my Question: Is everything really alright (and secure) now?

yes it is. However you might wanna consider call "hcitool key ..." to
establish a new link key if you don't know where the old one came from.

Regards

Marcel



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

end of thread, other threads:[~2006-11-13 18:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-07 17:57 [Bluez-users] Ubuntu edgy + Keyboard + dbus + security mode 3 kilian
2006-11-13  8:21 ` Marcel Holtmann
     [not found] <mailman.19693.1163411759.8777.bluez-users@lists.sourceforge.net>
2006-11-13 18:07 ` kilian
2006-11-13 18:29   ` Marcel Holtmann

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