go-ethereum/cmd/utils
Martin Holst Swende 4860e50e05
cmd/geth, node, rpc: implement jwt tokens (#24364)
* rpc, node: refactor request validation and add jwt validation

* node, rpc: fix error message, ignore engine api in RegisterAPIs

* node: make authenticated port configurable

* eth/catalyst: enable unauthenticated version of engine api

* node: rework obtainjwtsecret (backport later)

* cmd/geth: added auth port flag

* node: happy lint, happy life

* node: refactor authenticated api

Modifies the authentication mechanism to use default values

* node: trim spaces and newline away from secret

Co-authored-by: Marius van der Wijden <m.vanderwijden@live.de>
2022-03-07 09:30:27 +02:00
..
cmd.go cmd/geth, console: support interrupting the js console (#23387) 2021-12-11 16:51:05 +01:00
customflags.go cmd/clef, cmd/geth: use SplitAndTrim from cmd/utils (#21579) 2020-09-22 23:22:54 +02:00
customflags_test.go cmd/utils: fix path expansion on windows 2015-08-06 17:18:59 +02:00
diskusage.go all: add go:build lines (#23468) 2021-08-25 18:46:29 +02:00
diskusage_openbsd.go all: add go:build lines (#23468) 2021-08-25 18:46:29 +02:00
diskusage_windows.go cmd/geth: graceful shutdown if disk is full (#22103) 2021-01-19 09:26:42 +01:00
export_test.go cmd/geth: implement data import and export (#22931) 2021-11-02 11:31:45 +01:00
flags.go cmd/geth, node, rpc: implement jwt tokens (#24364) 2022-03-07 09:30:27 +02:00
flags_legacy.go cmd/geth, cmd/utils: remove legacy rpc flags (#23358) 2021-09-07 10:52:58 +02:00
flags_test.go cmd/utils: allow for multiple influxdb tags (#18520) 2019-01-29 09:14:24 +01:00
prompt.go cmd: abstract `getPassPhrase` functions into one (#21219) 2020-06-30 09:56:40 +02:00
prompt_test.go cmd: abstract `getPassPhrase` functions into one (#21219) 2020-06-30 09:56:40 +02:00