internal

package
v1.14.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 21, 2023 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PatchSha1

func PatchSha1()

PatchSha1 patches Go 1.18+ to allow certificates with signatures containing SHA-1 hashes to be allowed. It is safe to call this function multiple times. This is necessary to allow Vault 1.10 and 1.11 to work with Go 1.18+ without breaking backwards compatibility with these certificates. See https://go.dev/doc/go1.18#sha1 and https://developer.hashicorp.com/vault/docs/deprecation/faq#q-what-is-the-impact-of-removing-support-for-x-509-certificates-with-signatures-that-use-sha-1 for more details. TODO: remove when Vault <=1.11 is no longer supported

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL