Coder Social home page Coder Social logo

keyofblues / bt-keys-sync Goto Github PK

View Code? Open in Web Editor NEW
21.0 2.0 0.0 147 KB

Sync bluetooth pairing keys from windows to linux AND from linux to windows

License: GNU General Public License v3.0

Shell 100.00%
bluetooth dualboot keys linux multiboot pairing windows dual-boot multi-boot pair

bt-keys-sync's People

Contributors

keyofblues avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

bt-keys-sync's Issues

Bluetooth Low Energy (BLE) devices support

Bluetooth Low Energy (BLE) devices pairing keys are managed differently than standard bluetooth devices.
Since I don't own any BLE device I'am unable to add support for them.

If you have a BLE device and you want their support to be implemented, you can help by posting the info i need:

The info file of the BLE device in linux:

sudo cat "/var/lib/bluetooth/${bt_controller_macaddr}/${bt_device_macaddr}/info"

  • where ${bt_controller_macaddr} is the MAC Address of the bluetooth controller and ${bt_device_macaddr} is the MAC Address of the BLE device.

The exported registry file of windows containing the BLE device credentials.

To obtain this file:

  • install chntpw
    sudo apt install chntpw
  • Mount the windows partition
  • Locate the SYSTEM hive file in the windows partition, usually is something like "<windows_mount_point>/Windows/System32/config/SYSTEM"
  • Export the keys
    sudo reged -x "<windows_mount_point>/Windows/System32/config/SYSTEM" "HKEY_LOCAL_MACHINE\SYSTEM" "ControlSet001\Services\BTHPORT\Parameters\Keys" "/tmp/exported_keys.reg"
  • print the exported registry
    cat "/tmp/exported_keys.reg"

I need these in order to compare the formats between the linux info file and the exported windows registry file.

Please do not hesitate to post here for any questions or difficulty you may have about this issue.

Thanks and best regards!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.