cmd/clef, signer: initial poc of the standalone signer (#16154)
* signer: introduce external signer command * cmd/signer, rpc: Implement new signer. Add info about remote user to Context * signer: refactored request/response, made use of urfave.cli * cmd/signer: Use common flags * cmd/signer: methods to validate calldata against abi * cmd/signer: work on abi parser * signer: add mutex around UI * cmd/signer: add json 4byte directory, remove passwords from api * cmd/signer: minor changes * cmd/signer: Use ErrRequestDenied, enable lightkdf * cmd/signer: implement tests * cmd/signer: made possible for UI to modify tx parameters * cmd/signer: refactors, removed channels in ui comms, added UI-api via stdin/out * cmd/signer: Made lowercase json-definitions, added UI-signer test functionality * cmd/signer: update documentation * cmd/signer: fix bugs, improve abi detection, abi argument display * cmd/signer: minor change in json format * cmd/signer: rework json communication * cmd/signer: implement mixcase addresses in API, fix json id bug * cmd/signer: rename fromaccount, update pythonpoc with new json encoding format * cmd/signer: make use of new abi interface * signer: documentation * signer/main: remove redundant option * signer: implement audit logging * signer: create package 'signer', minor changes * common: add 0x-prefix to mixcaseaddress in json marshalling + validation * signer, rules, storage: implement rules + ephemeral storage for signer rules * signer: implement OnApprovedTx, change signing response (API BREAKAGE) * signer: refactoring + documentation * signer/rules: implement dispatching to next handler * signer: docs * signer/rules: hide json-conversion from users, ensure context is cleaned * signer: docs * signer: implement validation rules, change signature of call_info * signer: fix log flaw with string pointer * signer: implement custom 4byte databsae that saves submitted signatures * signer/storage: implement aes-gcm-backed credential storage * accounts: implement json unmarshalling of url * signer: fix listresponse, fix gas->uint64 * node: make http/ipc start methods public * signer: add ipc capability+review concerns * accounts: correct docstring * signer: address review concerns * rpc: go fmt -s * signer: review concerns+ baptize Clef * signer,node: move Start-functions to separate file * signer: formatting
Showing
- accounts/url.go 16 additions, 0 deletionsaccounts/url.go
- accounts/usbwallet/hub.go 1 addition, 1 deletionaccounts/usbwallet/hub.go
- accounts/usbwallet/wallet.go 1 addition, 1 deletionaccounts/usbwallet/wallet.go
- cmd/clef/4byte.json 1 addition, 0 deletionscmd/clef/4byte.json
- cmd/clef/README.md 864 additions, 0 deletionscmd/clef/README.md
- cmd/clef/extapi_changelog.md 25 additions, 0 deletionscmd/clef/extapi_changelog.md
- cmd/clef/intapi_changelog.md 86 additions, 0 deletionscmd/clef/intapi_changelog.md
- cmd/clef/main.go 640 additions, 0 deletionscmd/clef/main.go
- cmd/clef/pythonsigner.py 179 additions, 0 deletionscmd/clef/pythonsigner.py
- cmd/clef/rules.md 236 additions, 0 deletionscmd/clef/rules.md
- cmd/clef/sign_flow.png 0 additions, 0 deletionscmd/clef/sign_flow.png
- cmd/clef/tutorial.md 198 additions, 0 deletionscmd/clef/tutorial.md
- common/types.go 62 additions, 0 deletionscommon/types.go
- common/types_test.go 44 additions, 0 deletionscommon/types_test.go
- node/node.go 15 additions, 80 deletionsnode/node.go
- rpc/client.go 47 additions, 6 deletionsrpc/client.go
- rpc/endpoints.go 120 additions, 0 deletionsrpc/endpoints.go
- rpc/http.go 6 additions, 1 deletionrpc/http.go
- rpc/server.go 6 additions, 5 deletionsrpc/server.go
- signer/core/abihelper.go 256 additions, 0 deletionssigner/core/abihelper.go
Loading
Please register or sign in to comment