Skip to content

Releases: paolostivanin/libcotp

v1.0.11

18 Dec 20:13
77374b9
Compare
Choose a tag to compare
  • add better libs detection during compile time
  • use stronger default when compiling (-O3 etc)

sha256: fd01f46a81a1f2811c932eab336276d982369401ae405e36034f1aa859b04a74

v1.0.10

29 Sep 17:59
Compare
Choose a tag to compare

⚠️ This release brings an API change ⚠️

The error logic has been refactored in order to be more consistent and to give more information to the end user in case of errors.

Please have a look at the README to see how the APIs changed and how to use the new ones.

sha256: 34af119cb367b8ea6cf15a7dfbcd87687be27e55b3a95f82ac84e6dc735bce4e

v1.0.9

24 Sep 16:20
056851f
Compare
Choose a tag to compare

With this version the input secret is normalized before being decoded. For example, now you can pass abc dfe egg as secret because it will be normalized to ABCDFEEGG before being decoded.
This will (hopefully) prevent #5 from happening again :)

sha256: 96514f2767a18391cd41a5051761452961a939fbbf53d99dce207cf5646e15df

v1.0.8

24 Sep 08:50
40184e5
Compare
Choose a tag to compare
  • Improve get_totp and get_htop function definition by reporting that the secret must be base32 encoded
  • Improve README file

sha256: 4f709b2d2e5246d6971e75b3c99dcdba5c20ee6800b944b32a0dd1f9986c0efb

v1.0.7

25 May 15:46
Compare
Choose a tag to compare

Tests are now disabled by default when compiling. If you want to run them, then please add the following flag to cmake -DBUILD_TESTING=ON

v1.0.6

08 Apr 13:18
Compare
Choose a tag to compare
  • add sha256 support to totp and hotp
  • add sha512 support to totp and hotp
  • add test cases from rfc6238
  • add new dependency to libbaseencode
  • add shippable support

v1.0.5

13 Mar 17:57
c5053e1
Compare
Choose a tag to compare
  • gcrypt initialization from within the library if not done by the caller
  • fallback to 6 digits if the given number is neither 6 nor 8

v1.0.4

11 Mar 10:28
7576a07
Compare
Choose a tag to compare
  • update readme with instruction on how to build and install the lib
  • fix cmake file

v1.0.3

11 Mar 09:09
140fe47
Compare
Choose a tag to compare

New features compared to 1.0.1

  • add totp_verify function
  • add hotp_verify function
  • add cmake file and removed old compile.sh