Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Clean up KeyringGenerateNewKey() #399

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 6, 2025

Conversation

jeltz
Copy link
Collaborator

@jeltz jeltz commented Jun 6, 2025

Instead of returning NULL when we failed the generate a key we throw an error like all other places where random fails. Additionally we stop hardcoding 32 in the assertion.

Instead of returning NULL when we failed the generate a key we throw an
error like all other places where random fails. Additionally we stop
hardcoding 32 in the assertion.
@jeltz jeltz requested review from dutow and dAdAbird as code owners June 6, 2025 13:13
@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 85.52%. Comparing base (4575c03) to head (fb97fef).

❌ Your project status has failed because the head coverage (85.52%) is below the target coverage (90.00%). You can increase the head coverage or adjust the target coverage.

Additional details and impacted files
@@                  Coverage Diff                  @@
##           TDE_REL_17_STABLE     #399      +/-   ##
=====================================================
+ Coverage              85.48%   85.52%   +0.03%     
=====================================================
  Files                     22       22              
  Lines                   2536     2535       -1     
  Branches                 387      387              
=====================================================
  Hits                    2168     2168              
+ Misses                   294      293       -1     
  Partials                  74       74              
Components Coverage Δ
access 84.20% <ø> (ø)
catalog 88.59% <ø> (ø)
common 91.80% <ø> (ø)
encryption 72.56% <ø> (ø)
keyring 72.59% <0.00%> (+0.17%) ⬆️
src 91.42% <ø> (ø)
smgr 97.41% <ø> (ø)
transam ∅ <ø> (∅)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jeltz jeltz merged commit 2feea53 into percona:TDE_REL_17_STABLE Jun 6, 2025
16 checks passed
@jeltz jeltz deleted the tde/improve-keyring-genkey branch June 6, 2025 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants