pgpkeys

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2015 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EncryptShares

func EncryptShares(secretShares [][]byte, pgpKeys []string) ([][]byte, error)

EncryptShares takes an ordered set of Shamir key share fragments and PGP public keys and encrypts each Shamir key fragment with the corresponding public key

Note: There is no corresponding test function; this functionality is thoroughly tested in the init and rekey command unit tests

Types

type PubKeyFilesFlag

type PubKeyFilesFlag []string

PGPPubKeyFiles implements the flag.Value interface and allows parsing and reading a list of pgp public key files

func (*PubKeyFilesFlag) Set

func (p *PubKeyFilesFlag) Set(value string) error

func (*PubKeyFilesFlag) String

func (p *PubKeyFilesFlag) String() string

Jump to

Keyboard shortcuts

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