Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ttoken

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ttoken

  • 0.1.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Ttoken

Ttoken is a command-line program to generate time-based token/OTP.

Apart from generating time-based OTP, it provides the feature of creating pin+token and copies it to the clipboard so that user can enter it anywhere by just the click of Ctrl+v.

Installation

# yum install ruby rubygems

# gem install ttoken

Usage

Gem provides the executable command-line program - ttoken.

  1. To encrypt and save your password/pin in ttoken use the below command.
# ttoken --encrypt
  1. Create the file /etc/ttoken/ttoken.yml and enter the below content.
# Issuer - The site or app you are creating the OTP
:issuer: 'Red Hat'

# Time-based token provided by issuer
:token: "1234abcdxyz"

# Enable pin+token
:pinplustoken: yes

Make sure you change the issuer and token.

  1. Running the command will generate pin+token and will copy it to the clipboard.
# ttoken

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/patilsuraj767/ttoken.

FAQs

Package last updated on 13 Jun 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc