Skip to content

ghills/pyotp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages