tuxxy
|
3c64c7d9ff
|
Add non-functional character control lifecycle test
|
2019-02-15 00:28:53 -07:00 |
jMyles
|
83bbf5b03b
|
Tests and fixtures for Alice control via config.
|
2019-02-15 00:28:53 -07:00 |
tuxxy
|
37d4e1799f
|
Add first draft of alice CLI for character control
|
2019-02-15 00:28:53 -07:00 |
Kieran R. Prasch
|
ad5da13cd9
|
First draft of Moe provisioning with ansible
|
2019-02-14 11:32:34 -07:00 |
Kieran R. Prasch
|
162af4b51b
|
CLI + Learner Integration tests for Ursula and Moe
|
2019-02-13 13:09:53 -07:00 |
Kieran Prasch
|
329114db29
|
Update and test Moe.
|
2019-02-12 15:19:42 -08:00 |
tuxxy
|
707116470c
|
Change character control namespaces
All character files are moved under the nucypher.network.control
namespace under their respective names (alice, bob, enrico).
|
2019-02-12 13:49:02 -07:00 |
tuxxy
|
6dd77e0e2e
|
Standardize JSON responses in result key
|
2019-02-12 13:49:02 -07:00 |
tuxxy
|
01a6493ef7
|
Add enrico_control fixture and test_enrico_character_control_encrypt_message
|
2019-02-12 13:49:02 -07:00 |
tuxxy
|
2a6d445b9f
|
Improve JSON decode error capture and add to tests
|
2019-02-12 13:49:02 -07:00 |
tuxxy
|
131fe17017
|
Standardize API endpoints to use JSON
|
2019-02-12 13:49:02 -07:00 |
tuxxy
|
35e2942db0
|
Have make_alice_control and make_bob_control take a teacher node to start the learning loop
|
2019-02-12 13:49:02 -07:00 |
tuxxy
|
282441557b
|
Fill out make_bob_control and build passing tests
|
2019-02-12 13:49:02 -07:00 |
tuxxy
|
e9f9b5c227
|
Have federated_bob learn in bob_control fixture
|
2019-02-12 13:49:02 -07:00 |
tuxxy
|
7882ed6114
|
Create bob_control fixture
|
2019-02-12 13:49:02 -07:00 |
tuxxy
|
71d1d9f709
|
Finalize test_alice_character_control_grant
|
2019-02-12 13:49:02 -07:00 |
tuxxy
|
924d7388a9
|
Raise TypeError when TreasureMap isn't decrypted and add test to demonstrate
|
2019-02-12 13:49:02 -07:00 |
tuxxy
|
a56baee69c
|
Add problematic test_alice_character_control_grant
|
2019-02-12 13:49:02 -07:00 |
tuxxy
|
79661e58b2
|
Add failing test for TreasureMap serialization
|
2019-02-12 13:49:02 -07:00 |
tuxxy
|
e671283d27
|
Add minimal passing test for alice_control.create_policy
|
2019-02-12 13:49:02 -07:00 |
tuxxy
|
8c5bb1b1eb
|
Fill out alice_control.create_policy w/ TODOs
|
2019-02-12 13:49:02 -07:00 |
tuxxy
|
07762a420a
|
Add alice_control fixture
|
2019-02-12 13:49:02 -07:00 |
K Prasch
|
29d81fc851
|
Merge pull request #740 from KPrasch/update-solidity
Integrate py-solc, v0.5.0+ contract updates
|
2019-02-12 12:42:40 -07:00 |
Kieran R. Prasch
|
90764287fe
|
Update cli.config usage within the nucypher codebase.
|
2019-02-12 09:19:11 -07:00 |
szotov
|
d8e637c7db
|
Fix escrow agent test
|
2019-02-12 09:07:01 -07:00 |
szotov
|
819f0951e4
|
solidity contracts 0.4.25 -> 0.5.3, updates openzeppelin contracts
|
2019-02-09 16:58:09 +03:00 |
jMyles
|
7faa00d6e1
|
Pulling certs out of the mock test flow more completely so that the sanity check can be more robust.
|
2019-02-08 10:06:23 -07:00 |
jMyles
|
b0b0645e4d
|
We don't pass certificate_filepath anymore.
|
2019-02-08 10:06:23 -07:00 |
jMyles
|
52bf0acf52
|
Removing second addition of observer. Fixes #728.
|
2019-02-08 10:06:23 -07:00 |
jMyles
|
0578b8023c
|
Mocking Response with namedtuple.
|
2019-02-02 21:02:34 -05:00 |
Kieran Prasch
|
35d4d23405
|
Fixes and lightly tests Issue #711
|
2019-01-30 11:46:00 -08:00 |
jMyles
|
d08f6a017d
|
No longer need to pass the status template around.
|
2019-01-22 17:04:23 -05:00 |
jMyles
|
150d73da4e
|
Accounting for an earlier refactor by @KPrasch.
|
2019-01-22 17:04:23 -05:00 |
Kieran Prasch
|
4fa2fa8e42
|
Handles Alice database in config subclass, Use sqlalchemy default development database instead of pure in-memory (#662)
|
2019-01-16 11:21:32 -08:00 |
Kieran Prasch
|
45116dd6bc
|
Bake in certificate checksum_address extracation to tls saving methods.
|
2019-01-16 09:48:09 -08:00 |
Kieran Prasch
|
e46fb20bec
|
Update node storage methods to combined API
|
2019-01-16 09:48:09 -08:00 |
jMyles
|
706614cd93
|
Fake cert filepath for Vlad here too.
|
2019-01-15 15:20:17 -05:00 |
jMyles
|
12d5ab0489
|
Two changes in tests to reflect new APIs: 1) Vladimir gets a cert filepath and 2) We don't pass tls as a kwarg anymore for keyring.
|
2019-01-15 15:20:17 -05:00 |
jMyles
|
bed79d4fac
|
Handling 204 response during learning. Fixes #630.
|
2019-01-15 15:20:17 -05:00 |
jMyles
|
bf0a9e702b
|
Test for case where Ursula knows nobody. Currently forced to fail. See #630.
|
2019-01-15 15:20:17 -05:00 |
Kieran Prasch
|
8922af389c
|
Updates Web3 python API usage to v5.0.0-alpha.3
|
2019-01-15 11:47:40 -08:00 |
Kieran Prasch
|
787e0eebbd
|
Remove stale (hopefully) cleanup fixture in favor of ephemeral nodes in 'development mode'
|
2019-01-05 09:27:48 -08:00 |
Kieran Prasch
|
be456e09ff
|
Fixes Issue #583: Allow 'nucypher ursula run' to destroy invalid nucypher system configurations.
|
2019-01-05 09:27:48 -08:00 |
Kieran Prasch
|
46f76ad21c
|
Fixes Issue #634: Restore CLI test for nucypher ursula run --dev --federated-only.
|
2019-01-05 09:27:48 -08:00 |
Kieran Prasch
|
1755a35fdc
|
Respond to RFCs in PR #617
|
2018-12-19 08:43:33 -08:00 |
Kieran Prasch
|
f07f2979ce
|
Provide simple way to start testing nucypher on pyevm with TeserBlockchain classmethods
|
2018-12-18 11:27:28 -08:00 |
David Núñez
|
19dd593256
|
Merge pull request #605 from KPrasch/config
Ursula Development Configuration Test
|
2018-12-17 22:12:37 +01:00 |
David Núñez
|
0bb34fc5f7
|
Update tests/config/test_ursula_config.py
Co-Authored-By: KPrasch <kieranprasch@gmail.com>
|
2018-12-17 12:51:04 -08:00 |
K Prasch
|
3051b10ef5
|
Merge pull request #594 from KPrasch/estimate-gas
Maintain Gas Estimation Metrics
|
2018-12-16 09:56:00 -08:00 |
Kieran Prasch
|
6f69704a3a
|
Use Regex.compile; Docstrings; Even more cleanup
|
2018-12-14 10:10:08 -08:00 |
Kieran Prasch
|
0c7c5a92a8
|
Respond to RFCs: Code Style and Readability Improvements
|
2018-12-14 09:12:25 -08:00 |
David Núñez
|
9f32f76942
|
Update tests/metrics/estimate_gas.py
Co-Authored-By: KPrasch <kieranprasch@gmail.com>
|
2018-12-14 08:06:32 -08:00 |
Tux
|
60ab41c82d
|
Merge pull request #611 from tuxxy/AAA2018-is-gonna-ruin-the-internet
Rename EncryptingKeypair/EncryptingPower to DecryptingKeypair/DecryptingPower
|
2018-12-14 01:49:10 -05:00 |
Kieran Prasch
|
e9a8af68b5
|
Ursula development configuration + character integration test
|
2018-12-13 16:12:51 -08:00 |
Kieran Prasch
|
bf62f9201d
|
Class-based refactor; Timestamped reports; Automation job.
|
2018-12-13 16:01:14 -08:00 |
Kieran Prasch
|
5002639910
|
Use twisted loggers to collect and analyze gas estimation data
|
2018-12-13 16:01:14 -08:00 |
Kieran Prasch
|
d8b9a7e10e
|
Maintains estimate gas tester metrics script; Update to latest API.
|
2018-12-13 16:01:14 -08:00 |
tuxxy
|
ef497e6a1f
|
Rename TestPolicyMetadata to MockPolicyMetadata
|
2018-12-13 14:17:43 -07:00 |
tuxxy
|
92cc46ad8c
|
Rename EncryptingPower/EncryptingKeypair to DecryptingPower/DecryptingKeypair (#597)
|
2018-12-13 14:17:22 -07:00 |
Kieran Prasch
|
58d8c3ffdd
|
Respond to RFCs - Deployer contract names are now public.
|
2018-12-12 18:06:50 -08:00 |
Kieran Prasch
|
d6ad99a8e0
|
Ensure that operating mode is determined via configuration.
|
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
|
84a1283556
|
Restores blockchain interface connection configuration
|
2018-12-11 10:01:35 -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
|
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
|
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
|
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
|
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
|
b767405d02
|
That's what from_bytes is supposed to look like.
|
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
|
c1edd537b2
|
Tests for decentralized metadata verification. #573
|
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
|
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 |
Kieran Prasch
|
164d499884
|
Consolidate contract tests; further simplify job names.
|
2018-12-05 18:26:38 -08:00 |
Kieran Prasch
|
1c45b7b9d7
|
Update ursula web status template; Template Rendering Exception handling; Add simple template rending test.
|
2018-12-05 16:17:03 -08:00 |
Kieran Prasch
|
1c86a07a13
|
Integrate FleetState into NodeConfiguration; checksum_address -> checksum_public_address
|
2018-12-05 16:17:03 -08:00 |
Kieran Prasch
|
0afe4cc14a
|
Mock default installation to ensure rest_host it correctly set; Includes pytest-mock Pipfile update.
|
2018-12-05 16:17:03 -08:00 |
Kieran Prasch
|
3ea8c8269f
|
Extract cli fixtures: Test CLI help and status. Bug fixes to match. Optioal config_file envvar.
|
2018-12-05 16:17:03 -08:00 |
Kieran Prasch
|
0811666133
|
nucypher cli status automated test
|
2018-12-05 16:17:03 -08:00 |
Kieran Prasch
|
22f3921f38
|
Dedicated cli help test module
|
2018-12-05 16:17:03 -08:00 |
Kieran Prasch
|
0705e2f424
|
Disband cli.constants; Logging bug fixes.
|
2018-12-05 16:17:03 -08:00 |
Kieran Prasch
|
0192a1d16f
|
Tests and bug fixes for password collection via CLI
|
2018-12-05 16:17:03 -08:00 |
Kieran Prasch
|
b2669b8edf
|
Extrapolate more testing steps for CI workflows; Skip publication steps (preversion).
|
2018-12-05 16:16:59 -08:00 |
Kieran Prasch
|
3806fe68f7
|
Integrated test entry point configuration and executable
|
2018-12-05 16:07:30 -08:00 |
Kieran Prasch
|
3a840171b7
|
Through checking of config file existing; Mock line recv. transport.
|
2018-12-05 16:07:30 -08:00 |
Kieran Prasch
|
b0170f1124
|
Add ursula command test job, remove 'unit' language from CI config
|
2018-12-05 16:04:32 -08:00 |
Kieran Prasch
|
8b2a33b48f
|
Basic tests for UrsulaCommandProtocol
|
2018-12-05 15:59:52 -08:00 |
Kieran Prasch
|
a866e4232e
|
Use sqlite :memory: db for dev configurations, as a fallback, and for tests.
|
2018-12-05 15:59:52 -08:00 |
Kieran Prasch
|
ed23e08df1
|
Update tests to use thinned keyring and configuration API
|
2018-12-05 15:59:50 -08:00 |
Kieran Prasch
|
6ab8f4862f
|
bite-sized end-user CLI testing for Ursula CLI operations
|
2018-12-05 15:59:19 -08:00 |
Kieran Prasch
|
b57d8cf88b
|
Deprecate accounts CLI tests
|
2018-12-05 15:58:20 -08:00 |
Kieran Prasch
|
305eadc8d8
|
Updates tests with NodeStorage internal API usage; passphrase -> password
|
2018-12-05 15:58:20 -08:00 |
Kieran Prasch
|
14d5189787
|
First bout of testing for new Ursula CLI API
|
2018-12-05 15:58:20 -08:00 |
Kieran Prasch
|
1380fef5ea
|
Remove CLI config tests
|
2018-12-05 15:58:20 -08:00 |
Kieran Prasch
|
9bd96cb64a
|
tiny touch ups
|
2018-12-05 15:58:20 -08:00 |
Kieran Prasch
|
d0e023ba03
|
Fixes nucypher-deploy entry point
|
2018-12-05 15:58:20 -08:00 |
Kieran Prasch
|
1f820e0659
|
Prepare test for cli namespace change and formal cli module
|
2018-12-05 15:58:20 -08:00 |
Kieran Prasch
|
6070409045
|
Disable file logging during tests
|
2018-12-05 15:57:21 -08:00 |
Kieran Prasch
|
03428ab412
|
relocate CLI script and remap entrypoint
|
2018-12-05 15:57:21 -08:00 |
jMyles
|
1a9a9cb83e
|
Don't save any previously saved states, even if the 'new' one is not the current one.
|
2018-12-05 15:57:21 -08:00 |
jMyles
|
b314345c36
|
Default LogLevel for tests is now 'info'
|
2018-12-05 15:57:21 -08:00 |
jMyles
|
cb202ff371
|
Record node snapshots only at the end of a learning round, not every time a node is remembered.
|
2018-12-05 15:57:21 -08:00 |
K Prasch
|
892f926e6e
|
Merge pull request #584 from cygnusv/alice-decrypts
Alice can decrypt data encrypted for her policies
|
2018-12-03 15:29:20 -08:00 |
David Núñez
|
6de99512eb
|
Merge pull request #521 from tuxxy/fourth-annual-updated-revoke
Implement Revoke
|
2018-12-03 23:23:53 +01:00 |
David Núñez
|
4ab7ad1252
|
DataSource.encapsulate_single_message() --> DataSource.encrypt_message()
|
2018-12-03 12:07:33 +01:00 |
David Núñez
|
bb0de18dac
|
Some type hints here and there
|
2018-12-03 12:07:28 +01:00 |
tuxxy
|
398d854f7f
|
Add revocation integration test (thanks @cyngusv) to test_bob_joins_policy_and_retreives
|
2018-11-30 13:18:13 -07:00 |
David Núñez
|
bad8d9062b
|
Delegator's verifying key should already be as correctness key in the capsule
|
2018-11-29 16:14:34 +01:00 |
David Núñez
|
92ce6321fa
|
Test Alice can decrypt . It fails. (yikes!)
|
2018-11-29 16:14:18 +01:00 |
tuxxy
|
da7ca8d13e
|
Move Revocation to its own class
|
2018-11-21 12:07:13 -07:00 |
tuxxy
|
db96bb13c0
|
Return a tuple of (Revocaton, None) when revoke_arrangement returns 404
|
2018-11-19 16:44:38 -07:00 |
tuxxy
|
a12c9b1134
|
Use DELETE method for RESTful call to revoke_arrangement
|
2018-11-19 16:44:38 -07:00 |
tuxxy
|
c130df05f3
|
Add test_revocation
|
2018-11-19 16:44:38 -07:00 |
tuxxy
|
0ddfa230de
|
Refactor to use new RevocationKit
|
2018-11-19 16:44:38 -07:00 |
tuxxy
|
57db0e8639
|
Test alice_can_grant_and_revoke and add revoke_arrangement to MockRestMiddleware
|
2018-11-19 16:44:38 -07:00 |
Kieran Prasch
|
704f41a744
|
Refactor node storages backend tests; Accomodate pytest>4
|
2018-11-19 23:53:44 +01:00 |
Kieran Prasch
|
844c2a4674
|
Refactor node storages backend tests; Accomodate pytest>4
|
2018-11-16 14:26:31 -08:00 |
jMyles
|
fea6b6a258
|
Tests now reflect state changes.
|
2018-11-16 10:26:29 -08:00 |
jMyles
|
458b999ddd
|
Moved away from treating known_nodes as a dict throughout.
|
2018-11-16 10:24:26 -08:00 |
jMyles
|
71bbc2772c
|
Nodes can directly iterate and introspect known_nodes now.
|
2018-11-16 10:24:26 -08:00 |
jMyles
|
31f66cf071
|
Past fleet state as a param during learning; only learn if there's a difference.
|
2018-11-16 10:22:59 -08:00 |
jMyles
|
17d0a245da
|
Small fixes for tests to match FleetState updating logic.
|
2018-11-11 06:25:53 -08:00 |
jMyles
|
e9804e2fb0
|
Tests specifically for learning.
|
2018-11-10 20:55:26 -08:00 |
jMyles
|
6bdfd1e3cd
|
Once Ursula is fully loaded, then we'll update FleetState.
|
2018-11-10 20:52:36 -08:00 |
Kieran Prasch
|
6de086b2a9
|
skip leaky string validator
|
2018-11-10 12:47:30 -08:00 |
K Prasch
|
7b6a65f37b
|
Merge pull request #531 from cygnusv/keyring
Persistent DelegatingPower
|
2018-11-10 12:17:45 -08:00 |
Kieran Prasch
|
2f1e6eec20
|
Test database teardown logic
|
2018-11-09 09:30:15 -08:00 |
Kieran Prasch
|
c45e534823
|
Understand nucypher CLI to be a module
|
2018-11-09 09:29:49 -08:00 |
Kieran Prasch
|
21f8c4fb8a
|
Make federated-only the CLI default
|
2018-11-09 08:53:36 -08:00 |
Kieran Prasch
|
1444650230
|
Include pytest fixtures via plugin injection method.
|
2018-11-09 07:49:31 -08:00 |
Kieran Prasch
|
19350c524d
|
Understand cli.py to be a script
|
2018-11-09 07:49:31 -08:00 |
Kieran Prasch
|
d316796aff
|
Use conventional top-level package structures
|
2018-11-09 07:43:31 -08:00 |
David Núñez
|
3773acd432
|
Generalize Alice's DelegationPower test to other powers
|
2018-11-08 12:50:13 +01:00 |
David Núñez
|
15269d5d0e
|
Initial testing of Keyring
|
2018-11-08 12:50:13 +01:00 |
David Núñez
|
608d468b26
|
Testing persistence of Alice's DelegatingPower
|
2018-11-08 12:07:12 +01:00 |
David Núñez
|
b64ad0de46
|
Base64 encoding of serialized public keys in Keypairs
|
2018-11-08 12:06:50 +01:00 |
David Núñez
|
a2c6618b41
|
Janitorial stuff
|
2018-11-08 12:06:35 +01:00 |
Kieran Prasch
|
ce5ed3dc76
|
Further reduce sentry scope. Thin CLI API; Pretty Loggers; Cleanup cruft
|
2018-11-06 23:17:46 +01:00 |
Kieran Prasch
|
0fefd7d64e
|
Tasty breadcrumbs; Cleanup stale logging methods, make pretty.
|
2018-11-06 23:17:46 +01:00 |
jMyles
|
ef0ccff29b
|
Sentry logging in CLI only.
|
2018-11-06 23:17:46 +01:00 |
Kieran Prasch
|
7124364415
|
Skip S3 Storages Tests - Bump Solc version. Organize Pipfile.
|
2018-11-06 16:30:35 +01:00 |