I was thinking about integrating the OTP-Generator on my phone to my desktop in a convenient way. I then thought about having an OTP-Generator integrated in the KDE Connect Android app and available on connected PCs.
How I imagine it to be:
- OTP-Generator inside the KDEConnect app
- Button and/or Keyboard Shortcut in Desktop client to open a window/popup, which shows a list of all OTP Codes synced live from the device (without giving away the private keys of course).
- When phone is not connected to Desktop, the Desktop can't see or generate the OTP codes of the phone
- When phone is not connected to anything, allow the user to use the OTP function locally on the device.
Steps:
- Implement OTP in Android App in an Activity that is independent of connected hosts
- Implement protocol to send over OTP codes to desktop if requested
- Implement GUI on Desktop to allow seeing the OTP codes
Optional features:
- Require authentication on phone if OTP codes are requested (fingerprint/pin/password/pattern)
- Add new OTP-Generator from Desktop, by inputting a private key and a display name.