FICHA · MANJARO

python-pyotp

Python library for generating and verifying one-time passwords

  • Library
  • Dev
  • SECURITY
  • Dependency only
official+codex · reviewed · May 28, 2026 description in en

Description

Generates and verifies one-time passwords such as TOTP and HOTP from Python. It helps applications implement two-factor authentication flows and compatible authenticator-code checks.

OTP security depends on secret storage, time settings, replay handling, and recovery design. Protect seeds and avoid logging codes or provisioning URIs.

Permissions

Permissions not analysed for this source yet.