Generate Two-Factor Codes
Find a file
Bilal Elmoussaoui ff6f6db342 add zbar as dep
2016-06-21 03:19:50 +02:00
data app icon fix 2016-06-20 12:29:15 +03:00
po use a thread to load applications list 2016-06-21 02:55:19 +02:00
screenshots replace the spinner with a normal string 2016-06-01 12:20:52 +02:00
TwoFactorAuth use a thread to load applications list 2016-06-21 02:55:19 +02:00
.gitignore clean up the code 2016-06-09 23:40:27 +02:00
autogen.sh stable release 2016-06-02 23:12:05 +02:00
configure.ac use account db provided by 2factorauth 2016-06-20 04:58:08 +02:00
gnome-twofactorauth.in huge improvements 2016-06-12 13:26:48 +02:00
LICENSE first commit 2016-05-25 22:18:10 +02:00
Makefile.am huge improvements 2016-06-12 13:26:48 +02:00
README.md add zbar as dep 2016-06-21 03:19:50 +02:00

Status Version Python
version

Gnome TwoFactorAuth

Two-factor authentication code generator for Gnome
For translators : https://www.transifex.com/twofactorauth/twofactorauth/

Dependecies

  • Python 3.3+
  • Gtk 3.16+
  • PyOTP
  • zbarlight depends on zbar
    • libzbar-dev on Ubuntu
    • zbar on Arch
  • yaml
  • GnomeKeyring
  • 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

Installation

  • On Arch :
    yaourt -S gnome-twofactourauth

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/TwoFactorAuth && cd ./TwoFactorAuth

2 - Install PyOTP

    sudo pip install pyotp

3 - Install zbarlight

sudo pip install zbarlight

4 - Install yaml

sudo pip install pyyaml

PS : In some distributions you will need to use pip3 instead of pip to install the compatible version of the package with Python 3.
5 - Afterwards

    ./autogen.sh
    make
    sudo make install

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

    gnome-twofactorauth

Arch users can build from source directly using AUR yaourt -S gnome-twofactorauth-git