mooltipass / minible

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

Sync time over Bluetooth #381

Open ananthb opened 1 year ago

ananthb commented 1 year ago

Missing feature

The mooltipass device should sync it's clock over Bluetooth in addition to USB.

Justification

Tell us why you would like to see this feature added.

TOTPs are unusable from my phone only. I need to have a PC and a phone to make this work.

Workarounds

Are there any workarounds you currently have in place because the feature is missing?

I keep my device plugged in to a laptop near me if I know I'm going to need a TOTP.

limpkin commented 1 year ago

oh that would be a neat feature for our android-companion indeed :)

My1 commented 1 year ago

honestly this only makes sense

wkennington commented 1 year ago

This is not supported in the firmware? Or this is just an app thing?

limpkin commented 1 year ago

it's an app thing indeed

KDederichs commented 1 year ago

@limpkin I'm looking into building that into the iOS App and got two questions: 1) What timezone? I'd assume UTC? 2) Does the device need to be unlocked for this? (If so why, I'd request that changed :D)

My1 commented 1 year ago

I'd guess UTC too as the MP doesnt display the local time and the primary point for the time is TOTP which works off of unixtime, which is utc by definition

limpkin commented 1 year ago
  1. UTC indeed, @deXol can you confirm?
  2. it does not :)
KDederichs commented 1 year ago

Added it to testflight for the iOS app, so if you're iOS crowd feel free to check it out :)

deXol commented 1 year ago
  1. UTC indeed, @deXol can you confirm?

    1. it does not :)

Yes, it is UTC: https://github.com/mooltipass/moolticute/blob/master/src/MPDevice.cpp#L3901

My1 commented 1 year ago

cool. next step: the android app.

limpkin commented 1 year ago

tracked here: https://github.com/mathfactory/mooltifill-android/issues/3