2018-09-03 12:14:08 +02:00
|
|
|
[](https://hosted.weblate.org/engage/authenticator/?utm_source=widget) [](https://github.com/bilelmoussaoui/Authenticator/releases)
|
2017-04-01 14:05:10 +03:00
|
|
|
|
2018-03-16 04:12:49 +01:00
|
|
|
# Authenticator
|
2018-03-16 04:14:36 +01:00
|
|
|
<img src="https://raw.githubusercontent.com/bilelmoussaoui/Authenticator/master/data/icons/hicolor/256x256/apps/com.github.bilelmoussaoui.Authenticator.png" width="128" height="128" />
|
2018-09-02 15:31:58 +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
|
|
|
|
2018-03-19 23:17:41 +01:00
|
|
|
## Screenshots
|
|
|
|
|
2018-03-19 23:19:52 +01:00
|
|
|
<img src="data/screenshots/screenshot1.png" width="280" /> <img src="data/screenshots/screenshot2.png" width="280" /> <img src="data/screenshots/screenshot3.png" width="280" />
|
2018-03-19 23:17:41 +01:00
|
|
|
|
|
|
|
## Features
|
|
|
|
|
|
|
|
- QR code scanner
|
|
|
|
- Beautiful UI
|
|
|
|
- Huge database of (290+) websites/applications
|
|
|
|
|
|
|
|
## Installation
|
|
|
|
|
|
|
|
### Flatpak
|
2018-09-02 15:31:58 +02:00
|
|
|
You can install the `flatpak` package of the application from Flathub using
|
2018-03-19 23:17:41 +01:00
|
|
|
```
|
|
|
|
flatpak install flathub com.github.bilelmoussaoui.Authenticator
|
|
|
|
```
|
|
|
|
|
2018-09-01 18:38:03 -05:00
|
|
|
### Gentoo
|
|
|
|
Installing Authenticator in Gentoo Linux is as easy as follows:
|
|
|
|
```
|
|
|
|
emerge sys-auth/authenticator
|
|
|
|
```
|
2018-03-19 23:17:41 +01:00
|
|
|
|
|
|
|
### Building from source code
|
|
|
|
#### 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+`
|
2016-12-13 00:26:54 +01:00
|
|
|
- `ninja`
|
2017-01-12 22:49:00 +01:00
|
|
|
- `pyotp`
|
2018-09-02 15:05:51 +02:00
|
|
|
- `libsecret`
|
|
|
|
|
2018-09-02 15:31:58 +02:00
|
|
|
Those dependencies are only used if you build the application with QR code scanner support
|
2017-01-12 22:49:00 +01:00
|
|
|
- `Pillow`
|
2018-03-16 20:28:49 +01:00
|
|
|
- `pyzbar` depends on `zbar`
|
2017-09-16 14:15:40 +02:00
|
|
|
- `libzbar-dev` on Ubuntu
|
|
|
|
- `zbar` on Arch
|
2016-05-27 14:56:58 +02:00
|
|
|
|
2016-05-27 14:31:04 +02:00
|
|
|
1 - Clone the repository
|
2017-09-16 14:15:40 +02:00
|
|
|
|
2016-05-27 14:31:04 +02:00
|
|
|
```bash
|
2018-03-16 04:12:49 +01:00
|
|
|
git clone https://github.com/bilelmoussaoui/Authenticator && cd ./Authenticator
|
2016-05-27 14:31:04 +02:00
|
|
|
```
|
2017-09-16 14:15:40 +02:00
|
|
|
|
2016-06-28 02:39:47 +02:00
|
|
|
2 - Install Python dependecies
|
2017-09-16 14:15:40 +02:00
|
|
|
|
2016-05-27 14:56:58 +02:00
|
|
|
```bash
|
2018-03-24 12:37:33 +01:00
|
|
|
sudo pip install pyotp pyzbar Pillow meson ninja
|
2016-05-27 14:56:58 +02:00
|
|
|
```
|
2017-09-16 14:15:40 +02:00
|
|
|
|
2018-09-02 15:31:58 +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>
|
2017-09-16 14:15:40 +02:00
|
|
|
|
2018-09-02 15:31:58 +02:00
|
|
|
3 - Install system dependencies
|
2018-08-08 11:05:47 +02:00
|
|
|
|
2018-09-02 15:31:58 +02:00
|
|
|
The following packages must be installed to build Authenticator.
|
2018-08-10 12:14:39 +02:00
|
|
|
|
|
|
|
- Debian / Ubuntu
|
|
|
|
|
2018-08-08 11:05:47 +02:00
|
|
|
```bash
|
|
|
|
sudo apt install gobject-introspection libgirepository1.0-dev libgtk-3-dev
|
|
|
|
```
|
|
|
|
|
|
|
|
4 - Afterwards
|
2017-09-16 14:15:40 +02:00
|
|
|
|
2016-05-27 14:31:04 +02:00
|
|
|
```bash
|
2017-09-16 14:15:40 +02:00
|
|
|
meson builddir
|
|
|
|
sudo ninja -C builddir install
|
2016-05-27 14:31:04 +02:00
|
|
|
```
|
2017-09-16 14:15:40 +02:00
|
|
|
|
2018-09-02 15:31:58 +02:00
|
|
|
5 - You can run the application from the desktop file or from the terminal using
|
2016-05-27 14:56:58 +02:00
|
|
|
```bash
|
2018-03-16 04:12:49 +01:00
|
|
|
authenticator
|
2016-05-31 22:08:35 +02:00
|
|
|
```
|
2017-09-16 14:15:40 +02:00
|
|
|
|
2018-03-19 23:17:41 +01:00
|
|
|
## Flags
|
2017-09-16 14:15:40 +02:00
|
|
|
|
|
|
|
- `--version`
|
|
|
|
Shows the version number of the application
|
|
|
|
|
2018-03-19 23:17:41 +01:00
|
|
|
|
|
|
|
## Credits
|
|
|
|
|
2018-09-02 15:31:58 +02:00
|
|
|
- Database for applications/websites from [twofactorauth](https://github.com/2factorauth/twofactorauth), by the 2factorauth team
|