Versions in this module Expand all Collapse all v1 v1.6.11 Feb 20, 2018 v1.6.10 Jan 18, 2018 Changes in this version + type Mocker struct + func New() *Mocker + func (m *Mocker) Binary() string + func (m *Mocker) CreatePrivateKey(ctx context.Context) error + func (m *Mocker) CreatePrivateKeyBatch(ctx context.Context, name, email, pw string) error + func (m *Mocker) Decrypt(ctx context.Context, path string) ([]byte, error) + func (m *Mocker) Encrypt(ctx context.Context, path string, content []byte, recipients []string) error + func (m *Mocker) ExportPublicKey(context.Context, string, string) error + func (m *Mocker) FindPrivateKeys(context.Context, ...string) (gpg.KeyList, error) + func (m *Mocker) FindPublicKeys(context.Context, ...string) (gpg.KeyList, error) + func (m *Mocker) GetRecipients(context.Context, string) ([]string, error) + func (m *Mocker) ImportPublicKey(context.Context, string) error + func (m *Mocker) ListPrivateKeys(context.Context) (gpg.KeyList, error) + func (m *Mocker) ListPublicKeys(context.Context) (gpg.KeyList, error) + func (m *Mocker) Sign(ctx context.Context, in string, sigf string) error + func (m *Mocker) Verify(ctx context.Context, sigf string, in string) error + func (m *Mocker) Version(context.Context) semver.Version