Skip to content

alphaphee/Gnome-Authenticator

 
 

Repository files navigation

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` (works only with git version for now) - `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 :
yaourt -S gnome-twofactorauth
  • On Ubuntu (xenial/yakkety) using GetDeb Apps PPA:
 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
  • Applications/Websites database are from twofactorauth, by 2factorauth team

How to build from source

1 - Clone the repository

git clone https://github.com/bil-elmoussaoui/Gnome-Authenticator && cd ./Gnome-Authenticator

2 - Install Python dependecies

sudo pip install pyotp zbarlight pyaml Pillow

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

mkdir build && cd build
meson ..
ninja 
sudo ninja install

4 - You can run the application from the desktop file or from terminal using

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

About

Two-Factor Authentication code generator for Gnome

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 98.8%
  • Other 1.2%