Skip to content

Conversation

@Tenzer
Copy link

@Tenzer Tenzer commented Nov 12, 2018

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.

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`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants