You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Backport #133828 to 26.8: Mask the key of keyed SipHash functions in logged queries - #133881
This pull-request is a last step of an automated backporting.
Treat it as a standard pull-request: look at the checks and resolve conflicts.
Merge it only if you intend to backport changes to the target branch, otherwise just close it.
I can't push to backport/26.8/133828 (my account has read-only access to this repository), so the fix is on my fork as one commit on top of this PR's head. Applying it is a fast-forward:
Same change as for 26.9 in #133883: SecretArgumentsSpec comes from #123364, which is not on 26.8. The commit keeps the 26.8 registrations in FunctionsHashingMisc.cpp and marks the first argument of sipHash64Keyed, sipHash128Keyed and sipHash128ReferenceKeyed as secret in FunctionSecretArgumentsFinder::findOrdinaryFunctionSecretArguments, next to HMAC. The test is unchanged.
Validated on this tree with clang-22, debug build: 05871_keyed_siphash_key_masking passes 50 of 50 runs with randomized settings, 13 existing secret-masking tests pass, and EXPLAIN AST, EXPLAIN QUERY TREE and EXPLAIN PLAN actions = 1 show [HIDDEN] instead of the key. The official 26.8.37.168 binary prints the key in EXPLAIN SYNTAX.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pr-backportChanges, backported to release branch. Do not use manually - automated use only!pr-bugfixPull request with bugfix, not backported by default
3 participants
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Original pull-request #133828
This pull-request is a last step of an automated backporting.
Treat it as a standard pull-request: look at the checks and resolve conflicts.
Merge it only if you intend to backport changes to the target branch, otherwise just close it.
The PR source
The PR is created in the CI job
Version info
26.8.47.4