signature

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2020 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Check

func Check(report *SignedReport) error

Check verifies whether a report has been signed with a legitimate version of Astronomer.

func SendReport

func SendReport(ctx *context.Context, report *trust.Report) error

SendReport signs a report and sends it to Astrolab.

Types

type SignedReport

type SignedReport struct {
	*trust.Report

	RepositoryOwner string
	RepositoryName  string

	Signature []byte
}

SignedReport represents a report that has been signed by a legitimate version of Astronomer.

Jump to

Keyboard shortcuts

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