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

Update generated types to vSphere 8.0 GA #3006

Merged
merged 6 commits into from
Dec 12, 2022

Commits on Dec 12, 2022

  1. api: Update types to vSphere 8.0 GA

    This patch updates the generated types to vSphere 8.0 GA.
    akutz committed Dec 12, 2022
    Configuration menu
    Copy the full SHA
    58f4112 View commit details
    Browse the repository at this point in the history
  2. govc: about.cert was not respecting -k

    This patch fixes a bug where "govc about.cert" was not respecting
    the -k flag (or env var) that disabled TLS verification.
    akutz committed Dec 12, 2022
    Configuration menu
    Copy the full SHA
    60a18c5 View commit details
    Browse the repository at this point in the history
  3. vcsim: Update test keys to be RSA 2048

    This patch updates the cert/key pairs vC Sim uses for testing to
    be RSA 2048 in accordance with Apple's new requirements on macOS.
    
    https://developer.apple.com/documentation/security/preventing_insecure_network_connections
    akutz committed Dec 12, 2022
    Configuration menu
    Copy the full SHA
    86f9d42 View commit details
    Browse the repository at this point in the history
  4. fix: DialTLSContext / Go 1.18+ CertificateVerify support

    This patch updates the GoVmomi SOAP client to use DialTLSContext
    instead of DialTLS, as the latter has been deprecated for multiple,
    major Go versions.
    
    This patch also updates how the SOAP client handles TLS validation
    with respect to thumbprints. Go 1.18+ adopted the host's certificate
    verification framework, so it is necessary to alter a few things to
    continue to support thumbprint verification.
    
    * https://tip.golang.org/doc/go1.18 (search for "Certificate.Verify")
    * square/certigo#264
    akutz committed Dec 12, 2022
    Configuration menu
    Copy the full SHA
    05b0b08 View commit details
    Browse the repository at this point in the history
  5. fix: Update $mktemp to support macOS

    This patch updates the instances of $mktemp in the govc/test/*.bats
    files to support the macOS variant.
    akutz committed Dec 12, 2022
    Configuration menu
    Copy the full SHA
    22c4814 View commit details
    Browse the repository at this point in the history
  6. fix: Heal the broken Namespace API

    This patch fixes a few bugs related to the Namespaces API. There
    was an NPE occurring due to a pointer variable being used prior to
    being assigned. The "govc namespace.logs.download" command also
    just failed to work due to the VAPI client assuming the response
    will always be JSON and not possibly, binary data as one sends when
    one receives a tar file. Finally, the namespace.bats file used to
    use the cluster name "Workload-Cluster", but due to a hack in the
    simulated namespaces API, it only recognizes clusters that begin
    with "WCP".
    akutz committed Dec 12, 2022
    Configuration menu
    Copy the full SHA
    1ad33d4 View commit details
    Browse the repository at this point in the history