https://github.com/revathskumar/rofi-2fa
https://github.com/revathskumar/rofi-2fa
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/revathskumar/rofi-2fa
- Owner: revathskumar
- License: mit
- Created: 2018-11-20T17:51:13.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-11-20T18:26:41.000Z (over 7 years ago)
- Last Synced: 2025-06-07T08:04:15.990Z (about 1 year ago)
- Language: JavaScript
- Size: 24.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: License
Awesome Lists containing this project
README
rofi-2fa
======================
A rofi plugin for Two-Factors Authentication / Time-Based Authentication Token / TOTP / Google Authenticator
### Dependencies
#### On ubuntu
```
sudo apt install rofi xdotool
```
### Setup
Create file named `2fa.yml` in your home directory and add apps in the format
```yml
apps:
- label: Google
secret: NUYJ2UDBUNZIQGDE
- label: Amazon
secret: NUYJ2UDBUNZIQGDF
- label: Slack
secret: NUYJ2UDBUNZIQGDG
```
### Installation
```
npm install -g rofi-2fa
```
License
-------
Please see [License](https://github.com/revathskumar/rofi-2fa/blob/master/License)