plugeth/cmd/geth
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
..
testdata cmd/geth: update vulnerability testdata (#23252) 2021-07-27 16:19:48 +02:00
accountcmd_test.go cmd/geth: make test pass on a pi4 by using lightkdf (#24314) 2022-01-31 09:50:10 +01:00
accountcmd.go node: remove dependency on wallet backend packages (#23019) 2021-08-25 22:34:22 +02:00
chaincmd.go cmd/geth: add support for sepolia testnet (#23730) 2021-11-08 13:06:01 +02:00
config.go cmd: auto-enable beacon APIs if TTD is defined 2022-02-02 17:57:34 +02:00
consolecmd_test.go console: add note about typing exit to exit (#23602) 2021-09-21 11:19:46 +03:00
consolecmd.go cmd/geth, console: support interrupting the js console (#23387) 2021-12-11 16:51:05 +01:00
dao_test.go all: add read-only option to database (#22407) 2021-03-22 19:06:30 +01:00
dbcmd.go cmd/geth: add db cmd to show metadata (#23900) 2022-01-18 12:30:41 +02:00
genesis_test.go cmd/utils: avoid large alloc in --dev mode (#22949) 2021-05-27 10:13:35 +02:00
les_test.go cmd/geth: fix IPC probe in les test (#23094) 2021-06-25 12:40:37 +02:00
main.go cmd/geth, node, rpc: implement jwt tokens (#24364) 2022-03-07 09:30:27 +02:00
misccmd.go core, eth: split eth package, implement snap protocol (#21482) 2020-12-14 10:27:15 +01:00
run_test.go cmd/utils: remove deprecated command line flags (#22263) 2021-02-24 14:07:58 +01:00
snapshot.go trie, core, eth: use db.has over db.get where possible 2021-12-15 16:16:45 +01:00
usage.go cmd/geth, node, rpc: implement jwt tokens (#24364) 2022-03-07 09:30:27 +02:00
version_check_test.go cmd/geth: add tests for version_check (#24169) 2022-01-11 10:39:04 +01:00
version_check.go cmd/geth: implement vulnerability check (#21859) 2020-12-04 15:01:47 +01:00