Skip to content

About link keys #5

Description

@fraca7

The /var/lib/bluetooth/<dongle addr>/linkkeys file does not seem to work in "recent" distributions (tested on Ubuntu 20 and Raspberry Pi OS). Instead, link keys have to be stored in an ini-like file in a subdirectory (at least that's what works for me on said distros). The file is named "info" and resides in /var/lib/bluetooth/<dongle addr>/<device addr>/. It has the following format:

[LinkKey]
Key=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Type=4
PINLength=0

I think this behavior dates back to Ubuntu 14 but I'm not sure.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions