 [](https://github.com/bil-elmoussaoui/Gnome-TwoFactorAuth/releases) 
# 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`
- `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 :
```bash
yaourt -S gnome-twofactourauth
```
### 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/TwoFactorAuth && cd ./TwoFactorAuth
```
2 - Install `PyOTP`
```bash
sudo pip install pyotp
```
3 - Install `zbarlight`
```bash
sudo pip install zbarlight
```
4 - Install `yaml`
```bash
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
```bash
./autogen.sh
make
sudo make install
```
6 - You can run the application from the desktop file or from terminal using
```bash
gnome-twofactorauth
```
Arch users can build from source directly using AUR `yaourt -S gnome-twofactorauth-git`