Skip to content

thbishop/mmfa

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.

Quick Start

First, download a pre-built binary from the desired release.

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

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