jwt

package
v0.0.0-...-1d04f91 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseSecretFromFile

func ParseSecretFromFile(jwtSecretFile string) ([]byte, error)

Taken from: https://github.com/prysmaticlabs/prysm/blob/v2.1.4/cmd/beacon-chain/execution/options.go#L43 Parses a JWT secret from a file path. This secret is required when connecting to execution nodes over HTTP, and must be the same one used in Prysm and the execution node server Prysm is connecting to. The engine API specification here https://github.com/ethereum/execution-apis/blob/main/src/engine/authentication.md Explains how we should validate this secret and the format of the file a user can specify.

The secret must be stored as a hex-encoded string within a file in the filesystem.

Types

This section is empty.

Jump to

Keyboard shortcuts

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