Repository navigation
Hardening and bug-fix release. No API or ABI changes.
Fixes and hardening
- Reject negative timestamps in
get_totp_at,get_steam_totp_atandget_yaotp_at(INVALID_COUNTER) validate_totp_in_window: overflow-checked window arithmetic, explicitINT_MINrejection- otpauth/yaotp URIs: reject blank secrets and truncated percent-escapes, an empty label issuer no longer shadows
&issuer=, replaced secrets are securely zeroed,track_id/uidcap enforced in_build - HMAC backends: NULL-handle guards; fixed an OpenSSL MAC context leak on re-key
- HOTP counter encoded as fixed 8-byte big-endian
- CMake/pkg-config: backend private libs propagated for static consumers;
-O3only in Release builds
Tests, docs and CI
- New fuzzers (
fuzz_base32_encode,fuzz_yaotp_uri) and an allocation-failure test suite - README refreshed: CMake/pkg-config usage, tests, fuzzing, Steam codes
- CircleCI migrated to config 2.1; i386 tests retried to absorb Criterion sandbox flake
Verification
SHA256: 52baa968de23be3d54465f214ba2733f848702b211711ba625db2535e14433b7
gpg --verify v4.2.2.tar.gz.asc v4.2.2.tar.gz
echo "52baa968de23be3d54465f214ba2733f848702b211711ba625db2535e14433b7 v4.2.2.tar.gz" | sha256sum -cFull changelog: v4.2.1...v4.2.2