signing

package
v3.0.0-alpha.1+incompa... Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2018 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Sign

func Sign(cpath, authToken string) error

Sign takes the path of a container and generates an OpenPGP signature block for its system partition. Sign uses the private keys found in the default location if available or helps the user by prompting with key generation configuration options. In its current form, Sign also pushes public material to a key server if enabled. This should be a separate step in the next round of development.

func Verify

func Verify(cpath, authToken string) error

Verify takes a container path and look for a verification block for a system partition. If found, the signature block is used to verify the partition hash against the signer's version. Verify takes care of looking for OpenPGP keys in the default local store or looks it up from a key server if access is enabled.

Types

This section is empty.

Jump to

Keyboard shortcuts

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