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

Check if TLS certificate and key file have been modified #345

Merged

Commits on Jul 13, 2022

  1. Check hash of cert and key file

    Signed-off-by: Levi Harrison <git@leviharrison.dev>
    
    Signed-off-by: Simon Pasquier <spasquie@redhat.com>
    LeviHarrison authored and simonpasquier committed Jul 13, 2022
    Copy the full SHA
    bbca57c View commit details
    Browse the repository at this point in the history
  2. Added tests

    Signed-off-by: Levi Harrison <git@leviharrison.dev>
    
    Signed-off-by: Simon Pasquier <spasquie@redhat.com>
    LeviHarrison authored and simonpasquier committed Jul 13, 2022
    Copy the full SHA
    f87a29c View commit details
    Browse the repository at this point in the history
  3. os.ReadFile -> ioutil.ReadFile (for older versions)

    Signed-off-by: Levi Harrison <git@leviharrison.dev>
    
    Signed-off-by: Simon Pasquier <spasquie@redhat.com>
    LeviHarrison authored and simonpasquier committed Jul 13, 2022
    Copy the full SHA
    a91bc27 View commit details
    Browse the repository at this point in the history
  4. Add error messages in tests

    Signed-off-by: Levi Harrison <git@leviharrison.dev>
    
    Signed-off-by: Simon Pasquier <spasquie@redhat.com>
    LeviHarrison authored and simonpasquier committed Jul 13, 2022
    Copy the full SHA
    2ab8d3c View commit details
    Browse the repository at this point in the history
  5. Only create new client if ca file changed

    Signed-off-by: Levi Harrison <git@leviharrison.dev>
    
    Signed-off-by: Simon Pasquier <spasquie@redhat.com>
    LeviHarrison authored and simonpasquier committed Jul 13, 2022
    Copy the full SHA
    fda87d4 View commit details
    Browse the repository at this point in the history
  6. Revert "Only create new client if ca file changed"

    This reverts commit c63387b.
    
    Signed-off-by: Levi Harrison <git@leviharrison.dev>
    
    Signed-off-by: Simon Pasquier <spasquie@redhat.com>
    LeviHarrison authored and simonpasquier committed Jul 13, 2022
    Copy the full SHA
    a1f5419 View commit details
    Browse the repository at this point in the history
  7. Handle unset cert and key

    Signed-off-by: Levi Harrison <git@leviharrison.dev>
    
    Signed-off-by: Simon Pasquier <spasquie@redhat.com>
    LeviHarrison authored and simonpasquier committed Jul 13, 2022
    Copy the full SHA
    84e7ee9 View commit details
    Browse the repository at this point in the history
  8. config: fix imports

    Signed-off-by: Simon Pasquier <spasquie@redhat.com>
    simonpasquier committed Jul 13, 2022
    Copy the full SHA
    d3fa312 View commit details
    Browse the repository at this point in the history