Documentation ¶
Index ¶
- Variables
- func GenerateChecksum(sourcePack, destinationDir, hashFunction string) error
- func SignPack(packPath, certPath, keyPath, outputDir, version string, ...) error
- func VerifyChecksum(packPath, checksumPath string) error
- func VerifyPackSignature(packPath, pubPath, version string, export, skipCertValidation, skipInfo bool) error
- func WriteChecksumFile(digests map[string]string, filename string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var Hashes = [1]string{"sha256"}
Hashes is the list of supported Cryptographic Hash Functions used for the checksum feature.
Functions ¶
func GenerateChecksum ¶
GenerateChecksum creates a .checksum file for a pack.
func SignPack ¶ added in v0.8.3
func SignPack(packPath, certPath, keyPath, outputDir, version string, certOnly, skipCertValidation, skipInfo bool) error
SignPack is the command entrypoint to the signature specific creation functions.
func VerifyChecksum ¶
VerifyChecksum validates the contents of a pack according to a provided .checksum file.
func VerifyPackSignature ¶ added in v0.8.3
func VerifyPackSignature(packPath, pubPath, version string, export, skipCertValidation, skipInfo bool) error
VerifyPackSignature is the command entrypoint to the signature specific validation functions.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.