aboutsummaryrefslogtreecommitdiffstats
path: root/accounts/keystore/keystore_passphrase.go
Commit message (Collapse)AuthorAgeFilesLines
* accounts/keystore: delete the redundant keystore in filename (#17930)Wenbiao Zheng2018-11-291-354/+0
| | | | | | * accounts/keystore: reduce file name length * accounts/keystore: reduce code line width
* cmd/clef: encrypt the master seed on disk (#17704)Martin Holst Swende2018-10-091-31/+43
| | | | | | | | | | | | | | * 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
* accounts/keystore: double-check keystore file after creation (#17348)Martin Holst Swende2018-09-201-2/+25
|
* crypto/secp256k1: remove external LGPL dependencies (#17239)Péter Szilágyi2018-07-261-5/+12
|
* accounts: changed if-else blocks to conform with golint (#16654)GagziW2018-05-031-2/+1
|
* cmd/geth: make geth account new faster with many keys (#15529)Martin Holst Swende2017-11-211-0/+7
|
* accounts: fix megacheck warnings (#14903)Egon Elbre2017-08-071-2/+2
| | | | | | * accounts: fix megacheck warnings * accounts: don't modify abi in favor of full cleanup
* accounts/keystore, crypto: don't enforce key checks on existing keyfilesPéter Szilágyi2017-06-011-4/+2
|
* accounts/keystore, crypto: enforce 256 bit keys on importPéter Szilágyi2017-05-231-1/+4
|
* all: unify big.Int zero checks, use common/math in more places (#3716)Felix Lange2017-02-281-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * common/math: optimize PaddedBigBytes, use it more name old time/op new time/op delta PaddedBigBytes-8 71.1ns ± 5% 46.1ns ± 1% -35.15% (p=0.000 n=20+19) name old alloc/op new alloc/op delta PaddedBigBytes-8 48.0B ± 0% 32.0B ± 0% -33.33% (p=0.000 n=20+20) * all: unify big.Int zero checks Various checks were in use. This commit replaces them all with Int.Sign, which is cheaper and less code. eg templates: func before(x *big.Int) bool { return x.BitLen() == 0 } func after(x *big.Int) bool { return x.Sign() == 0 } func before(x *big.Int) bool { return x.BitLen() > 0 } func after(x *big.Int) bool { return x.Sign() != 0 } func before(x *big.Int) int { return x.Cmp(common.Big0) } func after(x *big.Int) int { return x.Sign() } * common/math, crypto/secp256k1: make ReadBits public in package math
* accounts, cmd, eth, internal, mobile, node: split account backendsPéter Szilágyi2017-02-131-0/+305