Skip to content

thbishop/mmfa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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