A simple OTP authenticator for Linux phones and desktops.
Current version: 0.1.2. See the release notes.
A running system keyring, such as GNOME Keyring, is required to save accounts.
On Debian or FuriOS, download the .deb for your device from
Releases:
- arm64 for ARM64 devices.
- amd64 for x86-64 PCs.
Open a terminal in the download folder, unzip and install it. replacing the filename below:
sudo apt install ./myotp_VERSION_ARCH.debLaunch MyOTP from your app menu.
- Generate time-based (TOTP) and counter-based (HOTP) codes.
- Add accounts by scanning a QR code or entering details manually.
- Store account secrets in the system keyring.
- Import and export encrypted FreeOTP Android 2.x backups, unencrypted Aegis JSON,
Google migration text, and
otpauth://text files. - Support 6- and 8-digit codes with SHA-1, SHA-256, or SHA-512.
- A mobile-friendly GTK interface.
Dependencies:
- Rust and Cargo 1.92 or newer.
- A C compiler, build tools, Git, and
pkg-config. - GTK 4, GLib resource tools, and GdkPixbuf.
- GStreamer core, app, and video libraries, plus the base and good plugins.
- A running Secret Service keyring, such as GNOME Keyring, to save accounts.
Debian
sudo apt update
sudo apt install build-essential git cargo rustc pkg-config \
libgtk-4-dev libglib2.0-dev-bin libgdk-pixbuf-2.0-dev \
libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev \
gstreamer1.0-plugins-base gstreamer1.0-plugins-good gnome-keyringCheck rustc --version and cargo --version; older distributions may need a
newer Rust toolchain.
Arch Linux
sudo pacman -Syu --needed base-devel git rust pkgconf gtk4 glib2 glib2-devel \
gdk-pixbuf2 gstreamer gst-plugins-base-libs gst-plugins-base \
gst-plugins-good gnome-keyringCamera scanning needs a camera supported by GStreamer. Some mobile devices also need the GStreamer libcamera plugin.
Build and run
git clone https://github.com/6rube/MyOTP.git
cd MyOTP
cargo build --release --locked
./target/release/myotpRun tests with cargo test --locked.
To build a .deb, follow the Debian packaging instructions.
