Encryption, authentication with Bluez
Hi Everybody,
With the hciconfig tool, authentication and encryption can be switch to on/off.
But if I well understood, this affects the local device and therefore every future connection.
Is there any way to have two connections, one using authentication and not the other?
Thank you for your answers,
Julien Campana
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
Marcel Holtmann
maintainerHi Julien,
Quoted 4 lines
With the hciconfig tool, authentication and encryption can be switch to on/off.
But if I well understood, this affects the local device and therefore every future connection.
if you switch auth and encrypt on with hciconfig or in hcid.conf then you are in security mode 3.
Quoted 2 lines
Is there any way to have two connections, one using authentication and not the other?
This is security mode 2 (also called service level security) and of course this is possible. You can trigger auth or switch encryption with hcitool.
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
Quoted 10 lines · Marcel Holtmann
Hi Julien,
Quoted 4 lines
With the hciconfig tool, authentication and encryption can be switch to on/off.
But if I well understood, this affects the local device and therefore every future connection.if you switch auth and encrypt on with hciconfig or in hcid.conf then you are in security mode 3.
Quoted 6 lines
Quoted 2 lines
Is there any way to have two connections, one using authentication and not the other?
This is security mode 2 (also called service level security) and of course this is possible. You can trigger auth or switch encryption with hcitool.
Marcel, some time ago you said you were planning to add an ioctl to let regular users trigger an authentication request. Is this possible in the meantime? Or are there any reasons why this isn't a good idea?
It would be very useful for our KDE stuff (obex push -> no authentication, other services -> authentication required). Otherwise I'd have to work around it with a small suid helper to ask for authentication, but I really want to avoid a hack like that.
regards
Fred
Signature · 2 lines
Fred Schaettgen [email protected]
Marcel Holtmann
maintainerHi Fred,
Quoted 3 lines
Marcel, some time ago you said you were planning to add an ioctl to let regular users trigger an authentication request. Is this possible in the meantime? Or are there any reasons why this isn't a good idea?
I think the idea is still good, but I am not sure how we really handle this inside the kernel. And right now I don't have enough time to think about it. However I am happy to look at any patch that supports this idea.
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel