Skip to content
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

Add TLS support for Redis Client implementation #1998

Merged
merged 8 commits into from
Feb 15, 2024

Commits on Feb 13, 2024

  1. Add TLS support for Redis Client implementation

    Signed-off-by: Mihkel Pärna <[email protected]>
    mihkelparna1 committed Feb 13, 2024
    Configuration menu
    Copy the full SHA
    b9cb4c2 View commit details
    Browse the repository at this point in the history
  2. Define 'redis_server.insecure-skip-verify' flag in 'rekor-server' to …

    …allow skipping TLS verification
    
    Signed-off-by: Mihkel Pärna <[email protected]>
    mihkelparna1 committed Feb 13, 2024
    Configuration menu
    Copy the full SHA
    d50deec View commit details
    Browse the repository at this point in the history
  3. Change flag comment to reference that this only applies to the redis …

    …endpoint
    
    Signed-off-by: Mihkel Pärna <[email protected]>
    mihkelparna1 committed Feb 13, 2024
    Configuration menu
    Copy the full SHA
    f32ed88 View commit details
    Browse the repository at this point in the history
  4. Add '#nosec G402' annotation to suppress known warning

    Signed-off-by: Mihkel Pärna <[email protected]>
    mihkelparna1 committed Feb 13, 2024
    Configuration menu
    Copy the full SHA
    cb36049 View commit details
    Browse the repository at this point in the history
  5. Wrap redis client creation to a separate function to return different…

    … implementations based on 'enable-tls' flag
    
    Signed-off-by: Mihkel Pärna <[email protected]>
    mihkelparna1 committed Feb 13, 2024
    Configuration menu
    Copy the full SHA
    37f23c3 View commit details
    Browse the repository at this point in the history
  6. Fix flag name from 'enableTls' -> 'enableTLS'. Make bool comparisons …

    …conform to go best practices.
    
    Signed-off-by: Mihkel Pärna <[email protected]>
    mihkelparna1 committed Feb 13, 2024
    Configuration menu
    Copy the full SHA
    ab2e71d View commit details
    Browse the repository at this point in the history
  7. Reduce duplicate code.

    Signed-off-by: Mihkel Pärna <[email protected]>
    mihkelparna1 committed Feb 13, 2024
    Configuration menu
    Copy the full SHA
    0245c86 View commit details
    Browse the repository at this point in the history
  8. Add TLS option for Redis for the search index client

    Signed-off-by: Mihkel Pärna <[email protected]>
    mihkelparna1 committed Feb 13, 2024
    Configuration menu
    Copy the full SHA
    3b7485d View commit details
    Browse the repository at this point in the history