Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow configuration of path to keychain file #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Nov 12, 2018

  1. Allow configuration of path to keychain file

    This adds the `-keychain` parameter to all commands which can be supplied a path
    to where the user want 2fa to place the keychain and read it from.
    
    The default value of `~/.2fa` can also be overruled by setting a path in the
    environment variable named `KEYCHAIN`, so it doesn't have to be supplied on
    every invocation.
    
    Priority order is:
    
    1. The `-keychain` argument.
    2. The `KEYCHAIN` environment variable.
    3. Default value of `~/.2fa`.
    Tenzer committed Nov 12, 2018
    Configuration menu
    Copy the full SHA
    24aa657 View commit details
    Browse the repository at this point in the history