Gav Wood
7704698d29
Make Nonce use Secret.
10 years ago
Gav Wood
7a887fb0d5
Make Nonce generation securely random
SEC-5 Nonce Generation Uses a Deterministic Seed in `libdevcrypto/Common.cpp` on CPP Ethereum
SEC-7 Private Key Recovery from Predictable Transaction Nonces
10 years ago
Gav Wood
09e5dbfa06
Use boost's guaranteed non-deterministic random number generator. If it
compiles, it's safe.
10 years ago
Gav Wood
591b4c8c64
Secure datatypes now copyable only to similar datatypes.
More restrictions on usage to prevent accidental data leakage.
10 years ago
Gav Wood
17098549f8
Introduce vector_ref::cleanse, code adapted from openSSL.
Introduce secure_vector and bytesSec, make Secret auto-cleansing.
10 years ago
Gav Wood
818fa25bba
Secure datatypes now copyable only to similar datatypes.
More restrictions on usage to prevent accidental data leakage.
10 years ago
Gav Wood
2a7c56aef7
Introduce vector_ref::cleanse, code adapted from openSSL.
Introduce secure_vector and bytesSec, make Secret auto-cleansing.
10 years ago
Gav Wood
2f19861858
Secure datatypes now copyable only to similar datatypes.
More restrictions on usage to prevent accidental data leakage.
10 years ago
Gav Wood
e2203bb585
Introduce vector_ref::cleanse, code adapted from openSSL.
Introduce secure_vector and bytesSec, make Secret auto-cleansing.
10 years ago
Gav Wood
c3a334cc21
Introduce vector_ref::cleanse, code adapted from openSSL.
Introduce secure_vector and bytesSec, make Secret auto-cleansing.
10 years ago
Gav Wood
49a826397b
Introduce vector_ref::cleanse, code adapted from openSSL.
Introduce secure_vector and bytesSec, make Secret auto-cleansing.
10 years ago
subtly
ee422c513d
remove unused code
10 years ago
subtly
278b4be207
re-disable secp256k1 for windows
10 years ago
subtly
dd9c7a03c2
doc kdf and set reps based on block size.
10 years ago
subtly
0d4bee6083
update secp256k1
10 years ago
Gav Wood
fb99a503e0
Private chains redux:
- Can switching between them and main chain without losing either.
- No discovery on network when private.
- Private chain id encoded in genesis block and network id remains same.
10 years ago
Gav Wood
54ba40716d
Don't let the zero private key through.
10 years ago
chriseth
33ffc693ed
Do not accept the point at infinity as valid public key for ecrecover.
10 years ago
arkpar
26ff87a0bf
enabled libsecp256k1 on windows
10 years ago
Gav Wood
51f887aac5
Make sure all directories are not readable by baddies (dejavu wk1#0).
Closes #2509 .
Remove neth :(. Who knows, perhaps not forever...
10 years ago
Gav Wood
0c5e924745
Basic Proof-of-Authority sealent.
10 years ago
Gav Wood
a00196914a
Basic Proof-of-Authority sealent.
10 years ago
Gav Wood
1bc77af041
Basic Proof-of-Authority sealent.
10 years ago
Gav Wood
88cd4dfad7
Basic Proof-of-Authority sealent.
10 years ago
Gav Wood
75857ef5d4
Basic Proof-of-Authority sealent.
10 years ago
Gav Wood
212d433370
Basic Proof-of-Authority sealent.
10 years ago
Gav Wood
0e583ffc38
Fix up the windows build.
10 years ago
Gav Wood
8c3fa55dab
windows build fix.
10 years ago
Gav Wood
e92e107fe9
Better casting.
10 years ago
Gav Wood
99b27469b5
Don't use PRNG for key generation!
10 years ago
Gav Wood
464c60145e
Fix up the windows build.
10 years ago
Gav Wood
3024040ee8
windows build fix.
10 years ago
Gav Wood
8d95fbe59c
Better casting.
10 years ago
Gav Wood
d7bd7594e5
Don't use PRNG for key generation!
10 years ago
Gav Wood
98ad4c2454
windows build fix.
10 years ago
Gav Wood
e9cff7f021
Better casting.
10 years ago
Gav Wood
f014438195
Don't use PRNG for key generation!
10 years ago
Marek Kotewicz
455a1aed74
rpc eth_sendTransaction returns always transaction hash
10 years ago
subtly
e989cdaf36
use local integer for v parameter of signature
10 years ago
subtly
bd15597f7f
oops. get v from signature.
10 years ago
subtly
40ebe26555
Sign, recovery, and verify.
10 years ago
subtly
59d88742c2
Prep for supporting both cryptopp and secp256k1. Link (old) secp256k1 library to devcrypto. Rename cryptopp Secp256k1 to Secp256k1PP. Update toPublic to use secp256k1 library and add test.
10 years ago
Gav Wood
43a6d825c3
Support rocksdb alternative.
10 years ago
chriseth
af93ec370d
Safe file writing and some tests.
10 years ago
chriseth
db803547fa
Fixes.
10 years ago
chriseth
b21b77d208
Fix to correctly write nonce during tests.
10 years ago
chriseth
0fccf207ac
Fixed parameter.
10 years ago
chriseth
0b6a09b9cf
Nonce refactoring.
10 years ago
chriseth
9e51db8b82
Do not fail if seed cannot be written to file.
10 years ago
chriseth
db88799cf9
Try not to write files in tests.
10 years ago