Affected by GO-2024-2817
and 2 other vulnerabilities
GO-2024-2817 : karmada vulnerable to arbitrary code execution via a crafted command in github.com/karmada-io/karmada
GO-2025-3363 : Karmada Tar Slips in CRDs archive extraction in github.com/karmada-io/karmada
GO-2025-3364 : Karmada PULL Mode Cluster Privilege Escalation in github.com/karmada-io/karmada
Discover Packages
github.com/karmada-io/karmada
pkg
util
lifted
pubkeypin
package
Version:
v1.10.0-preview4
Opens a new window with list of versions in this module.
Published: Apr 23, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Hash calculates the SHA-256 hash of the Subject Public Key Information (SPKI)
object in an x509 certificate (in DER encoding). It returns the full hash as a
hex encoded string (suitable for passing to Set.Allow).
Set is a set of pinned x509 public keys.
NewSet returns a new, empty PubKeyPinSet
Allow adds an allowed public key hash to the Set
CheckAny checks if at least one certificate matches one of the public keys in the set
Empty returns true if the Set contains no pinned public keys.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.