28 releases

0.7.10 Aug 23, 2024
0.7.8 Jun 25, 2024
0.7.6-beta.0 Mar 5, 2024
0.5.0 Jul 29, 2020
0.2.0 Mar 21, 2019

#5 in #hotp

MIT license

4MB
7K SLoC

Rust 6K SLoC // 0.0% comments Java 349 SLoC // 0.0% comments Swift 290 SLoC // 0.1% comments TypeScript 217 SLoC // 0.3% comments JavaScript 53 SLoC // 0.1% comments Prolog 18 SLoC Shell 16 SLoC // 0.1% comments

Contains (ELF lib, 2MB) libslauth.so, (ELF lib, 2MB) libslauth.so, (ELF lib, 170KB) libjnidispatch.so, (ELF lib, 120KB) libjnidispatch.so, (JAR file, 55KB) gradle/wrapper/gradle-wrapper.jar

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, the following algorithm are implemented:

  • ES256
  • ES384
  • ED25519
  • RS256

Universal Authentication Framework (UAF)

Not Implemented

Dependencies

~7–23MB
~305K SLoC