Gustav Simonsson
8c056aebe1
Set both key generation and ECDSA nonce to use mixed entropy
...
* Move random entropy functions to new package randentropy
* Add function to get n bytes entropy where up to first 32
bytes are mixed with OS entropy sources
10 years ago
Taylor Gerring
d53e5646ec
Use strongly-typed objects
10 years ago
Jeffrey Wilcke
5fe2916ee1
Merge pull request #298 from alexvandesande/UI
...
UI changes to Mist
10 years ago
Felix Lange
acc667fbef
Merge pull request #296 from frewsxcv/patch-1
...
Fix broken link in README
10 years ago
Alexandre Van de Sande
80890cd9dd
removed icomoon
10 years ago
Alexandre Van de Sande
6b5f4ed244
Recreated the changes on a new branch
10 years ago
Felix Lange
4242b05462
cmd/bootnode: new command (replaces cmd/peerserver)
10 years ago
Felix Lange
a21b30c901
eth: remove unused Ethereum sync fields
10 years ago
obscuren
ddccea75e8
Fixed "to" field
10 years ago
obscuren
da2fae0e43
Basic structure miner
10 years ago
Felix Lange
a3cd218719
cmd/mist, cmd/ethereum: add CLI arguments for node key
10 years ago
Felix Lange
0c7df37351
crypto: add key loading functions
10 years ago
sveneh
70e2df3904
Dockerfile creation speed-up by not running go tests, added a workaround
...
so that docker's cache is invalidated whenever th git repo is updated.
10 years ago
Felix Lange
f1ebad2508
eth: don't warn if no BootNodes are specified
10 years ago
Felix Lange
9915d3c3be
p2p/discover: deflake UDP tests
10 years ago
obscuren
58ba290a9f
moved manager
10 years ago
obscuren
b22f0f2ef5
merged
10 years ago
obscuren
16a04e64f2
Updated coin
10 years ago
obscuren
c8147fb7b9
Compare regardless of length
10 years ago
obscuren
0fa6927171
Moved log message to detail output
10 years ago
obscuren
99ebb869bf
Fixed iterator
10 years ago
obscuren
44eafb15e0
Renamed filter
10 years ago
Corey Farwell
792cd0aa10
Fix broken link in README
10 years ago
Felix Lange
028775a086
cmd/ethereum, cmd/mist: add flag for discovery bootstrap nodes
10 years ago
Felix Lange
2cf4fed11b
cmd/mist, eth, javascript, p2p: use Node URLs for peer suggestions
10 years ago
Felix Lange
e34d134102
p2p: fixes for actual connections
...
The unit test hooks were turned on 'in production'.
10 years ago
Felix Lange
8564eb9f7e
p2p/discover: add node URL functions, distinguish TCP/UDP ports
...
The discovery RPC protocol does not yet distinguish TCP and UDP ports.
But it can't hurt to do so in our internal model.
10 years ago
Taylor Gerring
e4bb419707
Add go check to prefetched test dependencies
10 years ago
Taylor Gerring
5e0b2b260c
Updated go list command
10 years ago
Taylor Gerring
b58b6b9bac
Use after_success build step
10 years ago
Taylor Gerring
f3ac378ca4
No long use v1 branch of qml repo
10 years ago
Felix Lange
56f777b2fc
cmd/ethereum, cmd/mist, core, eth, javascript, xeth: fixes for new p2p API
10 years ago
obscuren
e40c1c62ce
API changed to use Pubkey only. Reflected that change in the rest of the api
10 years ago
Felix Lange
8e8ec8f5f8
cmd/peerserver: is gone
...
Will be back soon. Maybe.
10 years ago
Felix Lange
5bdc115943
p2p: integrate p2p/discover
...
Overview of changes:
- ClientIdentity has been removed, use discover.NodeID
- Server now requires a private key to be set (instead of public key)
- Server performs the encryption handshake before launching Peer
- Dial logic takes peers from discover table
- Encryption handshake code has been cleaned up a bit
- baseProtocol is gone because we don't exchange peers anymore
- Some parts of baseProtocol have moved into Peer instead
10 years ago
Felix Lange
739066ec56
p2p/discover: add some helper functions
10 years ago
Felix Lange
12224c7f59
p2p/discover: new package implementing the Node Discovery Protocol
10 years ago
Felix Lange
8c3095faf0
rlp: fix encoding of arrays with byte element type
10 years ago
Felix Lange
410b35e913
crypto: make it easier to run Sha3 on multiple inputs
...
crypto.Sha3(append(foo, bar)) --> crypto.Sha3(foo, bar)
crypto.Sha3([]byte{}) --> crypto.Sha3()
10 years ago
zelig
2e48d39fc7
key generation abstracted out, for testing with deterministic keys
10 years ago
zelig
488a042736
fix clientidentity test after privkey removed
10 years ago
zelig
71765957e4
get rid of Private Key in ClientIdentity
10 years ago
zelig
68205dec9f
make crypto handshake calls package level, store privateKey on peer + tests ok
10 years ago
zelig
4499743522
apply handshake related improvements from p2p.crypto branch
10 years ago
zelig
54252ede31
add temporary forced session token generation
10 years ago
zelig
faa069a126
peer-level integration test for crypto handshake
...
- add const length params for handshake messages
- add length check to fail early
- add debug logs to help interop testing (!ABSOLUTELY SHOULD BE DELETED LATER)
- wrap connection read/writes in error check
- add cryptoReady channel in peer to signal when secure session setup is finished
- wait for cryptoReady or timeout in TestPeersHandshake
10 years ago
zelig
20aade56c3
chop first byte when cryptoid.PubKeyS is set from identity.Pubkey() since this is directly copied in the auth message
10 years ago
zelig
1f2adb05b5
add initial peer level test (failing)
10 years ago
zelig
4afde4e738
add code documentation
10 years ago
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