Giter Club home page Giter Club logo

2fa-auth's Introduction

2FA-Auth


2FA


2FA-Auth is a BASH script that provides a user-friendly way to generate "Two-Factor Authentication (2FA)" code. It works like Google Authenticator® and similar programs, but you can use your GNU/Linux terminal, instead of your cellphone.

For more information, look for "Two-Factor Authentication" in sites or forums.


System Requirement

  • GNU/Linux distribution with BASH interpreter

  • GIT -- used to clone 2FA-Auth into your computer

  • GnuPG -- used to keep your site/service token encrypted

  • OATH Toolkit a.k.a. OATHTOOL -- used to generate 2FA codes

2FA-Auth can automatically install GnuPG and OAth Toolkit, but if it fails, please check how to install the programs above, according to your distribution.

This automatic method of package installation involves these package managers:

  • APT and APT-GET for Debian-based systems
  • DNF, URPMI and YUM for RedHat-based systems
  • EMERGE and EQUO for Gentoo-based systems
  • PACMAN for Arch-based systems
  • ZYPPER for SUSE/openSUSE-based systems

The next step is that you MUST create or import GPG Keys in your profile. They are used by GnuPG to encrypt and decrypt your tokens.


PDF FILE: "2FA-Auth/doc/How_to_use_2FA-Auth.pdf"

This file explain how to use 2FA-Auth.

It's a simple "how to use" manual, but it helps you A LOT!


Where does 2FA-Auth save my tokens and GnuPG ID?

GPG key is created (or imported) into $HOME/.gnupg/ while GPG ID is part of your key (UserID) and 2FA-Auth asks for it. Your UserID is the e-mail used to create your key.

2FA-Auth saves your 2FA token(s) in this directory: $HOME/.config/2fa-auth/ and your GnuPG UserID is saved in $HOME/.config/2fa-auth/2fa-auth.info


Vinicius de Alencar (alencc1986) – 2021

2fa-auth's People

Contributors

alencc1986-zz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

florianschroen

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.