mfa icon indicating copy to clipboard operation
mfa copied to clipboard

Multi-factor authentication on your command line.

WARNING

This software is no longer maintained nor recommended.

Recommended alternatives resistant to phishing attacks are:

  • WebAuthn__ for supported websites
  • 1Password__ with autofill__ for others

Stay safe online!

__ https://webauthn.io/ __ https://1password.com/ __ https://support.1password.com/one-time-passwords/

mfa

.. image:: https://badge.fury.io/py/mfa.svg? :target: https://pypi.python.org/pypi/mfa :alt: Latest PyPI version

Multi-factor authentication on your command line.

Installation

It is available on PyPI__, so you can install it using pip.

.. code-block:: console

$ pip install mfa

__ https://pypi.python.org/pypi/mfa

Getting started

mfa uses the system keyring service to store keys:

  • Mac OS X Keychain
  • Linux Secret Service
  • Windows Credential Vault

Add key and value to the key store:

.. code-block:: console

$ mfa set github f5347bieka5hcg5u

Get the value for a key:

.. code-block:: console

$ mfa get github f5347bieka5hcg5u

Generate a one-time password:

.. code-block:: console

$ mfa otp github 925370

Author and license

Jihyeok Seo__ wrote mfa. It is licensed under the terms of the MIT_ license.

__ http://limeburst.net .. _MIT: http://opensource.org/licenses/MIT

Changelog

Version 0.1.1


Bugfix release. Released on March 6, 2015.


Version 0.1.0

First alpha release. Released on September 27, 2014.