mintotp

Minimal TOTP generator in 20 lines of Python (by susam)

Stats

Basic mintotp repo stats
9
686
3.8
2 months ago

susam/mintotp is an open source project licensed under MIT License which is an OSI approved license.

Mintotp Alternatives

Similar projects and alternatives to mintotp

  • GitHub repo totp

    RFC6238 TOTP implementation in pure PostgreSQL plpgsql

  • GitHub repo uncap

    Map Caps Lock to Escape or any key to any key

  • GitHub repo emacs4cl

    A 40 line ~/.emacs to quickly set up vanilla Emacs for Common Lisp programming

  • GitHub repo bash-totp

    [bash] Time-based One-time Password Generator

  • GitHub repo postgres-deno

    A PostgreSQL extension for Deno: run Typescript in PostgreSQL functions and triggers.

  • GitHub repo inwee

    Conveniently send text and commands from file or standard input to WeeChat with this wrapper around WeeChat's FIFO pipe

  • GitHub repo analysis-pipelines

    Project CRANE (Crisis Racism and Narrative Evaluation) aims to support researchers and anti-racist organisations that wish to use state-of-the-art text analysis algorithms to study how specific events impact online hate speech and racist narratives. CRANE Toolbox is a Python package: once installed, the tools in CRANE are available as functions that users can use in their Python programs or directly through their terminal. CRANE targets users with basic programming but no machine learning skills

NOTE: The number of mentions on this list indicates mentions on common posts. Hence, a higher number means a better mintotp alternative or higher similarity.

Posts

Posts where mintotp has been mentioned. We have used some of these posts to build our list of alternatives and similar projects - the last one was on 2021-02-24.
  • susam/mintotp MinTOTP is a minimal TOTP generator written in Python.
    reddit.com/r/Python | 2021-02-26
    reddit.com/r/Python | 2021-01-13
  • Minimal TOTP Generator in Python
    news.ycombinator.com | 2021-02-25
  • RFC6238 TOTP implementation in pure PostgreSQL
    news.ycombinator.com | 2021-02-24
    > I even have a 6-line Python function.

    In case, anyone is curious what that might look like, I have a 30-line Python code here (TOTP generation only, no verification): https://github.com/susam/mintotp. Indeed the core function (the HOTP function) contains only 6 lines, thanks to Python's extensive standard library.

    news.ycombinator.com | 2021-02-24
    This is very interesting if it was done for fun.

    However, this is very likely not suitable for real world usage. A couple of issues I could see with a quick glance:

    * The function random() used at line 121 is not a cryptographically secure random number generator.

    * Using '=' for comparing TOTPs at line 111 is not safe from timing attacks.

    By the way, a shameless plug: TOTP generation in Python is only 30 lines of code, thanks to its extensive standard library: https://github.com/susam/mintotp

  • Minimal TOTP generator in 20 lines of Python
    news.ycombinator.com | 2021-01-25
  • Is there an open source authenticator for desktop?
    Otherwise, https://github.com/susam/mintotp looks simple enough, and I'm sure there are similar implementations in other languages too.
  • MinTOTP – Minimal TOTP Generator in 20 Lines of Python
    news.ycombinator.com | 2021-01-12
  • Open Source Developers -- do you write up a product comparison that shows how your project measures up against other open source projects in the same category?
    https://github.com/susam/mintotp#alternative-oath-toolkit