Metadata-Version: 2.4
Name: tba-provider-authenticator-totp-local
Version: 0.1.0
Summary: Local time-based OTP authenticator provider for TBA.
License-Expression: Apache-2.0
Requires-Python: >=3.10,<3.16
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Programming Language :: Python :: 3.15
Requires-Dist: tba-bases-authenticator (==0.1.0)
Requires-Dist: tba-concrete-totp (==0.1.0)
Requires-Dist: tba-contracts-identity (==0.4.0.dev2)
Description-Content-Type: text/markdown

# TBA local TOTP authenticator

Generate a Base32 secret with `new_secret()` and pass it with the account and issuer labels to `provisioning_uri()`. The URI uses the SHA-1, six-digit, 30-second profile understood by authenticator apps.

Use `TotpLocalAuthenticator().verify_step()` to verify a code and obtain the matched step. Store the secret encrypted and advance the last accepted step in the same transaction as successful verification. Each installation controls its own secret storage, retry limits, and clock-drift policy.

