Skip to main content

MinTOTP - Minimal TOTP Generator

Project description

MinTOTP

MinTOTP is a minimal TOTP generator written in Python.

Introduction

TOTP stands for Time-Based One-Time Password. Many websites and services require two-factor authentication (2FA) or multi-factor authentication (MFA) where the user is required to present two or more pieces of evidence:

  • Something only the user knows, e.g., password, passphrase, etc.
  • Something only the user has, e.g., hardware token, mobile phone, etc.
  • Something only the user is, e.g., biometrics.

A TOTP value serves as the second factor, i.e., it proves that the user is in possession of a device (e.g., mobile phone) that contains a TOTP secret key from which the TOTP value is generated. Usually the service provider that provides a user's account also issues a secret key encoded either as a Base32 string or as a QR code. This secret key is added to an authenticator app (e.g., Google Authenticator) on a mobile device. The app can then generate TOTP values based on the current time. By default, it generates a new TOTP value every 30 seconds.

MinTOTP is a Python tool that can be used to generate TOTP values from a secret key. Additionally, it exposes its functionality as module-level functions for Python developers. It can be used on any system with Python 3.4 or later installed on it.

Resources

Here is a list of useful links about this project:

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mintotp-0.3.0.tar.gz (8.4 kB view details)

Uploaded Source

Built Distribution

mintotp-0.3.0-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file mintotp-0.3.0.tar.gz.

File metadata

  • Download URL: mintotp-0.3.0.tar.gz
  • Upload date:
  • Size: 8.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.1

File hashes

Hashes for mintotp-0.3.0.tar.gz
Algorithm Hash digest
SHA256 d0f4db5edb38a7481120176a526e8c29539b9e80581dd2dcc1811557d77cfad5
MD5 4c813dde58e7db22facfa030d222c58a
BLAKE2b-256 c0b4126c898d8bdd6d73ee702cf221ab8ddfb8c53db9bc101272542e478eba20

See more details on using hashes here.

File details

Details for the file mintotp-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: mintotp-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.1

File hashes

Hashes for mintotp-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 eadee8531d9ee95eda92fd17949137454acd1d2a001dcf68f99bb8de56f06468
MD5 5b976541be1aa7a1de2cbc4daa27bdb3
BLAKE2b-256 151dd6bf77eb368bb74a3183e9294a4f5b6eb593371f276aa6d166ad144712cb

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page