keyvault

package
v0.0.0-...-3d164b4 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package keyvault defines a common interface for a struct which is capable of retrieving BLS12-381 eth2 validator keys from a secure source, such as Hashicorp Vault or other enclave. The kind of keyvault can be dynamically chosen at runtime, and as long as the implementation satisfies the interface, the remote signer server will be able to use it to successfully complete signing request.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

type Store interface {
	GetSecretKey(context.Context, bls.PublicKey) (bls.SecretKey, error)
	GetPublicKeys(context.Context) ([]bls.PublicKey, error)
}

Store defines a struct which has capabilities of retrieving BLS12-381 eth2 secret keys and public keys from a secure source.

Directories

Path Synopsis
Package deterministic defines an implementation of an insecure, purely deterministic keyvault used by this remote signer server for demonstration purposes.
Package deterministic defines an implementation of an insecure, purely deterministic keyvault used by this remote signer server for demonstration purposes.
Allows to create a Store that contains a set of public a private keys derived from a mnemonic.
Allows to create a Store that contains a set of public a private keys derived from a mnemonic.

Jump to

Keyboard shortcuts

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