Skip to content

Releases: tmthecoder/xotp

v0.4.0

29 Jan 19:27
1ba61c7
Compare
Choose a tag to compare
  • Breaking Change the HOTP & TOTP OTP getter methods to return an instance of OTPResult instead of u32
    • Made in order to allow for the as_string convenience formatter that provides a correct length zero-padded string
    • The u32 representation of the code can also be returned with as_u32 if desired
  • Add in time_until_refresh and time_until_refresh_with_start to provide a convenient way to get time until a refresh is needed

v0.3.0

27 Jan 03:01
1eec5c1
Compare
Choose a tag to compare
  • Remove the "ffi" feature as it was incompatible with the structs. Passing them as an opaque pointer is a better idea.

v0.2.0

26 Jan 17:55
257a3d7
Compare
Choose a tag to compare
  • Support parsing an HOTP/TOTP instance from an otpauth URI (Thanks to @orion78fr)
  • Add in an "ffi" feature to make all structs & enums C-compatible with the #[repr(C)] attribute

v0.1.0

26 Jan 04:16
b4b3505
Compare
Choose a tag to compare

First release, comes with HOTP and TOTP functionality