aboutsummaryrefslogtreecommitdiffstats
path: root/signer/core
Commit message (Collapse)AuthorAgeFilesLines
* Change import go github.com/dexon-foundation/dexonWei-Ning Huang2019-04-0910-40/+40
|
* signer/core: Fixes typo of method name in comment. (#18222)vim882018-12-021-1/+1
|
* signer: remove ineffectual assignments (#18049)Martin Holst Swende2018-11-071-3/+3
| | | | | | * signer: remove ineffectual assignments * signer: remove ineffectual assignments
* cmd/clef: encrypt the master seed on disk (#17704)Martin Holst Swende2018-10-091-0/+6
| | | | | | | | | | | | | | * cmd/clef: encrypt master seed of clef Signed-off-by: YaoZengzeng <yaozengzeng@zju.edu.cn> * keystore: refactor for external use of encryption * clef: utilize keystore encryption, check flags correctly * clef: validate master password * clef: add json wrapping around encrypted master seed
* Clef: USB hw wallet support (#17756)Martin Holst Swende2018-09-284-3/+133
| | | | | | * signer: implement USB interaction with hw wallets * signer: fix failing testcases
* cmd/clef, signer: security fixes (#17554)Martin Holst Swende2018-09-257-123/+226
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * signer: remove local path disclosure from extapi * signer: show more data in cli ui * rpc: make http server forward UA and Origin via Context * signer, clef/core: ui changes + display UA and Origin * signer: cliui - indicate less trust in remote headers, see https://github.com/ethereum/go-ethereum/issues/17637 * signer: prevent possibility swap KV-entries in aes_gcm storage, fixes #17635 * signer: remove ecrecover from external API * signer,clef: default reject instead of warn + valideate new passwords. fixes #17632 and #17631 * signer: check calldata length even if no ABI signature is present * signer: fix failing testcase * clef: remove account import from external api * signer: allow space in passwords, improve error messsage * signer/storage: fix typos
* all: fix various comment typos (#17748)Liang ZOU2018-09-251-1/+1
|
* abi, signer: fix nil dereference in #17633 (#17653) Martin Holst Swende2018-09-191-15/+19
| | | | | | * abi,signer: fix nil dereference in #17633 * signer/core: tiny typo fix in test error message
* all: simplify switches (#17267)Oleg Kovalov2018-07-301-3/+3
| | | | | | * all: simplify switches * silly mistake
* signer: remove useless errorWrapper (#17003)Wenbiao Zheng2018-06-191-9/+0
|
* crypto: replace ToECDSAPub with error-checking func UnmarshalPubkey (#16932)Felix Lange2018-06-121-4/+2
| | | | | | ToECDSAPub was unsafe because it returned a non-nil key with nil X, Y in case of invalid input. This change replaces ToECDSAPub with UnmarshalPubkey across the codebase.
* signer: fix golint errors (#16653)Eli2018-05-045-11/+11
| | | | | | | | | | | | | | * signer/*: golint fixes Specifically naming and comment formatting for documentation * signer/*: fixed naming error crashing build * signer/*: corrected error * signer/core: fix tiny error whitespace * signer/rules: fix test refactor
* cmd/clef, signer: initial poc of the standalone signer (#16154)Martin Holst Swende2018-04-1610-0/+2256
* 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