mooltipass / minible

Github repository containing the firmwares running on the Mooltipass Mini BLE
GNU General Public License v3.0
98 stars 21 forks source link

Unable to "type" via BLE on first connection to MacOS #126

Open kevin-sinclair opened 4 years ago

kevin-sinclair commented 4 years ago

------------------------ BUG REPORT -----------------------------------------

Expected behavior

After having disconnected the Mooltipass BLE from USB and deleted all pairings, you successfully pair the device with a Mac and you can start "typing" passwords over BLE.

Actual behavior

After having disconnected the Mooltipass BLE from USB and deleted all pairings, you successfully pair the device with a Mac and you are unable to "type" passwords over BLE. Switching Bluetooth off and then on from the device, reconnects it with the Mac and the "typing" of password is now possible.

Step by step guide to reproduce the problem

  1. Mooltipass is disconnected from USB and Pairings have been cleared from the "Delete Pairings" menu;
  2. Pair successfully Mooltipass BLE with MacOS (Mojave);
  3. Open a blank text file
  4. "Type" a username/password via the Mooltipass "Login" menu;
  5. Nothing gets "typed" into the text file.

Moolticute Version

N/A

Operating System

Mooltipass Extension

N/A

Mooltipass Device

------------------------ END BUG REPORT -------------------------------------

limpkin commented 4 years ago

yeah.... that's.... something.

limpkin commented 4 years ago

So.... after digging through the console logs, I have noticed an abnormal behavior of MacOS when pairing for the first time a BLE device containing two HID primary services. Upon successful pairing, macOS will try to create two HID devices with the SAME keyboard report map, instead of creating two each HID devices, each with their own report maps. Upon disconnecting & reconnecting the device, the correct behavior is seen. By looking at the attached screen captures, you'll notice the behavior:

Issue has been reported to Apple....

Screenshot 2020-05-17 at 19 36 09 Screenshot 2020-05-17 at 19 14 06

iaglet commented 4 years ago

issue remains with v0.31, experienced with apple iphone 11 ios 13.4.1

limpkin commented 4 years ago

the macos issue is unlikely to go away as it is an issue in MacOS itself. We're however working on the iOS issue.

limpkin commented 4 years ago

FYI iOS issue fixed!