Gav Wood
8cc8b8009c
Don't rely on file for nonce data.
10 years ago
subtly
a490657a12
Simplify/remove unused methods.
10 years ago
Gav Wood
f00d58089d
Gah. Revert "fix" since it results in a build failure without
corresponding FixedHash fix.
10 years ago
Gav Wood
90ec23197d
Don't give away internal state with the nonce.
10 years ago
Gav Wood
0dd42d2e5d
Don't give away internal state with the nonce.
10 years ago
subtly
bc5e44c51a
Remove nonce use in kdf used by cryptopp signing. Update doc of Nonce class.
10 years ago
subtly
3029a3c221
nonce fix
10 years ago
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
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
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
chriseth
db803547fa
Fixes.
10 years ago
chriseth
b21b77d208
Fix to correctly write nonce during tests.
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
58e7640850
Throw some more exceptions.
10 years ago
chriseth
212ac9366d
Cleanup of SecretStore.
Added documentation, more failure checking and some general cleanup.
10 years ago
Paweł Bylica
4205cf79f9
Remove pessimising moves.
10 years ago