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

Skip to content

PG-1607 Make Vault CA path optional and clean up HTTPS code in general for Vault #392

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

Closed
wants to merge 5 commits into from

Conversation

jeltz
Copy link
Collaborator

@jeltz jeltz commented Jun 4, 2025

Instead of inputting NULL into the vault_ca_path argument we allow users to just leave it out. But additionally we fix our tests to always use HTTPS and update the documentation examples to prefer HTTPS over HTTP:

Copy link
Collaborator

@Andriciuc Andriciuc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

docs approved, just a note that the readme.md file will change, as it contains outdated info, and it will point the user to the docs we already have on the net for RC2. Doesn't stop the merge though.

@jeltz jeltz force-pushed the tde/optional-vault-ca branch from a950d68 to cba6c9e Compare June 4, 2025 15:46
@codecov-commenter
Copy link

codecov-commenter commented Jun 4, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.28%. Comparing base (d37fa69) to head (bc15fd3).

❌ Your project status has failed because the head coverage (85.28%) 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     #392      +/-   ##
=====================================================
+ Coverage              85.20%   85.28%   +0.07%     
=====================================================
  Files                     22       22              
  Lines                   2534     2534              
  Branches                 384      385       +1     
=====================================================
+ Hits                    2159     2161       +2     
+ Misses                   301      299       -2     
  Partials                  74       74              
Components Coverage Δ
access 84.20% <ø> (ø)
catalog 87.96% <ø> (ø)
common 91.80% <ø> (ø)
encryption 72.56% <ø> (ø)
keyring 72.42% <ø> (+0.41%) ⬆️
src 91.42% <ø> (+0.01%) ⬆️
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 force-pushed the tde/optional-vault-ca branch 2 times, most recently from 5a296dc to 2f2422a Compare June 4, 2025 17:59
@jeltz jeltz changed the title Make Vault CA path optional and clean up HTTPS code in general for Vault PG-1607 Make Vault CA path optional and clean up HTTPS code in general for Vault Jun 5, 2025
jeltz added 5 commits June 5, 2025 09:27
Instead of forcing people put NULL in the field when using HTTP we allow
them to leave out the function argument.
…e_key_provider

Also do not rely on the Vault server setup since any file on disk will do.
This is a very basic test but before this there were no tests at all.
Since the dev mode of Vault supports generating HTTPs ceritficates we
should just use that since in production everyone will use HTTPS we
should run our tests with HTTPS too.
We should encourage HTTPS over HTTP in out examples.
@jeltz
Copy link
Collaborator Author

jeltz commented Jun 5, 2025

Closing this PR, at least for now, due to discussions about alternative solutions.

@jeltz jeltz closed this Jun 5, 2025
@jeltz jeltz deleted the tde/optional-vault-ca branch June 10, 2025 11:06
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.

5 participants