public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] PAN security questions
@ 2007-12-12 13:08 Shane Volpe
  2007-12-12 15:49 ` Marcel Holtmann
  0 siblings, 1 reply; 3+ messages in thread
From: Shane Volpe @ 2007-12-12 13:08 UTC (permalink / raw)
  To: BlueZ users

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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] PAN security questions
  2007-12-12 13:08 [Bluez-users] PAN security questions Shane Volpe
@ 2007-12-12 15:49 ` Marcel Holtmann
  2007-12-12 17:31   ` Shane Volpe
  0 siblings, 1 reply; 3+ messages in thread
From: Marcel Holtmann @ 2007-12-12 15:49 UTC (permalink / raw)
  To: BlueZ users

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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] PAN security questions
  2007-12-12 15:49 ` Marcel Holtmann
@ 2007-12-12 17:31   ` Shane Volpe
  0 siblings, 0 replies; 3+ messages in thread
From: Shane Volpe @ 2007-12-12 17:31 UTC (permalink / raw)
  To: BlueZ users

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 <marcel@holtmann.org> 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
> Bluez-users@lists.sourceforge.net
> 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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

end of thread, other threads:[~2007-12-12 17:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-12 13:08 [Bluez-users] PAN security questions Shane Volpe
2007-12-12 15:49 ` Marcel Holtmann
2007-12-12 17:31   ` Shane Volpe

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