Project

talcotp

0.0
No commit activity in last 3 years
No release in over 3 years
TalcOTP is an otp password generator
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 10.5
~> 3.5

Runtime

~> 1.3
~> 4.0
 Project Readme

TalcOTP

An otp password generator using rotp

Usage

Run this command to print all the current codes:

talcotp /path/to/otp_file

Where the otp_file is of the format:

[
  {
    "secret":"JBSWY3DPEHPK3PXP",
    "label":"test_label",
    "period":30,
    "digits":6,
    "algorithm":"SHA1"
  },
  {
    "secret":"wrn3pqx5uqxqvnqr",
    "label":"test_label_2",
    "period":40,
    "digits":7,
    "algorithm":"SHA256"
  }
]

You can also run the command passing in the name of the account in order for it to copy the code to the clipboard:

talcotp /path/to/otp_file test_label

Installation

gem install talcotp

Building the gem from source

You can build from source with the following command:

gem build talcotp.gemspec