Repository navigation
Bump libcotp from v4.2.1 to v4.2.2 - #122000
Conversation
Upstream release v4.2.2 hardens the base32, OTP-counter and otpauth/YAOTP URI paths: counters are now encoded to 8 big-endian bytes independently of `sizeof(long)` and host endianness, `whmac_setkey` releases a previously set MAC context instead of leaking it, a reused `secret=` URI parameter is zeroed before being freed, and a truncated percent-escape is rejected instead of being taken literally. The generated OTP codes are unchanged; the URI-parsing tightening is not reachable from ClickHouse, which uses only `get_totp_at`. No ClickHouse-side source or CMake changes were needed: the source list in `contrib/libcotp-cmake/CMakeLists.txt` is still complete (the new files live under `fuzz/` and `tests/`), and the `cotp_error_t` enum and the public API are unchanged. Co-Authored-By: Claude Code <[email protected]>
|
Workflow [PR], commit [e77b199] Summary: ✅
AI ReviewSummaryThis PR only bumps the vendored Final Verdict
LLVM Coverage ReportMeasured on commit e77b199.
Changed lines: Uncovered code analysis did not run: No coverable C/C++ source files changed (contrib/ is excluded from coverage). Newly covered: +173 lines in 47 files (-149 lines lost coverage) · Details |
Build profile diff (arm_release)Comparing ✅ No significant changes. Binary sizes
The official master build is compiled with Compile time of recompiled translation units13 translation units recompiled, 4 s compile time in total, 13 of them have a recent master baseline. |
Bump
libcotpfrom v4.2.1 to v4.2.2. Upstream hardening release: URI/base32 parser fixes, a leak and undefined-behaviour fix, and new fuzzers. Generated OTP codes are unchanged.Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
Update
libcotpto v4.2.2.Workflow [PR]
Sync PR [sync-upstream/pr/122000]
Version info
26.10.1.1596-master(included in26.10and later)