Repository navigation
Hide secret key in HMAC SQL function - #102997
Conversation
|
Workflow [PR], commit [209cae1] Summary: ❌
AI ReviewSummaryThis PR updates ClickHouse Rules
Final Verdict
|
85618c2 to
c3d3536
Compare
654a68a to
70e434c
Compare
3591057 to
74b359c
Compare
74b359c to
209cae1
Compare
|
Hi — this PR may need backporting to Affected code: Why: Security fix: HMAC function secret key leaks in Other supported branches ( If this should be backported, consider adding |
LLVM Coverage Report
Changed lines: 100.00% (11/11) · Uncovered code |
Cherry pick #102997 to 26.1: Hide secret key in HMAC SQL function
Cherry pick #102997 to 26.2: Hide secret key in HMAC SQL function
Cherry pick #102997 to 26.3: Hide secret key in HMAC SQL function
Backport #102997 to 26.3: Hide secret key in HMAC SQL function
Backport #102997 to 26.1: Hide secret key in HMAC SQL function
Backport #102997 to 26.2: Hide secret key in HMAC SQL function
… 25.8 The 25.8 release has no `HMAC` SQL function (`src/Functions/HMAC.cpp` was added later), so the HMAC cases throw `UNKNOWN_FUNCTION`. Remove the HMAC `EXPLAIN actions` case from `04409_explain_actions_secret_args` and revert the `findHMACSecretArguments` fold-in (upstream #102997) together with its `02494_query_cache_secrets` changes. The `encrypt`/`decrypt` masking that this backport targets still applies and is verified.
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
Hide secret key in
HMACSQL function. Fix #102927.Documentation entry for user-facing changes
Version info
26.4.1.111426.3.10.30,26.2.17.19,26.1.12.14