#totp #hotp #2fa #mfa #web-authn

slauth

oath HOTP and TOTP complient implementation

21 releases

0.5.0 Jul 29, 2020
0.4.9 Jan 7, 2020
0.4.7 Dec 9, 2019
0.4.6 Nov 28, 2019
0.2.0 Mar 21, 2019

#74 in Authentication

Download history 73/week @ 2021-02-20 59/week @ 2021-02-27 38/week @ 2021-03-06 60/week @ 2021-03-13 77/week @ 2021-03-20 50/week @ 2021-03-27 65/week @ 2021-04-03 48/week @ 2021-04-10 98/week @ 2021-04-17 26/week @ 2021-04-24 40/week @ 2021-05-01 44/week @ 2021-05-08 41/week @ 2021-05-15 62/week @ 2021-05-22 48/week @ 2021-05-29 62/week @ 2021-06-05

247 downloads per month

MIT license

160KB
3.5K SLoC

slauth

doc crate issue downloads license dependency status

Slauth is a Rust only, OpenSource implementation of Multiple authenticator utils / specification

Current Implementation Status

Status is describe by : ✔ as implemented, ❌ as not implemented and ⚠️ as partially implemented.

OATH Authentication (specs)

Authentication Methods

Name Status Ref
HOTP RFC 4226
TOTP RFC 6238
OCRA RFC 6287

Provisioning

Name Status Ref
PSKC RFC 6030
DSKPP RFC 6063

FIDO & W3C Specification (specs)

Universal 2nd Factor (U2F)

Name Status Ref
Server-Side Verification
Raw Message Spec
HID Protocol Spec

WebAuthN

Name Status Ref
Server-Side Verification ⚠️ Spec
Raw Message Spec
COSE ⚠️ Spec

For the server side validation, only ECDSA P256 and P384 key validation is supported at this time. Eventually RSA and ECDAA Key validation will be added.

Universal Authentication Framework (UAF)

Not Implemented

Dependencies

~0.7–4MB
~93K SLoC