lp:~javier.collado/junk/2fa-multiple-key-directories

Created by Javier Collado and last modified
Get this branch:
bzr branch lp:~javier.collado/junk/2fa-multiple-key-directories
Only Javier Collado can upload to this branch. If you are Javier Collado please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Javier Collado
Project:
Junk to learn
Status:
Development

Recent revisions

5. By Javier Collado

Added support for multiple key directories

A new command line argument has been added to pass the key directory to use.
The use case for this is to have the 2fa profile data stored in an alternative
directory in a removable media, so that there is no need to store it in your
laptop when traveling but in another device such as a USB stick.

For example:
- Create key:
./2fa -d .

- Generate OTP:
./2fa

Note that on OTP generation, the script looks by default in the same directory
where the it's located, that is, both the script and the data can be
stored in the removable device. If you prefer to keep just the profile data in
separate directory, then `-d` can also be used on OTP generation as follows:
./2fa -d <dir>

4. By Selene ToyKeeper

prints a prettier message when oathtool isn't installed

3. By Selene ToyKeeper

top-level docstring, and a note about prereqs

2. By Selene ToyKeeper

Displays first passcode after creating a profile. Added usage info.

1. By Selene ToyKeeper

First pass at a simple 2fa tool. Works with SSO, using oathtool.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:junk
This branch contains Public information 
Everyone can see this information.

Subscribers