noop

package
v0.1.6-0...-5c25bcb Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NoLock

type NoLock struct {
}

NoLock is a secret lock service that does no key wrapping (keys are not encrypted).

func (*NoLock) Decrypt

func (s *NoLock) Decrypt(keyURI string, req *secretlock.DecryptRequest) (*secretlock.DecryptResponse, error)

Decrypt a key in req using master key in the local secret lock service Noop implementation returns the key as is with no decryption (keyURI is used for remote locks, it is ignored by this implementation).

func (*NoLock) Encrypt

func (s *NoLock) Encrypt(keyURI string, req *secretlock.EncryptRequest) (*secretlock.EncryptResponse, error)

Encrypt a key in req using master key in the local secret lock service Noop implementation returns the key as is with no encryption (keyURI is used for remote locks, it is ignored by this implementation).

Jump to

Keyboard shortcuts

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