Keysmith is a two-factor code generator for Linux. Using Keysmith, you can generate tokens for your two-factor logins (2FA). It comes with Time based OTP and Hash-based OTP, OTP timer, token length, hash algorithm, master application password. It is released under GNU General Public License v3.0 or later.
How to Install Keysmith on Ubuntu Linux
Keysmith is available as a flatpak package file from flathub remote. First install the latest version of flatpak and flathub on your system.
You need to restart your system to take effect. After that open the terminal command -line application using the ctrl+alt+t key and run below Keysmith 2FA code generator app flatpak install command. It will install the latest version of Keysmith app on your system.
flatpak install flathub org.kde.keysmith
You can open Keysmith using below command.
flatpak run org.kde.keysmith
And uninstall Keysmith using this command.
sudo flatpak uninstall org.kde.keysmith