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.