Generate Two-Factor Codes
Find a file
2017-01-10 08:18:14 +01:00
data more fixes, use GLib, update pre3.20 css 2017-01-10 08:18:14 +01:00
flatpak add all correct packages to flatpak, waiting for flatpak#134 2017-01-10 05:34:11 +01:00
po Added translation using Weblate (Arabic) 2016-12-13 20:27:17 +01:00
screenshots update screenshot 2016-06-23 03:14:53 +02:00
TwoFactorAuth more fixes, use GLib, update pre3.20 css 2017-01-10 08:18:14 +01:00
.gitignore add issue template, update gitignore 2016-06-23 01:01:44 +02:00
.travis.yml new alpha release 2017-01-10 04:08:59 +01:00
Dockerfile new alpha release 2017-01-10 04:08:59 +01:00
gnome-twofactorauth.in new alpha release 2017-01-10 04:08:59 +01:00
ISSUE_TEMPLATE.md add issue template, update gitignore 2016-06-23 01:01:44 +02:00
LICENSE first commit 2016-05-25 22:18:10 +02:00
meson.build Remove test code, add git commit to version flag 2016-12-13 00:35:31 +01:00
meson_post_install.sh Use meson instead of autotools, update pot files, fix few issues 2016-12-13 00:26:54 +01:00
README.md Update README.md 2017-01-08 22:42:29 +01:00

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 TwoFactorAuth

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` - `python-pyotp` - `python-yaml` - `python-pillow` - `zbarlight` depends on `zbar` - `libzbar-dev` on Ubuntu - `zbar` on Arch - `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

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

2 - Install Python dependecies

sudo pip install pyotp zbarlight python-yaml 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-twofactorauth

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