keeper

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EphemeralGracePeriod = time.Hour * 24 * 128
	EphemeralLimitWindow = time.Hour * 24
	EphemeralLimitQuota  = 42
	SecretLimitWindow    = time.Hour * 24 * 7
	SecretLimitQuota     = 10
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Response

type Response struct {
	Available int
	Nonce     uint64
	Identity  kyber.Point
	Assignor  []byte
	Watcher   []byte
}

func Guard

func Guard(store store.Storage, priv kyber.Scalar, identity, signature, data string) (*Response, error)

Jump to

Keyboard shortcuts

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