zelig
364b783281
changes that fix it all:
...
- set proper public key serialisation length in pubLen = 64
- reset all sizes and offsets
- rename from DER to S (we are not using DER encoding)
- add remoteInitRandomPubKey as return value to respondToHandshake
- add ImportPublicKey with error return to read both EC golang.elliptic style 65 byte encoding and 64 byte one
- add ExportPublicKey falling back to go-ethereum/crypto.FromECDSAPub() chopping off the first byte
- add Import - Export tests
- all tests pass
10 years ago
zelig
58fc2c679b
important fix for peer pubkey. when taken from identity, chop first format byte!
10 years ago
zelig
923504ce3d
add equality check for nonce and remote nonce
10 years ago
zelig
2e868566d7
add minor comments to the test
10 years ago
zelig
e252c634cb
first stab at integrating crypto in our p2p
...
- abstract the entire handshake logic in cryptoId.Run() taking session-relevant parameters
- changes in peer to accomodate how the encryption layer would be switched on
- modify arguments of handshake components
- fixed test getting the wrong pubkey but it till crashes on DH in newSession()
10 years ago
zelig
1803c65e40
integrate cryptoId into peer and connection lifecycle
10 years ago
zelig
489d956283
completed the test. FAIL now. it crashes at diffie-hellman. ECIES -> secp256k1-go panics
10 years ago
zelig
076c382a74
handshake test to crypto
10 years ago
zelig
3b6385b146
handshake test to crypto
10 years ago
zelig
714b955d6e
fix crash
...
- add session token check and fallback to shared secret in responder call too
- use explicit length for the types of new messages
- fix typo resp[resLen-1] = tokenFlag
10 years ago
zelig
b855f671a5
rewrite to comply with latest spec
...
- correct sizes for the blocks : sec signature 65, ecies sklen 16, keylength 32
- added allocation to Xor (should be optimized later)
- no pubkey reader needed, just do with copy
- restructuring now into INITIATE, RESPOND, COMPLETE -> newSession initialises the encryption/authentication layer
- crypto identity can be part of client identity, some initialisation when server created
10 years ago
zelig
4e52adb84a
add crypto auth logic to p2p
10 years ago
zelig
d227f6184e
fix protocol to accomodate privkey
10 years ago
zelig
88167f39a6
add privkey to clientIdentity + tests
10 years ago
zelig
c8a8aa0d43
initial hook for crypto handshake (void, off by default)
10 years ago
obscuren
6b5f25802e
Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into develop
10 years ago
obscuren
f8c1eb157d
Undone fix. Will re-enable once chain resets
10 years ago
Taylor Gerring
59665ade85
Pin Travis go version to 1.4.1
10 years ago
Taylor Gerring
c1f6e259a9
Only submit on coverage report success
10 years ago
Taylor Gerring
03b89ab712
Only download missing deps, not build
10 years ago
Taylor Gerring
ae3e9d4881
Don't reference by $GOROOT
10 years ago
obscuren
cad53fa191
Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into develop
...
Conflicts:
README.md
10 years ago
obscuren
0e682d936d
Updated readme
10 years ago
obscuren
cec30e23b2
Updated readme
10 years ago
Jeffrey Wilcke
47129428fe
Merge pull request #290 from Gustav-Simonsson/correct_block_parent_timestamp_check
...
Correct block parent timestamp check and typos
10 years ago
obscuren
2f30a27b2b
Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into develop
10 years ago
obscuren
8be1d134aa
updated home
10 years ago
obscuren
7e0799ff21
Merge commit '9d84609b3faf797f4a611587abdda3d6b3b07917' into develop
10 years ago
Marek Kotewicz
9d84609b3f
Merge branch 'master' of https://github.com/ethereum/ethereum.js
10 years ago
obscuren
c64852dbcc
pending / chain event
10 years ago
obscuren
bcacaaa4f4
Merge branch 'tgerring-develop' into develop
10 years ago
obscuren
d00e2731e5
Merge branch 'develop' of https://github.com/tgerring/go-ethereum into tgerring-develop
...
Conflicts:
rpc/http/server.go
10 years ago
Jeffrey Wilcke
99a1551b20
Merge pull request #287 from ethereum/system-testing
...
Seednode CLI param updates
10 years ago
obscuren
ac69538707
Merge branch 'develop' into miner
10 years ago
Marek Kotewicz
82cc5f63ae
bring back jsonrpc single method calls in polling
10 years ago
obscuren
9d2166a964
wip
10 years ago
obscuren
db7c34a9df
Default gas price and default gas for rpc
10 years ago
obscuren
a1b4547a53
set uncles regardless of empty uncle list. Fixes invalid blocks being mined
10 years ago
obscuren
57f95c1dc7
fixed test
10 years ago
obscuren
1d519854e2
Propagate known transactions to new peers on connect
10 years ago
obscuren
292f7ada8e
Merge branch 'develop' into miner
10 years ago
obscuren
65158d39b0
Filtering
10 years ago
obscuren
7c278d6ac2
updated tests
10 years ago
Taylor Gerring
429077a5a0
Merge branch 'develop' of github.com:tgerring/go-ethereum into develop
10 years ago
Taylor Gerring
2656a2d038
Use different default RPC port per #186
10 years ago
obscuren
3f03197dae
Updated tests
10 years ago
obscuren
b1870631a4
WIP miner
10 years ago
Marek Kotewicz
859a1999cb
Merge pull request #55 from ethereum/develop
...
fixed jsonrpc result field 0 not handled properly
10 years ago
Marek Kotewicz
f3e1797153
fixed jsonrpc response 0 not handled properly
10 years ago
Taylor Gerring
55ed0ff07c
Update RPC message format
10 years ago