Translation status ![Status](https://img.shields.io/badge/status-stable-green.svg) [![Version](https://img.shields.io/badge/version-0.1.1-green.svg)](https://github.com/bil-elmoussaoui/Gnome-TwoFactorAuth/releases) ![Python version](https://img.shields.io/badge/python-3.3%2B-blue.svg) # Gnome Authenticator

Two-factor authentication code generator for Gnome. Created with love using Python and Gtk.

### Dependecies - `Python 3.3+` - `Gtk 3.16+` - `meson 0.38+` - `ninja` - `pyotp` - `pyaml` - `Pillow` - `zbarlight` depends on `zbar` - `libzbar-dev` on Ubuntu - `zbar` on Arch - `gnome-keyring` - `gnome-screenshot` PS: The application was only tested on Arch with Gtk 3.20+, but it should work nicely with older versions too. Keyboard shortcuts widget won't be shown for older versions. ### Screenshots ### Features - QR code scanner - Beautiful UI - Handy shortcuts - Huge database of (290+) websites/applications ### Installation - On Arch : ```bash yaourt -S gnome-twofactorauth ``` - On Ubuntu (xenial/yakkety) using GetDeb Apps PPA: ```bash wget -q -O - http://archive.getdeb.net/getdeb-archive.key | sudo apt-key add - sudo sh -c 'echo "deb http://archive.getdeb.net/ubuntu xenial-getdeb apps" >> /etc/apt/sources.list.d/getdeb.list' sudo apt update sudo apt install gnome-twofactorauth ``` ### Credits - Websites and application icons are from Paper theme, created by [Sam Hewitt](https://github.com/snwh) - Applications/Websites database are from [twofactorauth](https://github.com/2factorauth/twofactorauth), by 2factorauth team ### How to build from source 1 - Clone the repository ```bash git clone https://github.com/bil-elmoussaoui/Gnome-Authenticator && cd ./Gnome-Authenticator ``` 2 - Install Python dependecies ```bash sudo pip install pyotp zbarlight pyaml Pillow meson ninja ``` PS : In some distributions you will need to use `pip3` instead of `pip` to install the compatible version of the package with Python 3.
3 - Afterwards ```bash mkdir build && cd build meson .. ninja sudo ninja install ``` 4 - You can run the application from the desktop file or from terminal using ```bash gnome-authenticator ``` Arch users can build from source directly using AUR `yaourt -S gnome-twofactorauth-git` ### Flags - `--debug`
Open the application with debug flags - `--version`
Shows the version number of the application - `--about`
Shows the about dialog