All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bluez-devel] Support for stored link keys
@ 2005-04-21 14:46 Marcel Holtmann
  2005-04-21 15:55 ` Mitja Pufic
  2005-04-28 18:28 ` David Woodhouse
  0 siblings, 2 replies; 12+ messages in thread
From: Marcel Holtmann @ 2005-04-21 14:46 UTC (permalink / raw)
  To: BlueZ Mailing List

Hi Folks,

the new support for storing the link keys in an ASCII base format
under /var/lib/bluetooth is now part of the bluez-utils-2.16 release and
I am now thinking of adding support for stored link keys. This would be
very useful for people in multi-boot environments, I think.

However there are some other things first, that should be addressed. The
path for /var/lib/bluetooth is hardcoded into hcid/storage.c at the
moment and that is a bad think. I actually forgot to think about that
problem before I released it.

In the long term there will be config options for the embedded guys to
fully override all storage parameters, but that is future talk. What I
wanna do now is use ${localstatedir} to define the storage place at
compilation time. This means you can add --localstatedir=/var to your
configure command. Do you think that is the right way? Another thing is
if we should use /var/lib64/bluetooth on 64-bit platforms? What is the
deal for the /var directory on these architectures?

Now back to the stored link keys issue. I think about adding a "key"
option to hciconfig which allows you to list all link keys and also to
move specific ones (specified by a BD_ADDR) for storage on the chip. The
question is what should we do with the link key in the linkkeys storage
file? Keep it or delete it afterwards?

I also wanna let hcid retrieve all stored link keys when a new device is
plugged in or configured. Should we then store these keys in the
linkkeys file or cache them only in memory? What we get from link key
notify is obvious a valid key, but the stored ones could be wrong. On
the other side you can also put invalid keys in the linkkeys file very
easy.

Please post your thoughts.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

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

end of thread, other threads:[~2005-04-29  9:37 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-21 14:46 [Bluez-devel] Support for stored link keys Marcel Holtmann
2005-04-21 15:55 ` Mitja Pufic
2005-04-21 16:07   ` Marcel Holtmann
2005-04-21 16:34     ` Mitja Pufic
2005-04-21 16:45       ` Marcel Holtmann
2005-04-22 22:26         ` Scott W Gifford
2005-04-22 22:55           ` Henryk Plötz
2005-04-23  0:00             ` Marcel Holtmann
2005-04-24 18:12         ` Fred Schaettgen
2005-04-21 16:37     ` Mitja Pufic
2005-04-28 18:28 ` David Woodhouse
2005-04-29  9:37   ` Marcel Holtmann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.