Bluetooth configuration - where is it stored on Debian?
After many hours of searching I can confirm that on Debian 6 and Ubuntu 10.04 information about Bluetooth devices and pairing is not stored by default in any of the following places:
/etc/hcid.conf /etc/bluetooth/main.conf gconf registry I have searched every file in / using ack-grep for the pin for my device in attempt to find where this data is stored. Nothing was found. The source code for bluetooth-applet (for gnome) seems to indicate that bluetooth device info is encrypted and then saved using D-Bus: Code:
proxy = dbus_g_proxy_new_for_name(conn, "org.bluez", "/hci0", "org.bluez.Adapter"); Thanks, Sam. |
You are correct, in modern versions of BlueZ, all of the data is encrypted. It used to be that the PINs and pairing information was stored as plaintext files, but for security this has been changed.
The encrypted linkkeys and the rest of the pairing information is stored in /var/lib/bluetooth, but I don't know if moving that over to another machine will actually work. |
All times are GMT -5. The time now is 07:26 PM. |