replydev / cotp

Trustworthy, encrypted, command-line TOTP/HOTP authenticator app with import functionality.
GNU General Public License v3.0
255 stars 24 forks source link

Feature Request: A way to share HOTP/TOTP URI outside of QR encoding #413

Closed brian6932 closed 6 months ago

brian6932 commented 6 months ago

Sometimes you may want to just share the URI, and not export all TOTP/HOTP URIs, it'd be nice when you press k to view the QR code, to also get a non-QR encoded version of URI. This could be it's own bind as well, something like Enter that copies the code to clipboard can work as well (maybe Shift+Enter). Saves the hassle of having to screenshot the QR code and use something like qrrs on it.

replydev commented 6 months ago

Hello, I do now know if it is good from a security prospective to show the full OTP URI in clear text, but of course we could copy the URI if we are in the QR code screen. What do you think about it?

brian6932 commented 6 months ago

Yea that's fine, that's the same way that Aegis does it (although with a button).