Skip to content

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

How to Use

Standalone

Invoke as a standalone OTP, 6 character, 30 second interval generator

  1. echo TOPSECRETPWD | otp.py
  2. otp.py secret.txt
  3. otp.py < secret.txt

Module

See example/foo.py

import otp
# get your secret

totp = otp.totp_code( secret, interval=60, digits=8 )

About

Simple OTP implementation in Python

Resources

Stars

5 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages