Git Product home page Git Product logo

py2factor's Introduction

py2factor-logo

py2factor

Two Factor Authentication

Two-factor authentication (also known as 2FA) is a type (subset) of multi-factor authentication. It is a method of confirming a user's claimed identity by utilizing a combination of two different factors:

  1. something they know,
  2. something they have, or
  3. something they are.

py2factor app

Two Factor authentication app for desktop (Linux). The app can be used along with other two factor applications like authy ,google authenticator etc. Unlike the mobile two factor authenticators ,this app requires the user to read the QR given for two factor using mobile and pass the data read from that as input to the application

Installing / Getting started

A quick introduction of the minimal setup you need to setup and use py2factor

Installation

pip install py2factor

Usage

py2factor add [--name "<name>" --key "<key/secret>"][--url <"totpurl">]   #adds a profile given (name and key) or url
py2factor profiles --filter "<prefix>"               #list all profiles 
py2factor list --filter "<prefix>"                   #list all profiles name and totp
py2factor del --name "<name>"                        #deletes a profile if present

Here you should say what actually happens when you execute the code above.

Developing

Here's a brief intro about what a developer must do in order to start developing the project further:

Make sure virtual environment is installed

sudo pip install virtualenv

Get the code from github and start hacking

git clone [email protected]:sarathsp06/py2factor.git
cd py2factor
virtualenv .venv
. .venv/bin/activate
pip install -r requirements.txt
python setup.py install

Features

What's all the bells and whistles this project can perform?

  • Manage two factor authenntication details for multiple accounts
  • It can generate two factor code for any account offline
  • Can add a two factor account using the URL from QR code
  • Can add a two factor accoount using just the key
  • Can delete and list the account in different formats
  • Output can be formatted in different formats so that it can be piped to other applications

Contributing

If you'd like to contribute, please fork the repository and use a feature branch. Pull requests are warmly welcome.

Licensing

The code in this project is licensed under MIT license.

py2factor's People

Contributors

sarathsp06 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

py2factor's Issues

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.