GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Python3pkg/2fa: A CLI 2-factor authentication manager

BranchesTags
Open more actions menu

Latest commit

 

History

17 Commits
17 Commits

Folders and files

NameName
Last commit message
Last commit date
pyotp
pyotp
 
 
pyqrcode
pyqrcode
 
 
.gitignore
.gitignore
 
 
2fa
2fa
 
 
README.md
README.md
 
 
setup.py
setup.py
 
 

Repository files navigation

2fa

A command-line 2-factor authentication manager. This includes pyotp and pyqrcode.

Requirements

  • Python 3
  • gpg2

Installation

$ git clone https://github.com/seiyanuta/2fa
$ cd 2fa
$ python3 setup.py install

How to use

Register an account:

$ 2fa --register 'AWS (seiya)' '555555'

Generate codes:

$ 2fa
AWS (root)          281692      (23)
AWS (seiya)         628110      (23)
Dropbox             713351      (23)
GitHub              719876      (23)
Google              884966      (23)

Generate a QR code for Google Authenticator.

$ 2fa --qrcode "AWS (root)"

Secret file

Token seeds are encrypted by gpg2 and saved as ~/.2fa.secrets. Just copy the file to backup.

License

2fa is released under MIT license and includes third-party libraries:

  • pyotp: MIT License
  • pyqrcode: BSD 3-clause License

About

A CLI 2-factor authentication manager

Resources

Readme
Activity
Custom properties

Stars

2 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.