Svyatoslav Nikolsky
0da6c7eb45
SecretStore: ECDSA session for cases when 2*t < N ( #7739 )
...
* SecretStore: ECDSA PoC
* SecretStore: fixed ECDSA serialization + cleanup
* removed unused param
* removed unused method
* removed debug unwrap
* SecretStore: 'limited' ECDSA session
* fix after merge
2018-03-01 09:59:21 +01:00
Svyatoslav Nikolsky
37bfcb737b
SecretStore: threshold ECDSA PoC ( #7615 )
...
* SecretStore: ECDSA PoC
* SecretStore: fixed ECDSA serialization + cleanup
* removed unused param
* removed unused method
* removed debug unwrap
* 1/x -> inv(x)
* SecretStore: merged fixes from ECDSA session branch
* once again 1/* -> inv(*)
* fixed grumbles
2018-02-15 11:12:51 +01:00
Svyatoslav Nikolsky
ebb92947a3
SecretStore: fixed test ( #7878 )
2018-02-14 10:49:56 +01:00
Svyatoslav Nikolsky
8579a56f71
SecretStore: 'broadcast' decryption session ( #7843 )
2018-02-12 18:05:33 +01:00
Svyatoslav Nikolsky
ebda6d3916
SecretStore: ignore removed authorities when running auto-migration ( #7674 )
2018-02-05 20:59:14 +01:00
Svyatoslav Nikolsky
10a95a5a22
remove obsolete file ( #7788 )
2018-02-02 08:55:44 +01:00
Svyatoslav Nikolsky
04b571b742
SecretStore: threshold decrease PoC ( #7562 )
2018-01-16 12:58:41 +01:00
Svyatoslav Nikolsky
73f5cc57be
fixed warning ( #7519 )
2018-01-10 19:56:02 +01:00
Marek Kotewicz
e95b093483
dissolve util ( #7460 )
...
* ethereum-types refactor in progress
* ethereum-types refactor in progress
* ethereum-types refactor in progress
* ethereum-types refactor in progress
* ethereum-types refactor finished
* removed obsolete util/src/lib.rs
* removed commented out code
2018-01-10 15:35:18 +03:00
Svyatoslav Nikolsky
d360074323
SecretStore: do not send init if session has finished/failed instantly ( #7397 )
2018-01-10 11:35:23 +01:00
Svyatoslav Nikolsky
b685b7fae3
SecretStore: tx retry pattern ( #7323 )
...
* SecretStore: auto migrate initial commit
* SecretStore: flush automigrate
* SecretStore: debug flush
* SecretStore: added migration to KeyServerSet contract
* SecretStore: flush automigrate
* SecretStore: flush before testing
* SecretStore: flush
* SecretStore: flush
* SecretStore: bunch of tests for simple ConnectionTrigger && KeyServerSet
* SecretStore: started work on TriggerWithMigration tests
* SecretStore: maintain_session tests
* SecretStore: updated some comments
* SecretStore pass migration_id to ServerSetChangeSession
* SecretStore: fixed lock scope
* SecretStore: fixed error response condition
* SecretStore: fixed ServerSetChange session auto-creation
* SecretStore: update active migration in connector
* removed commented code
* SecretStore: fixed tests compilation
* SecretStore: marked test-related unimplemented-s
* SecretStore: labeled all SS TODOs
* SecretStore: do not read auto-migration stuff when auto-migration is disabled + stripped KeyServerSet contract ABI
* SecretStore: ignore duplicated addresses in KeyServerSet
* fied compilation
* SecretStore: wait for N block confirmations before starting auto-migration
* SecretStore: more tests for migration delay
* SecretStore: clear current nodes set when KSS contract is uninstalled
* SecretStore: retry transaction interval
2018-01-10 11:33:45 +01:00
Marek Kotewicz
81d4187d14
Merge pull request #7331 from paritytech/secretstore_resurrect_error404
...
SecretStore: return error 404 when there's no key shares for given key on all nodes
2017-12-29 05:33:47 -04:00
Svyatoslav Nikolsky
c0e7abcc81
Merge branch 'master' into secretstore_kovan
2017-12-27 11:44:28 +03:00
NikVolf
516725abe4
ok_or -> ok_or_else
2017-12-21 16:50:58 +03:00
Svyatoslav Nikolsky
b10d567386
SecretStore: ClusterSession::wait_session helper
2017-12-20 19:11:48 +03:00
Svyatoslav Nikolsky
794de9f743
SecretStore: fixing grumbles (part1)
2017-12-20 14:50:46 +03:00
Svyatoslav Nikolsky
861aa1fa4b
SecretStore: return error 404 when there's no key shares for given key on all nodes
2017-12-19 11:02:13 +03:00
Svyatoslav Nikolsky
498a708df7
fixed warnings
2017-11-23 08:22:51 +03:00
Svyatoslav Nikolsky
ea9c8a174c
SecretStore: started adding tests for ServiceContractListener
2017-11-22 17:31:34 +03:00
Svyatoslav Nikolsky
a2c12ab13e
SecretStore: fixed warnings
2017-11-22 11:47:15 +03:00
Svyatoslav Nikolsky
7da66c24f0
SecretStore: store joint_public in key_storage
2017-11-22 11:09:48 +03:00
Svyatoslav Nikolsky
df3a8a9234
SecretStore: default ClusterSessionsListener impl
2017-11-22 10:43:16 +03:00
Svyatoslav Nikolsky
fc7f3433b7
SecretStore: removed obsolete traits
2017-11-22 10:21:14 +03:00
Svyatoslav Nikolsky
5a7e065e41
SecretStore: Kovan flush3
2017-11-22 10:05:14 +03:00
Svyatoslav Nikolsky
e16f6fb9d9
SecretStore: servers set change session api ( #6925 )
...
* SecretStore: first key versions flush
* SecretStore: key versions in encryption session
* SecretStore: flush key versions negotiation session
* SecretStore: connected key version negotiation session to cluster
* SecretStore: cluster sessions container refactoring
* SecretStore: flush
* SecretStore: flush key versions
* SecretStore: flush
* SecretStore: delegation proto
* SecretStore: decryption_session_is_delegated_when_node_does_not_have_key_share
* SecretStore: fixed version in decryption session
* SecretStore: signing_session_is_delegated_when_node_does_not_have_key_share
* SecretStore: started restoring admin sessions
* SecretStore: restoring admin sessions
* SecretStore: removed obsolete ShareRemove && ShareMove sessions
* SecretStore: ShareAdd math tests only require old_t+1 nodes
* SecretStore: ShareAdd revamp using new math backend
* SecretStore: do not include isolated nodes into consensus_group
* SecretStore: ServersSetChange + ShareAdd revamp
* removed debug printlns
* SecretStore: key version negotiation tests
* SecretStore: removed debug/merge artifacts
* SecretStore: fixed master node selection
* SecretStore: cleanup + tests + fixes
* SecretStore: uncommented tests
* SecretStore: cleaning up
* SecretStore: cleaning up + tests
* SecretStore: cleaning up
* SecretStore: cleaning up && tests
* SecretStore: fixing TODOs
* SecretStore: fixing TODOs + cleanup
* SecretStore: fixing TODOs
* SecretStore: nodes_add_to_the_node_with_obsolete_version
* SecretStore: nodes_add_fails_when_not_enough_share_owners_are_connected
* SecretStore: tests
* SecretStore: signing && delegation tests
* SecretStore: signing && decryption tests when some nodes are isolated
* SecretStore: sessions_are_removed_when_initialization_fails
* SecretStore: ceaning up
* SecretStore: removed obsolete comments
* SecretStore: signing_session_completes_if_node_does_not_have_a_share
* SecretStore: initial ServersSetChange API
* SecretStore: added secretstore_signServersSet RPC
* SecretStore: ChangeServersSet parse tests
* SecretStore: fixes after manual ServersSetChange tests
* lost file
* fixed network ports overlap in tests
* lost files
2017-11-16 17:34:23 +01:00
Tomasz Drwięga
f7fa9f6e9d
Drop jsonrpc_core::Error
2017-11-14 12:17:48 +01:00
Svyatoslav Nikolsky
7703cd226b
SecretStore: versioned keys ( #6910 )
...
* SecretStore: first key versions flush
* SecretStore: key versions in encryption session
* SecretStore: flush key versions negotiation session
* SecretStore: connected key version negotiation session to cluster
* SecretStore: cluster sessions container refactoring
* SecretStore: flush
* SecretStore: flush key versions
* SecretStore: flush
* SecretStore: delegation proto
* SecretStore: decryption_session_is_delegated_when_node_does_not_have_key_share
* SecretStore: fixed version in decryption session
* SecretStore: signing_session_is_delegated_when_node_does_not_have_key_share
* SecretStore: started restoring admin sessions
* SecretStore: restoring admin sessions
* SecretStore: removed obsolete ShareRemove && ShareMove sessions
* SecretStore: ShareAdd math tests only require old_t+1 nodes
* SecretStore: ShareAdd revamp using new math backend
* SecretStore: do not include isolated nodes into consensus_group
* SecretStore: ServersSetChange + ShareAdd revamp
* removed debug printlns
* SecretStore: key version negotiation tests
* SecretStore: removed debug/merge artifacts
* SecretStore: fixed master node selection
* SecretStore: cleanup + tests + fixes
* SecretStore: uncommented tests
* SecretStore: cleaning up
* SecretStore: cleaning up + tests
* SecretStore: cleaning up
* SecretStore: cleaning up && tests
* SecretStore: fixing TODOs
* SecretStore: fixing TODOs + cleanup
* SecretStore: fixing TODOs
* SecretStore: nodes_add_to_the_node_with_obsolete_version
* SecretStore: nodes_add_fails_when_not_enough_share_owners_are_connected
* SecretStore: tests
* SecretStore: signing && delegation tests
* SecretStore: signing && decryption tests when some nodes are isolated
* SecretStore: sessions_are_removed_when_initialization_fails
* SecretStore: ceaning up
* SecretStore: removed obsolete comments
* SecretStore: signing_session_completes_if_node_does_not_have_a_share
2017-11-02 15:33:11 +01:00
David Dorgan
bdf1e6afcc
Revert "Sync parity-ewf with parity"
...
This reverts commit f7ba063b22
.
2017-10-24 13:31:58 +01:00
David Dorgan
f7ba063b22
Sync parity-ewf with parity
2017-10-24 12:31:50 +01:00
Arkadiy Paronyan
5b29b6d064
Squash remaining warnings ( #6789 )
...
* Fixed comment warnings
* Fixed remaining warnings
2017-10-16 12:31:52 +02:00
Svyatoslav Nikolsky
4e9d439f39
SecretStore: session level timeout ( #6631 )
...
* SecretStore: session level timeout
* removed obsolete TODO
2017-10-05 22:38:23 +02:00
Svyatoslav Nikolsky
6431459bcf
SecretStore: ShareRemove of 'isolated' nodes ( #6630 )
...
* SecretStore: ShareRemove from isolated nodes
* SecretStore: ServersSetChange && isolated nodes
* SecretStore: added threshold check + lost file
* SecretStore: remove isolated nodes before other sessions in ServersSetChange
* removed obsolete TODO
2017-10-05 22:37:41 +02:00
Marek Kotewicz
d8094e0629
Merge pull request #6624 from paritytech/secretstore_exclusive_sessions
...
SecretStore: exclusive sessions
2017-10-05 18:44:44 +02:00
Tomasz Drwięga
e8b418ca03
Update jsonrpc dependencies and rewrite dapps to futures. ( #6522 )
...
* Bump version.
* Fix RPC crate.
* Fix BoxFuture in crates.
* Compiles and passes tests!
* Get rid of .boxed()
* Fixing issues with the UI.
* Remove minihttp. Support threads.
* Reimplement files serving to do it in chunks.
* Increase chunk size.
* Remove some unecessary copying.
* Fix tests.
* Fix stratum warning and ipfs todo.
* Switch to proper branch of jsonrpc.
* Update Cargo.lock.
* Update docs.
* Include dapps-glue in workspace.
* fixed merge artifacts
* Fix test compilation.
2017-10-05 12:35:01 +02:00
Svyatoslav Nikolsky
8961d987a9
fixed port offset in test
2017-10-04 22:12:45 +03:00
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
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