Skip to main content

Easy setup totp-based login for your application

Project description

TOTP Auth

The project was created as a convenient utility for adding TOTP authorization to your site without changing your project.

Technology support

Technology With Header Rewrite
HTTP Yes
WebSocket Yes
EventStream Yes

TODO List

  • Create web interface for configuration
  • Light-weight version with 1 rewrite for implementing in docker containers
  • Migrate from .ini config to sqlite
  • Add classic password support
  • Rate limits for protect of bruteforce
  • Login page customization

Installation

PIP

Installation from pip is easy:

pip install totp_auth

Script

Installs python, pip and setup systemd daemon. Run as the user on whose behalf you will manage.

curl -fsSL https://raw.githubusercontent.com/MoxForever/totp_auth/main/install.sh | bash

Usage

All interaction goes through totp-auth.

Run server

totp-auth run

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

totp_auth-1.1.17.tar.gz (12.2 kB view details)

Uploaded Source

Built Distribution

totp_auth-1.1.17-py3-none-any.whl (14.2 kB view details)

Uploaded Python 3

File details

Details for the file totp_auth-1.1.17.tar.gz.

File metadata

  • Download URL: totp_auth-1.1.17.tar.gz
  • Upload date:
  • Size: 12.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for totp_auth-1.1.17.tar.gz
Algorithm Hash digest
SHA256 11bbe90424b93238fb151ab6ba956fe948af5a8789743aa93b3d4d341e380de6
MD5 7b671f8365cc5f2c0b4e57df1aa8cddd
BLAKE2b-256 88fedd076fc3ba00023add50865e3c15fbbc410a55bf1e3e415b35cbc08dd00c

See more details on using hashes here.

File details

Details for the file totp_auth-1.1.17-py3-none-any.whl.

File metadata

  • Download URL: totp_auth-1.1.17-py3-none-any.whl
  • Upload date:
  • Size: 14.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for totp_auth-1.1.17-py3-none-any.whl
Algorithm Hash digest
SHA256 608e04a0cc3ed8cdc4b2593d580231d94303bb07c0f937b24aed78f6f1dc7686
MD5 5684b8913c261694f6130b54801dd2fc
BLAKE2b-256 88f712e4683779c4c622214523165afd5588e002af92222dc433a477fc81d313

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