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.
Click to show internal directories.
Click to hide internal directories.