Skip to content

A tiny single-file oathtool implementation #206

@notpushkin

Description

@notpushkin

Not an issue per se, but I hope it can help folks that are in the same situation as me. I’m currently on a Mac without admin rights (so no Homebrew for me), and building oathtool is a bit messy. The Perl version probably works, but installing things from CPAN is also a bit tricky.

I’ve came across a wonderful 20-line TOTP implementation in Python, mintotp, and figured out I can just wrap it into a single file script: https://gist.github.com/notpushkin/7ac32ddf35a0c73bc6f181a1b5dffa4f
Now I can generate TOTP codes on my desktop again!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions