No description
Find a file
dimspith 90b38dd97c Fix
2022-02-16 17:31:36 +02:00
otplib/private Run nimpretty on utils 2021-11-25 17:24:40 +02:00
tests Initial commit 2021-11-16 18:49:23 +02:00
.gitignore Remove some newlines, add file to gitignore 2022-02-16 14:48:39 +02:00
gendoc.sh Improve docs, README and doc generation 2022-02-16 16:51:36 +02:00
LICENSE Create LICENSE 2021-11-16 19:03:15 +02:00
otplib.nim Improve docs, README and doc generation 2022-02-16 16:51:36 +02:00
otplib.nimble Fix 2022-02-16 17:31:36 +02:00
README.md Fix 2022-02-16 17:31:36 +02:00

OTPLIB - One Time Password Library for Nim License: Unlicense

forthebadge

OTPLIB is a Nim package for generating, managing and verifying one-time passwords. It can be used to implement 2FA or MFA in web applications and other systems that require users to log in.

Multi-factor Authentication standards are defined in:

OTPLIB was inspired by other OTP libraries like GOTP and PyOTP.

TODO

  • Handle Google's key URI format
  • Add support for more hash modes

Installation

To install run:

$ nimble install otplib

To include it in your project add this to your nimble file:

requires "otplib"

and import it:

import otplib

Usage

See: Documentation

Contributing, feature requests and bug reports

Contributions are welcome 💕

Make sure to run nimpretty on your changes to maintain a consistent style.