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.21.tar.gz (12.1 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: totp_auth-1.1.21.tar.gz
  • Upload date:
  • Size: 12.1 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.21.tar.gz
Algorithm Hash digest
SHA256 23aa4fd6d82192117fd7bf2107c1c88ba3c86107f59eda266af371a1e0f1e140
MD5 9d4863e3c17d88b29e9d5650cfb6b887
BLAKE2b-256 608546cebafdc0d41e21b9b7b445894e535b5097d3aaffdd72e12cf9568700e9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: totp_auth-1.1.21-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.21-py3-none-any.whl
Algorithm Hash digest
SHA256 cec806f4a45edd822d12a8acedf7e31a6f1f0b1d0b9078f6b3c18e6fdfd3b452
MD5 d3e61edd1fd760e59b0e8a0754239d94
BLAKE2b-256 59ff755ea718bb151f8e8d05ab89c911013bbe6583ebf4c0e92d3b28bef5c694

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