Commit Graph

2940 Commits (720e961f12f3adb72a0955feb4146cfd7af223ab)

Author SHA1 Message Date
Kieran Prasch eb04eb4a99
Set default temp prefix, and provider uri as public attributes 2018-12-11 10:01:35 -08:00
Kieran Prasch d6ad99a8e0
Ensure that operating mode is determined via configuration. 2018-12-11 10:01:35 -08:00
Kieran Prasch 33e1eef7bd
Allow CLI to accept any port number. 2018-12-11 10:01:35 -08:00
Kieran Prasch c235bb45bb
Select a possibly open non-default port for running tests 2018-12-11 10:01:35 -08:00
Kieran Prasch 3b436588a4
Restore the usage of --federated-only in CLI tests; Dedicate federated ursula CLI test module. 2018-12-11 10:01:35 -08:00
Kieran Prasch c90026c7a2
Seperates config.produce from init-parameter generation; DRY up shared blockchin config log on NodeConfiguration and NodeStorage 2018-12-11 10:01:35 -08:00
Kieran Prasch 6f18850230
Bug Fixes: Deployment actor uses self.blockchain for deployer and agent init; Use pyevm as default provider URI 2018-12-11 10:01:35 -08:00
Kieran Prasch 81e082e4ad
Set federated-only to False by default. 2018-12-11 10:01:35 -08:00
Kieran Prasch 2daf283edb
Draft of nucypher-deploy interface 2018-12-11 10:01:35 -08:00
Kieran Prasch 84a1283556
Restores blockchain interface connection configuration 2018-12-11 10:01:35 -08:00
Kieran Prasch 19e44200a7
Deployer now track txhashes and agents 2018-12-11 10:01:35 -08:00
K Prasch 53ceaf88b9
Merge pull request #574 from jMyles/character-crypto
Versioning, domains, and decentralized metadata validation
2018-12-11 09:24:04 -08:00
jMyles 5e5592a1bf After a day of dependency issues, we're moving to the updated pyUmbral (0.1.2a2).
This is a merge commit of #574 and #603.
2018-12-10 21:35:59 -05:00
David Núñez f228ea9c06 Leaving dependency hell...(for now) 2018-12-11 02:26:18 +01:00
jMyles 8b82969f04 Another round of RFC fixes: check timestamp for incoming node data, type hints, and style fixes. 2018-12-10 17:40:27 -05:00
jMyles 968be5d851 This is actually the package name for BSS. 2018-12-10 21:52:08 +01:00
David Núñez 015f62c91c Adapt NuCypher to umbral==0.1.2a1 2018-12-10 21:38:22 +01:00
jMyles 485a362da3 Fixes to respond to RFCs: GLOBAL_DOMAIN docstring, bad line break. 2018-12-09 03:28:37 -05:00
jMyles 731682a225 This is actually the package name for BSS. 2018-12-08 14:38:33 -05:00
K Prasch 9628121fdf
Merge pull request #562 from KPrasch/cli-shave-learning-loop
Specialize CLI for Ursula; Integrated NodeStorages
2018-12-07 19:50:30 -08:00
Derek Pierre a81ad0f0e9
Update nucypher/cli/painting.py
Fixes incorrect conditional for `NO_KNOWN_NODES`

Co-Authored-By: KPrasch <kieranprasch@gmail.com>
2018-12-07 19:18:18 -08:00
jMyles aa64f5820c Fixing these timing tests, although I still have my suspicions that there's a 598 monster hiding somewhere under here. 2018-12-06 23:58:32 -05:00
jMyles e71854a44e Some formatting and a few other edits to account for refactors in @kprasch's branch. 2018-12-06 23:57:02 -05:00
jMyles 80b2050649 Adding alternate constructors back. 2018-12-06 23:55:38 -05:00
jMyles f19601912d Fixed imports and some other formatting issues following merge commit. 2018-12-06 21:19:57 -05:00
jMyles a3fb853ffa Pre-arranged merge commit between @kprasch and myself to reconcile our branches.
Quite a few conflicts resolved.
2018-12-06 20:55:09 -05:00
jMyles 6a5eeab7ce Changes to account for updates in BSS and constantSorrow. 2018-12-06 18:35:31 -05:00
jMyles b919e84184 Test showing that POSTing version messiness results in sane handling. 2018-12-06 18:21:41 -05:00
jMyles 46a0fee06f Passing domains and versions all the way through de/serialization flow and template. 2018-12-06 18:21:41 -05:00
jMyles b129f3298d More sane error messages for node mismatches; tests for the same. 2018-12-06 18:19:57 -05:00
jMyles 65c5bc03e6 Handling version discrepancy in batch_from_bytes. 2018-12-06 18:19:57 -05:00
jMyles b767405d02 That's what from_bytes is supposed to look like. 2018-12-06 18:18:23 -05:00
jMyles 99d3dad457 Some cleanups and explicitly continuing when a node's version is wrong. 2018-12-06 18:18:23 -05:00
jMyles 679859db0b Domains are part of Ursula bytestrings. 2018-12-06 18:18:23 -05:00
jMyles c6b63d641a Domains are now sets. 2018-12-06 18:18:23 -05:00
jMyles ece4bf2808 Each Ursula in a concat'd bytestring is variable length. 2018-12-06 18:10:05 -05:00
jMyles 4c9f9108ed Don't learn about nodes with a newer version than you. 2018-12-06 18:10:05 -05:00
jMyles c15408e775 'Two-split' logic for batch_from_bytes. 2018-12-06 18:10:05 -05:00
jMyles 9d6d41e817 We only want to substantiate at init time when decentralized uses are possible. 2018-12-06 18:10:05 -05:00
jMyles 801f625fe8 No sense generating a cert here; it just makes the failure case more difficult to track down. 2018-12-06 18:10:05 -05:00
jMyles a0d4ffbbd6 Using new splitter. Requires new version of BytestringSplitter. 2018-12-06 18:10:05 -05:00
jMyles c1edd537b2 Tests for decentralized metadata verification. #573 2018-12-06 18:04:11 -05:00
jMyles 98d64553a6 Handle metadata error first. 2018-12-06 18:04:11 -05:00
jMyles 1e77e4445c Move stamp substantiation to Teacher init time. 2018-12-06 18:04:11 -05:00
jMyles 4065a2ab57 Pass identity evidence through Ursula. 2018-12-06 18:04:11 -05:00
jMyles f0745c7940 Transition to logging class to use log levels. 2018-12-06 18:04:11 -05:00
jMyles 2365f2b2d1 Don't save any previously saved states, even if the 'new' one is not the current one. 2018-12-06 18:04:11 -05:00
jMyles 2b4ac9cbab VerifiableNode -=> Teacher. Also starting to version Teachers. 2018-12-06 18:04:11 -05:00
jMyles 854524c7ef Default LogLevel for tests is now 'info' 2018-12-06 18:04:11 -05:00
jMyles 9be9ac7370 Record node snapshots only at the end of a learning round, not every time a node is remembered. 2018-12-06 18:04:11 -05:00