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 initial secure TLS options #263

Merged
merged 3 commits into from
Apr 25, 2022

Conversation

micahhausler
Copy link
Contributor

@micahhausler micahhausler commented Apr 21, 2022

Signed-off-by: Micah Hausler [email protected]

  • Checklist
    • Tests added
    • Similar commits squashed
  • What does this PR implement/change/remove?
    This PR adds secure TLS options for consumers of different providers. This does NOT yet allow the default bmclib client to enable TLS, as most of the client methods (Open(), CreateUser(), etc) and their corresponding interface implementations in /bmc (UserCreator, UserReader, etc) all instantiate connections without options.

This depends on #265, and I'll rebase after that merges

  • The HW vendor this change applies to (if applicable)

    • asrock
    • idrac8
    • idrac9
    • m1000e
    • c7000
    • iLo
    • redfish
    • supermicro
    • supermicroX11
  • The HW model number, product name this change applies to (if applicable)
    N/A

  • The BMC firmware and/or BIOS versions that this change applies to (if applicable)
    N/A

  • What version of tooling - vendor specific or opensource does this change depend on (if applicable)
    N/A

  • Description for changelog/release notes

Add SecureTLS options for HTTP connections

@micahhausler micahhausler force-pushed the allow-secure-tls branch 9 times, most recently from bbe2802 to 8fee966 Compare April 21, 2022 22:34
Signed-off-by: Micah Hausler <[email protected]>
* Add mutexes on login/logout

Signed-off-by: Micah Hausler <[email protected]>
Copy link
Member

@joelrebel joelrebel left a comment

Choose a reason for hiding this comment

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

LGTM.

Thanks for your work here in fixing up all the providers to support connection options! Could you also include an example for setting connection options for the "v1" bmclib client under examples/v1/.

@@ -2,6 +2,7 @@ package main

import (
Copy link
Member

Choose a reason for hiding this comment

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

could this be moved under /examples/pre.v1

Signed-off-by: Micah Hausler <[email protected]>
@micahhausler micahhausler merged commit 4103101 into bmc-toolbox:master Apr 25, 2022
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.

2 participants