Authenticator/README.md

83 lines
2.9 KiB
Markdown
Raw Normal View History

2017-09-16 13:35:18 +02:00
<a href="https://hosted.weblate.org/engage/gnome-twofactorauth/?utm_source=widget"><img src="https://hosted.weblate.org/widgets/gnome-twofactorauth/-/svg-badge.svg" alt="Translation status" /></a> ![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
2016-06-05 14:53:43 +02:00
version](https://img.shields.io/badge/python-3.3%2B-blue.svg)
2017-04-01 14:05:10 +03:00
2017-01-12 22:55:43 +01:00
# Gnome Authenticator
2017-09-16 13:36:39 +02:00
<img src="https://raw.githubusercontent.com/bil-elmoussaoui/Gnome-Authenticator/master/data/icons/hicolor/256x256/apps/org.gnome.Authenticator.png" width="128" height="128" />
2016-06-23 01:11:40 +02:00
<p>Two-factor authentication code generator for Gnome. Created with love using Python and Gtk.</p>
2017-04-01 14:02:11 +03:00
2016-06-19 15:35:36 +02:00
### Dependecies
2017-04-01 14:02:11 +03:00
2016-05-27 14:56:58 +02:00
- `Python 3.3+`
2016-05-31 02:15:30 +02:00
- `Gtk 3.16+`
2017-09-16 13:35:18 +02:00
- `meson 0.38+`
- `ninja`
- `pyotp`
- `pyaml`
- `Pillow`
2016-06-21 03:19:50 +02:00
- `zbarlight` depends on `zbar`
- `libzbar-dev` on Ubuntu
2016-06-21 15:41:21 +02:00
- `zbar` on Arch
2017-01-12 22:56:20 +01:00
- `gnome-keyring`
2016-06-21 03:19:50 +02:00
- `gnome-screenshot`
2016-05-27 14:56:58 +02:00
2016-05-30 22:18:39 +02:00
<sub>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.</sub>
2016-05-27 14:31:04 +02:00
### Screenshots
2016-05-29 22:27:28 +02:00
<img src="screenshots/screenshot7.png" width="280" /> <img src="screenshots/screenshot1.png" width="280" /> <img src="screenshots/screenshot2.png" width="280" />
2016-05-27 14:31:04 +02:00
2016-06-21 21:24:10 +02:00
### Features
- QR code scanner
- Beautiful UI
- Handy shortcuts
- Huge database of (290+) websites/applications
2016-05-31 20:21:43 +02:00
### Installation
2016-05-31 22:08:35 +02:00
- On Arch :
```bash
2016-06-30 22:10:06 +02:00
yaourt -S gnome-twofactorauth
2016-06-19 15:35:36 +02:00
```
2016-05-31 20:21:43 +02:00
2017-01-08 22:42:02 +01:00
- On Ubuntu (xenial/yakkety) using GetDeb Apps PPA:
2017-01-08 22:42:29 +01:00
```bash
2017-01-08 22:42:02 +01:00
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
```
2016-05-27 14:56:58 +02:00
### Credits
- Websites and application icons are from Paper theme, created by [Sam Hewitt](https://github.com/snwh)
2016-06-20 04:58:08 +02:00
- Applications/Websites database are from [twofactorauth](https://github.com/2factorauth/twofactorauth), by 2factorauth team
2016-05-27 14:56:58 +02:00
2016-05-31 20:21:43 +02:00
### How to build from source
2016-05-27 14:31:04 +02:00
1 - Clone the repository
```bash
git clone https://github.com/bil-elmoussaoui/Gnome-Authenticator && cd ./Gnome-Authenticator
2016-05-27 14:31:04 +02:00
```
2016-06-28 02:39:47 +02:00
2 - Install Python dependecies
2016-05-27 14:56:58 +02:00
```bash
sudo pip install pyotp zbarlight pyaml Pillow meson ninja
2016-05-27 14:56:58 +02:00
```
2016-05-27 20:33:00 +02:00
<sub>PS : In some distributions you will need to use `pip3` instead of `pip` to install the compatible version of the package with Python 3.</sub> <br>
2016-06-28 02:39:47 +02:00
3 - Afterwards
2016-05-27 14:31:04 +02:00
```bash
mkdir build && cd build
meson ..
2017-09-16 13:35:18 +02:00
ninja
sudo ninja install
2016-05-27 14:31:04 +02:00
```
2016-06-28 02:39:47 +02:00
4 - You can run the application from the desktop file or from terminal using
2016-05-27 14:56:58 +02:00
```bash
2017-01-12 22:55:43 +01:00
gnome-authenticator
2016-05-31 22:08:35 +02:00
```
2016-06-19 15:35:36 +02:00
<sub>Arch users can build from source directly using AUR `yaourt -S gnome-twofactorauth-git`</sub>
### Flags
- `--debug` <br/>
Open the application with debug flags
- `--version`<br/>
Shows the version number of the application
- `--about`<br/>
Shows the about dialog