Coder Social home page Coder Social logo

appliedtrust / mytotp Goto Github PK

View Code? Open in Web Editor NEW
13.0 4.0 11.0 112 KB

TOTP client for the command line - like Google Authenticator for your desktop.

License: BSD 2-Clause "Simplified" License

CSS 2.04% JavaScript 8.50% Go 83.06% Makefile 1.70% HTML 4.70%

mytotp's Introduction

Insecure Unsupported License BSDv2

github.com/appliedtrust/mytotp

MyTOTP is a simple Go client for the Time-Based One Time Password (TOTP) protocol.

Works just like Google Authenticator for your Mac/Windows/Linux desktop.

Warning: this software is still in development and probably not ready to trust with your most sensitive credentials.

##Quickstart

  1. Import a TOTP secret with a QR code or secret string.
    1a. Save the QR code to a local file, then run mytotp qr <filename> ; rm <filename>
    OR
    1b. Find the "secret string", then run mytotp add <name> <secret>
    You might have to click on "manual entry" in AWS or Google to see this string.
  2. Run mtotp -w to see your code.
  3. Secrets are stored encrypted in ~/.totp -- don't forget your passphrase!

##Usage

mytotp: TOTP client for the command line

Usage:
  mytotp [options]
  mytotp add <name> <secret>
  mytotp qr <filename>
  mytotp dump
  mytotp import <filename>
  mytotp -h --help
  mytotp --version

Options:
  -s, --secrets <file>        TOTP secrets file - KEEP PRIVATE [default: ~/.totp]. 
  -c, --continuous            Print codes continuously.
  -w, --web                   Run a simple web interface.
  -l, --listen <ip:port>      Local IP and port for web interface [default: localhost:8000].
  -h, --help                  Show this screen.
  --version                   Show version.

Optionally set the MYTOTP_PASSPHRASE environment variable to avoid the initial passphrase prompt.

DANGER: Running this tool on the same workstation you login from probably violates NIST-800-63 best-practices for two-factor. Similarly, using the mytotp dump feature puts your secrets at risk of compromise.

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.