public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] location of link keys
@ 2006-08-30 20:16 Mark S. Townsley
  2006-08-30 23:32 ` Marcel Holtmann
  0 siblings, 1 reply; 4+ messages in thread
From: Mark S. Townsley @ 2006-08-30 20:16 UTC (permalink / raw)
  To: bluez-users


[-- Attachment #1.1: Type: text/plain, Size: 430 bytes --]

Dear All:

I am trying to look for where my link keys are stored by hcid.  I thought it
is under /var/lib/bluetooth but even with paired devices, I still don't see
link keys stored under /var/lib/bluetooth.  I believe link keys are cached
so for a device that has been paired before, the same link key is handed
down during pin-exchange and pairing.

Can you tell me the directory where these link keys are stored?
Thanks

--mark

[-- Attachment #1.2: Type: text/html, Size: 470 bytes --]

[-- Attachment #2: Type: text/plain, Size: 373 bytes --]

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

[-- Attachment #3: Type: text/plain, Size: 164 bytes --]

_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] location of link keys
  2006-08-30 23:32 ` Marcel Holtmann
@ 2006-08-30 22:04   ` Mark S. Townsley
  2006-08-31  0:41     ` Marcel Holtmann
  0 siblings, 1 reply; 4+ messages in thread
From: Mark S. Townsley @ 2006-08-30 22:04 UTC (permalink / raw)
  To: BlueZ users


[-- Attachment #1.1: Type: text/plain, Size: 1304 bytes --]

Thanks for your reply.  That is what I thought except that
once I disconnect from the device, my /var/lib/bluetooth directory is
emptied.    So I am curious how they get wiped out.


On 8/30/06, Marcel Holtmann <marcel@holtmann.org> wrote:
>
> Hi Mark,
>
> > I am trying to look for where my link keys are stored by hcid.  I
> > thought it is under /var/lib/bluetooth but even with paired devices, I
> > still don't see link keys stored under /var/lib/bluetooth.  I believe
> > link keys are cached so for a device that has been paired before, the
> > same link key is handed down during pin-exchange and pairing.
>
> the link keys are stored under /var/lib/bluetooth/<bdaddr>/linkkeys
> since quite some time now.
>
> Regards
>
> Marcel
>
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Bluez-users mailing list
> Bluez-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-users
>

[-- Attachment #1.2: Type: text/html, Size: 1918 bytes --]

[-- Attachment #2: Type: text/plain, Size: 373 bytes --]

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

[-- Attachment #3: Type: text/plain, Size: 164 bytes --]

_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] location of link keys
  2006-08-30 20:16 [Bluez-users] location of link keys Mark S. Townsley
@ 2006-08-30 23:32 ` Marcel Holtmann
  2006-08-30 22:04   ` Mark S. Townsley
  0 siblings, 1 reply; 4+ messages in thread
From: Marcel Holtmann @ 2006-08-30 23:32 UTC (permalink / raw)
  To: BlueZ users

Hi Mark,

> I am trying to look for where my link keys are stored by hcid.  I
> thought it is under /var/lib/bluetooth but even with paired devices, I
> still don't see link keys stored under /var/lib/bluetooth.  I believe
> link keys are cached so for a device that has been paired before, the
> same link key is handed down during pin-exchange and pairing. 

the link keys are stored under /var/lib/bluetooth/<bdaddr>/linkkeys
since quite some time now.

Regards

Marcel



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] location of link keys
  2006-08-30 22:04   ` Mark S. Townsley
@ 2006-08-31  0:41     ` Marcel Holtmann
  0 siblings, 0 replies; 4+ messages in thread
From: Marcel Holtmann @ 2006-08-31  0:41 UTC (permalink / raw)
  To: BlueZ users

Hi Mark,

> Thanks for your reply.  That is what I thought except that 
> once I disconnect from the device, my /var/lib/bluetooth directory is
> emptied.    So I am curious how they get wiped out.

at least not by hcid, because this option doesn't exists. I assume the
never get written. At least you should see a subdirectory for your local
BD_ADDR and the linkkeys file. If you have SELinux, it can be a problem
if not correctly configured. Did you check the syslog for possible error
messages?

Regards

Marcel



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

end of thread, other threads:[~2006-08-31  0:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-30 20:16 [Bluez-users] location of link keys Mark S. Townsley
2006-08-30 23:32 ` Marcel Holtmann
2006-08-30 22:04   ` Mark S. Townsley
2006-08-31  0:41     ` Marcel Holtmann

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