signerVerify

package
v0.0.0-...-e2adc24 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2020 License: MIT Imports: 9 Imported by: 21

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotFound = errors.New("tainted file")

Functions

func CheckAsClient

func CheckAsClient(ins []instructions.Instruction, project string, invert bool) (map[string]string, string, bool)

func CheckSignature

func CheckSignature(publicKey []byte, signatureFile io.Reader, hash map[string]string, project string) (string, error)

func CheckSignaturesFromFile

func CheckSignaturesFromFile(publicKey []byte, signatureFile io.Reader, project string, files []string) (string, map[string]string, error)

func CheckSignaturesV2Fly

func CheckSignaturesV2Fly(signatureFile io.Reader, files []string) (string, map[string]string, error)

func CheckVersionAndProject

func CheckVersionAndProject(ins []instructions.Instruction, version, project string) bool

func OutputAndJudge

func OutputAndJudge(version string, result map[string]string, errResult error) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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