Releases: paolostivanin/libcotp
v1.0.11
- add better libs detection during compile time
- use stronger default when compiling (
-O3
etc)
sha256: fd01f46a81a1f2811c932eab336276d982369401ae405e36034f1aa859b04a74
v1.0.10
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
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
- Improve
get_totp
andget_htop
function definition by reporting that the secret must be base32 encoded - Improve README file
sha256: 4f709b2d2e5246d6971e75b3c99dcdba5c20ee6800b944b32a0dd1f9986c0efb
v1.0.7
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
- 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
- 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
- update readme with instruction on how to build and install the lib
- fix cmake file
v1.0.3
New features compared to 1.0.1
- add totp_verify function
- add hotp_verify function
- add cmake file and removed old compile.sh