thbishop / mmfa

command line MFA manager for OSX

Home Page:https://github.com/thbishop/mmfa

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mmfa

Build Status

mmfa is a command line tool to help manage MFA secrets and generate one time MFA codes on OSX.

It is heavily inspired by Bradly Feeley's ruby mmfa project.

Install

If you have homebrew, you can install it with:

brew tap thbishop/mmfa
brew install mmfa

If that doesn't float your boat, you can download the latest binary and place it somewhere in your path (perhaps /usr/local/bin).

Quick Start

Add a Secret

You can add a MFA secret with the add command (it's stored in the OSX login keychain):

$ ./mmfa add my_service

Get the Current MFA Code

You can then grab the current MFA code with:

$ ./mmfa get my_service

This will print your MFA code to stdout and copy it to your clipboard.

List Secrets

You can list MFA items to help you see what you've added or which item you'd like to get a passcode for:

$ ./mmfa list

Contribute

  • Fork the project
  • Make your feature addition or bug fix (with tests and docs) in a topic branch
  • Send a pull request and I'll get it integrated

License

See LICENSE

About

command line MFA manager for OSX

https://github.com/thbishop/mmfa

License:MIT License


Languages

Language:Go 64.6%Language:Shell 29.7%Language:Makefile 5.7%