storage

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 License: Apache-2.0 Imports: 10 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotECPrivateKey = errors.New("key is not a valid EC private key")

Functions

func LoadSigningKeys

func LoadSigningKeys(path string, password string, saveOnCreate bool) map[int]*ecdsa.PrivateKey

LoadSigningKeys implements a singing keys func for our internal authorization server. Please note that path already needs to be an expanded path, e.g., references to a home directory (~) already need to be expanded before-hand.

Types

This section is empty.

Jump to

Keyboard shortcuts

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