Skip to content

A rust library for generating OTP codes using a hardware token and libnfc compatible reader.

License

Notifications You must be signed in to change notification settings

evq/rust-nfc-oath

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rust-nfc-oath

A rust library for generating OTP codes using a hardware token and libnfc compatible reader.

Status

This has been tested for generating TOTP codes with the Yubikey NEO and Fidesmo Card. Management features are not implemented, the intended use case is an embedded reader which generates codes from a pre-provisioned credential with a known name, such as an nfc door reader.

See Also

Most of this code derives from the official Yubico code for OTP generation: https://github.com/Yubico/yubikey-manager/blob/master/ykman/oath.py

The Fidesmo android TOTP NFC tutorial was also consulted and is the source for the test credential used in the included example: https://developer.fidesmo.com/tutorials/android-totp

About

A rust library for generating OTP codes using a hardware token and libnfc compatible reader.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages