Svyatoslav Nikolsky
1b1548f539
removed obsolete TODO
2017-10-04 12:16:45 +03:00
Svyatoslav Nikolsky
3091552504
fix indentation
2017-10-03 12:49:43 +03:00
Svyatoslav Nikolsky
fb38c20c16
SecretStore: exclusive sessions
2017-10-03 11:35:31 +03:00
Svyatoslav Nikolsky
9a086face4
SecretStore: administrative sessions prototypes ( #6605 )
...
* generate random channel encryption key on restart
* session-level nonces
* fixed warning after rebase
* session_nonce -> nonce
* full_generation_math_session_with_refreshing_shares && full_generation_math_session_with_adding_new_node
* add serveral secret shares at once
* SecretStore: initial ShareAdd session prototype
* SecretStore: ServersSetChange jobs
* SecretStore: servers set change session continued
* SecretStore: servers set change session continued
* SecretStore: servers set change session continued
* SecretStore: known_sessions iterator
* SecretStore: implemented SessionsQueue
* SecretStore: UnknownSessionsJobTransport
* SecretStore: node_added_using_servers_set_change almost done
* SecretStore: continue adding tests
* SecretStore: node_added_using_servers_set_change + node_added_using_share_add
* SecretStore: node_added_using_server_set_change_from_this_node
* SecretStore: node_moved_using_share_move
* SecretStore: node_moved_using_servers_set_change
* SecretStore: node_removed_using_share_remove
* SecretStore: node_removed_using_servers_set_change
* SecretStore: different folders for client && admin sessions
* SecretStore: started adding share change consensus (flush)
* SecretStore: fixed spurious tests failures
* enum JobPartialRequestAction
* SecretStore: started adding consensus layer to ShareAdd session
* SecretStore: starting external consensus for ShareAdd
* SecretStore: started restoring node_added_using_servers_set_change
* SecretStore: node_added_using_servers_set_change works with external consensus
* SecretStore: node_added_using_server_set_change_from_this_node works with external consensus
* removed debug comments/printlns
* SecretStore: share move session supports consensus
* SecretStore: share remove with external consensus
* SecretStore: started adding basic ShareAdd tests
* SecretStore: added ShareAdd tests
* SecretStore: added ShareAdd session to cluster
* SecretStore: added share move && remove sessions to cluster
* SecretStore: ShareMove session tests cleanup
* SecretStore: ShareRemove session tests cleanup
* SecretStore: added check_secret_is_preserved check
* SecretStore: added servers set change to cluster
* SecretStore: cleaned up ServersSetChange session tests
* SecretStore: cleaning + added tests for ShareRemove
* SecretStore: cleaning up
* SecretStore: propagated admin_public
* SecretStore: fixed persistent_key_storage test
* SecretStore: upgrade_db_from_1
* SecretStore: fixed ServersSetChange session completion
* SecretStore: check polynom1 in ShareAdd sessions (error for pre-v2 shares)
* SecretStore: fixing TODOs
* SecretStore: fixing TODOs
* SecretStore: check share change plan on 'old' slave nodes
* SecretStore: fixing TODOs
* SecretStore: store all admin sessions in single container to avoid overlaps
* SecretStore: do not update nodes set during admin sessions
* SecretStore: moved TODOs to appropriate methods
* SecretStore: TODOs
* SecretStore: added admin_public arg && fixed warnigs
* SecretStore: added shares_to_move_reversed to ShareMove session
* SecretStore: additional checks during consensus establishing
* license
* SecretStore: added TODO about starting ServersSetChange session
* SecretStore: redundant clones + docs + lsot unimplemented-s
* SecretStore: generation_session_completion_signalled_if_failed_on_master
* SecretStore: updated obsolete comment
* SecretStore: added type alias for current DocumentKeyShare serialization format
* SecretStore: fixed typo
* SecretStore; fixed warnings for futures 0.1.15
* fixed warning
2017-10-02 15:27:31 +02:00
Svyatoslav Nikolsky
3a60d723d8
SecretStore: add node to existing session poc + discussion ( #6480 )
...
* full_generation_math_session_with_refreshing_shares && full_generation_math_session_with_adding_new_node
* add serveral secret shares at once
2017-10-02 11:07:18 +02:00
Svyatoslav Nikolsky
7cc43893d8
Revert "SecretStore; fixed warnings for futures 0.1.15"
...
This reverts commit 61daa5f3e7
.
2017-09-28 14:43:51 +03:00
Svyatoslav Nikolsky
61daa5f3e7
SecretStore; fixed warnings for futures 0.1.15
2017-09-28 14:43:05 +03:00
Hawstein
ade37be25b
separate trie from util and make its dependencies into libs:
...
* bytes
* hashdb
* memorydb
* nibbleslice
* nibblevec
2017-09-15 11:03:53 +08:00
Svyatoslav Nikolsky
e3fc3ccada
SecretStore: use random key to encrypt channel + session-level nonce ( #6470 )
...
* generate random channel encryption key on restart
* session-level nonces
* fixed warning after rebase
* session_nonce -> nonce
2017-09-14 19:29:01 +02:00
Svyatoslav Nikolsky
8f434cd02c
secretstore: attributes under docs ( #6475 )
2017-09-06 11:09:22 +02:00
Fredrik Harrysson
dccdedc001
Merge branch 'master' into fo-6418-dont-export-bigint
2017-09-05 10:48:54 +02:00
Svyatoslav Nikolsky
2df61d0a8c
Merge pull request #6411 from paritytech/secretstore_tests
...
Added missing SecretStore tests - signing session
2017-09-05 10:35:21 +03:00
Fredrik
308f36a532
Don't reexport bigint from util
2017-09-04 16:36:49 +02:00
NikVolf
e00de28556
proper update
2017-09-03 19:54:18 +02:00
Gav Wood
0309462b36
Update signing_session.rs
2017-09-03 09:06:41 +02:00
Gav Wood
b4cd7ca49a
Update consensus_session.rs
2017-09-03 09:06:19 +02:00
debris
7849fff41e
finished
2017-08-31 11:35:41 +02:00
Svyatoslav Nikolsky
a3eceb0c6c
added missing SecretStore tests
2017-08-29 15:35:39 +03:00
Svyatoslav Nikolsky
a02db13278
moved attributes under docs
2017-08-16 09:40:00 +03:00
Svyatoslav Nikolsky
cc95edf4dc
fixed grumbles
2017-08-09 18:17:28 +03:00
Svyatoslav Nikolsky
9b34c77f98
Merge branch 'master' into secretstore_stresstest
2017-08-09 12:29:29 +03:00
Svyatoslav Nikolsky
33ba5b63f3
SecretStore: encrypt messages using private key from key store ( #6146 )
...
* do not cache ACL storage contract
* when error comes before initialization
* initial KeyServerSet commit
* update_nodes_set in maintain
* do not connect to self
* fixed connection establishing
* removed println
* improved KeyServerSet tracing
* moved parsing to KeyServerSet
* re-read only when blockchain is changed
* do not try to connect if not a part of cluster
* improved logging
* fixed tests
* NodeKeyPAir trait
* fixed parity to use new trait
* continue integrating with parity
* updated parity for NodeKeyPair
* completed KeyStoreNodeKeyPair
* removed comment
* removed dependency && style
2017-08-09 11:09:40 +02:00
Svyatoslav Nikolsky
872e5537bb
SecretStore: do not cache ACL contract + on-chain key servers configuration ( #6107 )
...
* do not cache ACL storage contract
* when error comes before initialization
* initial KeyServerSet commit
* update_nodes_set in maintain
* do not connect to self
* fixed connection establishing
* removed println
* improved KeyServerSet tracing
* moved parsing to KeyServerSet
* re-read only when blockchain is changed
* do not try to connect if not a part of cluster
* improved logging
* fixed tests
2017-08-07 18:54:05 +02:00
Tomasz Drwięga
f157461ee1
Multi-call RPC ( #6195 )
...
* Removing duplicated pending state accessors in miner.
* Merge miner+client call.
* Multicall & multicall RPC.
* Sensible defaults.
* Fix tests.
2017-08-04 15:58:14 +02:00
Svyatoslav Nikolsky
47c058a337
fixed warning
2017-08-02 12:05:47 +03:00
Svyatoslav Nikolsky
c345bc3d85
cli option to disable SS ACL check
2017-07-27 15:48:07 +03:00
Svyatoslav Nikolsky
7c05a906d0
cli option to disable SS HTTP API
2017-07-27 13:29:09 +03:00
Svyatoslav Nikolsky
dcfb8c1a10
fixed generation session lags
2017-07-26 14:09:52 +03:00
Svyatoslav Nikolsky
417a037ac5
improved logging
2017-07-26 14:09:41 +03:00
Svyatoslav Nikolsky
4938dfd971
removed comment
2017-07-25 17:57:27 +03:00
Svyatoslav Nikolsky
eb895fbb31
completed KeyStoreNodeKeyPair
2017-07-25 17:54:32 +03:00
Svyatoslav Nikolsky
2e9df2c39d
updated parity for NodeKeyPair
2017-07-25 16:30:24 +03:00
Svyatoslav Nikolsky
45f2b82411
NodeKeyPAir trait
2017-07-25 09:24:54 +03:00
Svyatoslav Nikolsky
b31b067743
fixed tests
2017-07-24 12:36:31 +03:00
Svyatoslav Nikolsky
5fb9652af5
improved logging
2017-07-21 11:25:26 +03:00
Svyatoslav Nikolsky
023e5b4b90
do not try to connect if not a part of cluster
2017-07-21 10:49:10 +03:00
Svyatoslav Nikolsky
c94c799347
re-read only when blockchain is changed
2017-07-20 13:28:31 +03:00
Svyatoslav Nikolsky
b9ad093d06
moved parsing to KeyServerSet
2017-07-20 13:15:16 +03:00
Svyatoslav Nikolsky
a35db9f454
improved KeyServerSet tracing
2017-07-20 12:55:52 +03:00
Svyatoslav Nikolsky
9a9c4f6ad6
removed println
2017-07-20 12:25:41 +03:00
Svyatoslav Nikolsky
80b9e931f5
fixed connection establishing
2017-07-20 12:19:29 +03:00
Svyatoslav Nikolsky
7664ff5acd
do not connect to self
2017-07-19 15:14:37 +03:00
Svyatoslav Nikolsky
5080cc3c9e
update_nodes_set in maintain
2017-07-19 12:36:40 +03:00
Svyatoslav Nikolsky
81de7e1075
initial KeyServerSet commit
2017-07-19 11:35:17 +03:00
Svyatoslav Nikolsky
5cc40d4525
when error comes before initialization
2017-07-14 14:51:24 +03:00
Svyatoslav Nikolsky
18582d7b65
do not cache ACL storage contract
2017-07-14 13:41:25 +03:00
Robert Habermeier
104367ce24
Merge pull request #5996 from paritytech/serdeup
...
migration to serde 1.0
2017-07-06 18:02:11 +02:00
Svyatoslav Nikolsky
6334893561
SecretStore: generating signatures ( #5764 )
...
* refactoring traits
* separate generation session
* generalized ClusterSessions
* signing session prototype
* full_signature_math_session
* consensus session prototype
* continue signing session
* continue signing session
* continue signing session
* continue signing session
* isolated consensus logic
* started work on signing test
* complete_gen_sign_session works
* consensus tests
* get rid of duplicated data in SigningSession
* TODOs in signing session
* fixing tests
* fixed last test
* signing session in http listener
* new key server tests
* fix after merge
* enabled warnings
* fixed possible race
* ignore previous jobs responses
* include sef node in consensus when confirmed
* fixed warning
* removed extra clones
* consensus_restarts_after_node_timeout
* encrypt signature before return
* return error text along with HTTP status
* fix for odd-of-N (share check fails + not equal to local sign)
* fixed t-of-N for odd t
* fixed test cases in complete_gen_sign_session
* fixed mistimed response reaction
* jobs draft
* DecryptionJob
* consensus session tets
* fixed decryption tests
* signing job implementation
* siginng_session using new consensus_session
* added license preambles
* same_consensus_group_returned_after_second_selection
* database upgrade v0 -> v1
* typo
* fixed grumbles
2017-07-06 14:02:10 +02:00
debris
61d8f90530
updated serde to version 1.0
2017-07-06 11:36:15 +02:00
Marek Kotewicz
46183b1cdd
bigint upgraded to version 3.0 ( #5986 )
...
* bigint upgraded to version 3.0
* fixed missing FromHex import in ethcore tests
* fixed missing FromHex import in rpc tests
2017-07-06 11:26:14 +02:00