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 | sudo 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.16.tar.gz (12.2 kB view details)

Uploaded Source

Built Distribution

totp_auth-1.1.16-py3-none-any.whl (14.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: totp_auth-1.1.16.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.16.tar.gz
Algorithm Hash digest
SHA256 84f82ecf6d124ec61122c3d13359e98657b9ae3452b7152c08fb0e13d9660602
MD5 1ed13d09f682425dac4d290d1cbbcc45
BLAKE2b-256 35b25932345b237f6ceab0c2cce4346aa67fb51ecf3fef3d636af0822a248bb3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: totp_auth-1.1.16-py3-none-any.whl
  • Upload date:
  • Size: 14.3 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.16-py3-none-any.whl
Algorithm Hash digest
SHA256 6c4a058fe29d9234a5610d39f2a557ac620ec079ccd603e157ac9892bacdc71e
MD5 c67bd283cd4caaeabc77ddb46b5a15a4
BLAKE2b-256 b87f38a4a5ba083faa1329cb5218a11bcbf87a7df8c8f9fdc62d92a7c334728a

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