Re: [Bluez-devel] Encryption, authentication with Bluez

Fred Schättgen
2004-05-05T14:04:50Z

On Wednesday 05 May 2004 14:59, Marcel Holtmann wrote:
> Hi Julien,
>
> > 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.
>
> > 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

--
Fred Schaettgen
Sch@ttgen.net