Google Authenticator-like App for KDE Plasma

1 588
Avatar for jimtendo
4 years ago

I started working sometime ago on a Google Authenticator-like App for KDE Plasma., titled "OneTimePass". This was in anticipation of Plasma Mobile - so was written in QML, and leveraged KDE Wallet (will not work if KWallet is not enabled).

(Note that I have not tested this on Plasma Mobile and imagine it will likely need some patching to work well on Plasma Mobile devices.)

Support is limited to TOTP (Time-based One Time Password - the most common used by Google Authenticator) at this point in time. If there's sufficient interest, happy to put more work into this to support others.

I didn't have a lot of time to stabilize this, but had some time over the weekend to fix up the QML layouts and get this into a usable state.

This comes with two components:

  1. A UI App that will show all entries (upon clicking, saves the code to Clipboard).

  2. A KRunner invoked with otp ${searchTerm} (upon clicking, saves the code to Clipboard)

The UI App:

The KRunner:

Build notes are available at the repository (and copied below):

https://github.com/jimtendo/onetimepass-plasma

Requirements (Ubuntu 19.10):

sudo apt install liboath-dev libkf5wallet-dev libkf5runner-dev libkf5service-dev libkf5i18n-dev

Building

git clone https://github.com/jimtendo/onetimepass-plasma
cd onetimepass-plasma
mkdir build
cmake -D KDE_INSTALL_USE_QT_SYS_PATHS=ON ../
make
sudo make install

0
$ 0.00
Avatar for jimtendo
4 years ago

Comments

Well, good to know about it man ! :D This post is pretty interesting, hope to see something new from you soon ! God bless you !

$ 0.00
4 years ago