sig

package
v0.0.0-...-6432134 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2019 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Package sig checks signatures against the CoreOS Image Signing Key. See https://coreos.com/security/image-signing-key/ for more.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Check

func Check(signed io.Reader, signature io.Reader) error

Check ensures that signed has been signed with the CoreOS Image Signing Key.

func Download

func Download(ctx context.Context, dst string, u *url.URL) error

Download fetches the URL and the corresponding *.sig signature, and creates files under dst with matching basenames if the signature is good.

Types

This section is empty.

Jump to

Keyboard shortcuts

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