2007-12-12 13:08:16

by Shane Volpe

[permalink] [raw]
Subject: [Bluez-users] PAN security questions

PAND MAN file lists the following options regarding security:
--encrypt -E
Enable encryption
--secure -S
Secure connection

The PAND howto (http://bluez.sourceforge.net/contrib/HOWTO-PAN)
explains --encrypt as follows:
"activates BT security (authentication and encryption)"

so then what does the option --secure do?

If you use --encrypt I'm assuming
During initialization the paraphrase is sent (via the passkey-agent)
unencrypted (authentication) and after a PAND connection is finally
made only then is the data encrypted is this correct?
Regards,
Shane

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users


2007-12-12 17:31:22

by Shane Volpe

[permalink] [raw]
Subject: Re: [Bluez-users] PAN security questions

Marcel,
The paraphrase exchange is unencrypted correct? So I would really
need to come up with some method of security as it would be easy to
get the password by sniffing. I guess this is probably not a big
issue as I could use a gpg key or ssh style key and require some
encrypted ack message sent with gpg or ssh and if it is not encrypted
with the right key then just boot the connection. I would be
interested in hearing how others handle it. The only way this would
fail is if someone leaked one of the private keys.
Regards,
Shane

On Dec 12, 2007 10:49 AM, Marcel Holtmann <[email protected]> wrote:
> Hi Shane,
>
> > PAND MAN file lists the following options regarding security:
> > --encrypt -E
> > Enable encryption
> > --secure -S
> > Secure connection
> >
> > The PAND howto (http://bluez.sourceforge.net/contrib/HOWTO-PAN)
> > explains --encrypt as follows:
> > "activates BT security (authentication and encryption)"
> >
> > so then what does the option --secure do?
>
> the --encrypt does authentication and then encrypt the link. With the
> --secure you do the authentication, then encrypt the link and then make
> sure the link key will be re-generated. It is an extra step of
> protection since the link key itself has no expiration date.
>
> Regards
>
> Marcel
>
>
>
> -------------------------------------------------------------------------
> SF.Net email is sponsored by:
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> Bluez-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bluez-users
>



--
Registered Linux User: #293401

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2007-12-12 15:49:26

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] PAN security questions

Hi Shane,

> PAND MAN file lists the following options regarding security:
> --encrypt -E
> Enable encryption
> --secure -S
> Secure connection
>
> The PAND howto (http://bluez.sourceforge.net/contrib/HOWTO-PAN)
> explains --encrypt as follows:
> "activates BT security (authentication and encryption)"
>
> so then what does the option --secure do?

the --encrypt does authentication and then encrypt the link. With the
--secure you do the authentication, then encrypt the link and then make
sure the link key will be re-generated. It is an extra step of
protection since the link key itself has no expiration date.

Regards

Marcel



-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users