Files
Ten31-Portal/backend/pyproject.toml
Jonathan KirkwoodandClaude Fable 5 0822eca887 0.2.38: optional two-factor authentication (authenticator-app TOTP)
Per-user opt-in 2FA: enroll from the Two-factor option next to Change
password (QR + confirm code + 8 one-time recovery codes), login becomes
two-step for enrolled users, disable requires the account password.
Escape hatch for lost phones: reset-2fa CLI + Reset Two-Factor StartOS
action. Second-factor guesses share the login rate limiter; the pending
login window expires after 5 minutes.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-11 22:08:04 +02:00

38 lines
868 B
TOML

[project]
name = "ten31portal"
version = "0.1.0"
description = "Internal system of record for Ten31 entities, holdings, and valuations."
requires-python = ">=3.11"
dependencies = [
"fastapi==0.115.12",
"uvicorn[standard]==0.34.3",
"sqlmodel==0.0.24",
"alembic==1.15.2",
"argon2-cffi==23.1.0",
"python-multipart==0.0.20",
"itsdangerous==2.2.0",
"aiosqlite==0.21.0",
"starlette-session==0.4.3",
"openpyxl==3.1.5",
"msoffcrypto-tool==6.0.0",
"pyotp==2.9.0",
"qrcode==8.2",
]
[project.optional-dependencies]
dev = [
"pytest==8.3.4",
"httpx==0.28.1", # required by starlette's TestClient
]
[project.scripts]
ten31portal = "ten31portal.main:cli"
ten31portal-cli = "ten31portal.cli:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.pytest.ini_options]
testpaths = ["tests"]