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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0f4db5edb38a7481120176a526e8c29539b9e80581dd2dcc1811557d77cfad5 |
|
MD5 | 4c813dde58e7db22facfa030d222c58a |
|
BLAKE2b-256 | c0b4126c898d8bdd6d73ee702cf221ab8ddfb8c53db9bc101272542e478eba20 |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | eadee8531d9ee95eda92fd17949137454acd1d2a001dcf68f99bb8de56f06468 |
|
MD5 | 5b976541be1aa7a1de2cbc4daa27bdb3 |
|
BLAKE2b-256 | 151dd6bf77eb368bb74a3183e9294a4f5b6eb593371f276aa6d166ad144712cb |