Skip to content
This repository has been archived by the owner on Aug 9, 2023. It is now read-only.
/ iotp Public archive

iotp is a Google Authenicator/RFC 6238 compatible application for generating Time based One Time Passwords

License

Notifications You must be signed in to change notification settings

evilhamsterman/iotp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Warning

This app is unmaintained and not secure. I wrote it to prove a point. If you need a CLI TOTP user something like oathtool or totp-cli

iotp

A small app for generating TOTP (Google Authenicator/RFC 6238 compatible) codes.

Installation

pip install .

Usage

Add or modify a service

iotp set <Service name> <Base32 Key>

Keys with spaces must be entered in quotes

For example:

iotp set Slack "SQUE 5WUI 3XJQ 4T7E"

or

iotp set Slack "SQUE5WUI3XJQ4T7E"

Retrieve a TOTP

For a all registered services

iotp get [-cCr]

For a specific service

iotp get [-cCr] <service>

By default a countdown bar will display the remaining seconds the TOTP is valid.

  • -c will copy the code to the clipboard. This requires installing the xclip app on Linux/*BSD, Windows and Mac have no extra requirements.
  • -C will prevent the countdown from displaying.
  • -r will repeat the TOTP after the countdown is over for the number specified.

For example:

iotp get -c Slack

then Ctrl-v into your authentication dialog

Remove a service

iotp rm <service>

For example

iotp rm Slack

About

iotp is a Google Authenicator/RFC 6238 compatible application for generating Time based One Time Passwords

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages