HID Protocol
HID (Human Interface Device) is the USB device class of keyboards and mice. Many hardware wallets use it to exchange data with a computer without installing a driver.
What Is HID Protocol?
The HID protocol (Human Interface Device) is the USB device class defined for keyboards, mice and game controllers. Every major operating system ships a generic driver for it, so a HID device works as soon as it is plugged in. Many USB hardware wallets present themselves as HID devices for this reason: no driver has to be installed.
A wallet that uses HID does not type keystrokes. The wallet app and the device exchange small, fixed-size data packets called reports. The app splits a request such as “show this address” or “sign this transaction” into reports, and the device answers the same way.
HID is only a transport. It adds no encryption or authentication of its own and does not make a connection safe or unsafe. The protection comes from the device: keys stay inside it, and you confirm the details on its screen. Other programs on the computer may be able to talk to a connected device too, which is one more reason to check on the device and not on the monitor.
In practice HID shows up in two places. Chromium-based browsers offer WebHID, which lets a web wallet reach the device after you grant permission; some wallets use WebUSB instead. On Linux, access to the device usually requires udev rules supplied by the vendor.
Real-World Examples
Example 1: A user plugs a USB hardware wallet into a Windows laptop. The vendor's app finds it at once, with no driver installation, because the system's built-in HID driver handles it.
Example 2: On Linux the wallet app cannot see the device until the user installs the vendor's udev rules, which give their account access to the HID interface.
Example 3: A web wallet in a Chromium-based browser asks for permission to connect through WebHID. The user picks the device in the browser's dialog and then approves each transaction on the device itself.
Frequently Asked Questions
Does a hardware wallet that uses HID act like a keyboard and type into my computer?
No. A wallet that presents itself as a HID device does not type keystrokes. The wallet app and the device exchange small, fixed-size data packets called reports: the app splits a request such as “sign this transaction” into reports, and the device answers the same way. HID is used because operating systems ship a generic driver for it.
Is a HID connection between my computer and wallet encrypted?
No. HID is only a transport and adds no encryption or authentication of its own; it does not make a connection safe or unsafe. Protection comes from the device: the keys stay inside it, and you confirm the details on its screen. Because other programs on the computer may also reach a connected device, check on the device, not the monitor.
Why does my wallet work on Windows but not show up on Linux?
On Linux, access to a HID device usually requires udev rules supplied by the vendor. Until they are installed, the wallet app may not see the device at all. Installing the vendor's udev rules gives your user account access to the HID interface, after which the app can find the wallet.
Sources
Ready to Choose a Secure Wallet?
Use our tools to find the right hardware wallet for your needs.