mathfactory / mooltifill-android

GNU General Public License v3.0
2 stars 0 forks source link

Feature request: regularly sending the time to the device #3

Open limpkin opened 1 year ago

limpkin commented 1 year ago

@deXol: could you point to the relevant bit of code in moolticute?

deXol commented 1 year ago

Sending it here: https://github.com/mooltipass/moolticute/blob/master/src/MPDevice.cpp#L3895 And for BLE we are using a timer too send it regularly: https://github.com/mooltipass/moolticute/blob/master/src/MPDevice.cpp#L4094

KDederichs commented 1 year ago

https://github.com/KDederichs/Mooltifill-iOS/blob/7930622b251fda6061dd35f76773f4e5cd4ff0da/BLEConnector/Protocol/MooltipassPayload.swift#L17

Here's my version of it as well if it helps

spoelstraethan commented 1 year ago

@mathfactory @limpkin I've just paired my Mooltipass to the Mooltifill app on my Chromebook and they are talking successfully, so the only thing really missing for IMMEDIATE awesomeness is time sync so I can use my FIDO2 and TOTP over USB from the Mooltipass on ChromeOS.

It is really too bad there isn't a WebUSB interface implemented on the Mooltipass, as that would allow bumping a user to a page similar to the Moolticute device settings page where maybe they couldn't manage credentials (though that wouldn't be hard if the HID interface for management is presented via WebHID to the same landing "site" aka PWA), but the settings page could offer a "sync time" option plus changing some basic settings, and since Project Fugu (aka Web) from Google has been implemented in Chromium, you should get a HUGE market share with code maintained in once place, heck I think on Android's Chrome you can interact with WebUSB as well, so that would allow managing the device from the web and using the Mooltifill for a password filling tool via Bluetooth.