jMyles
|
7890dcc2b2
|
Several touchups to Finnegan's Wake logic and the high-level APIs that power it.
|
2018-04-18 23:23:47 -07:00 |
Kieran Prasch
|
9ad74ec8a6
|
Pytest Geth + PyEVM fixtures.
|
2018-04-17 10:51:44 -07:00 |
Kieran Prasch
|
f07ed43a32
|
Contract test Web3 API Updates;
|
2018-04-17 10:50:53 -07:00 |
jMyles
|
50915fc1f2
|
Removing "random" Ursulas from tests; selecting by rest_port instead.
|
2018-04-17 02:44:10 -07:00 |
jMyles
|
3f55470870
|
Tests for new Bob and TreasureMap logic.
|
2018-04-17 01:53:46 -07:00 |
jMyles
|
13ff2e642c
|
Actors can now discover all known nodes from a given node. Fixes #175.
|
2018-04-17 01:52:30 -07:00 |
tuxxy
|
6f64b3acc7
|
Refactor Registrar to handle addresses as keys; Add some minor fixes to tests
|
2018-04-16 02:23:56 -07:00 |
Kieran Prasch
|
67812e5cd9
|
Merge remote-tracking branch 'tuxxy/solc-populus-bridge' into solc-pipeline
|
2018-04-16 00:58:50 -07:00 |
Kieran Prasch
|
fc22d51eac
|
Cleanup tests, web3 -> w3, cleanup imports.
|
2018-04-16 00:23:20 -07:00 |
Kieran Prasch
|
f63f77f5b3
|
Refines solidity pipeline, improves names, builds injectable compiler class.
|
2018-04-16 00:22:18 -07:00 |
tuxxy
|
84f9bd7864
|
Refactor Registrar to handle addresses as keys; Add some minor fixes to tests
|
2018-04-16 01:19:05 -06:00 |
Kieran Prasch
|
8b00b0a1cd
|
Massage Token/Issuer contract tests into running again. Removes .lower calls, update web3 events API to use event Filters.
|
2018-04-15 16:21:29 -07:00 |
tuxxy
|
b9d460a719
|
Apply API updates to eventFilters
|
2018-04-15 16:20:44 -07:00 |
tuxxy
|
8748a19893
|
Fix solidity test contracts path; Capture KeyError for Provider method
|
2018-04-15 16:06:10 -07:00 |
tuxxy
|
485d2a6f01
|
Start to update contract tests to pure web3 api; *borrowing* populus namespacs.
|
2018-04-15 16:05:12 -07:00 |
Kieran Prasch
|
7fab7eb18d
|
Update contract test to kms provider api usage; Remove Populus API calls
|
2018-04-15 16:04:43 -07:00 |
Kieran Prasch
|
c2d6e6baca
|
Pytest session fixture, delegating sol compiler control at test runtime
|
2018-04-15 16:04:43 -07:00 |
Kieran Prasch
|
efbac1df48
|
Removes Ethereumconfig, inject web providers into blockchain classes. Provider compiler control and web3 contract cache
|
2018-04-15 16:03:48 -07:00 |
Kieran Prasch
|
9cd500bea5
|
Remove populus from Pipfile (also add ipbd)
|
2018-04-15 16:03:48 -07:00 |
tuxxy
|
d4b88a7a12
|
Get tests running with some changes - Add minimal EthereumConfig back as a holdover
|
2018-04-15 16:03:18 -07:00 |
tuxxy
|
012cf15c1d
|
Add get_contract_data method to find contracts on the Registrar chain via address or name
|
2018-04-15 15:59:54 -07:00 |
Kieran Prasch
|
c9a7954e90
|
Consolidate test fixtures and utilities, optimize imports
|
2018-04-15 15:28:28 -07:00 |
Kieran Prasch
|
83f116a5d1
|
Pick PR#22 from kms-eth; Further smooths file tree and namespaces.
|
2018-04-15 15:26:18 -07:00 |
Kieran Prasch
|
b713d2d8e8
|
Merge remote-tracking branch 'upstream/master' into solc-pipeline
|
2018-04-15 12:34:44 -07:00 |
Kieran Prasch
|
78feadd0c4
|
Removes .lower calls, update web3 events API to use event Filters.
|
2018-04-15 12:33:33 -07:00 |
Kieran Prasch
|
991a2f7687
|
Massage Token/Issuer contract tests into running again.
|
2018-04-14 23:34:12 -07:00 |
tuxxy
|
f2a98ffc67
|
Push up everything I have so far and use eventFilters
|
2018-04-14 22:44:51 -06:00 |
Kieran Prasch
|
05571c1ec8
|
Fix waiting calls
|
2018-04-14 03:09:44 -07:00 |
Kieran Prasch
|
efd4ec0177
|
Start to update contract tests to pure web3 api; *borrowing* populus namespacs.; Fixes multi-dire compiler bug. needs review.
|
2018-04-14 01:33:39 -07:00 |
Kieran Prasch
|
47170e1292
|
Merge remote-tracking branch 'tuxxy/solc-registrar' into solc-pipeline
|
2018-04-13 17:35:38 -07:00 |
tuxxy
|
91e91fd6b5
|
Add tester_registrar and tester_provider pytest fixtures
|
2018-04-13 18:34:48 -06:00 |
Kieran Prasch
|
1a7fa8e75c
|
Update contract test api calls
|
2018-04-13 17:09:40 -07:00 |
Kieran Prasch
|
227c8493ef
|
Update contract test to kms provider api usage
|
2018-04-13 16:57:57 -07:00 |
tuxxy
|
ee24326619
|
Remove Populus API calls and use new API
|
2018-04-13 17:53:47 -06:00 |
Justin Holmes
|
0bae3d04df
|
Merge branch 'master' into master
|
2018-04-13 16:22:26 -07:00 |
Kieran Prasch
|
33a166bb20
|
Merge remote-tracking branch 'tuxxy/solc-registrar' into solc-pipeline
|
2018-04-13 15:34:20 -07:00 |
Kieran Prasch
|
9b2813f372
|
Pytest session fixture, delegating sol compiler control at test runtime
|
2018-04-13 15:32:01 -07:00 |
Kieran Prasch
|
506d7ed921
|
Provider compiler control and web3 contract cache; Provider interacting with registrar
|
2018-04-13 15:27:49 -07:00 |
Kieran Prasch
|
041438a320
|
Remove populus from Pipfile (also add ipbd)
|
2018-04-13 15:21:15 -07:00 |
tuxxy
|
c043dc2867
|
Merge remote-tracking branch 'nucypher/master' into solc-registrar
|
2018-04-13 16:08:26 -06:00 |
tuxxy
|
b8085d0d0c
|
Get tests running with some changes
|
2018-04-12 21:29:18 -06:00 |
tuxxy
|
c490445f8b
|
Add tests for Registrar and the utility functions
|
2018-04-12 20:59:06 -06:00 |
tuxxy
|
a60032a097
|
Add tempfile_path fixture
|
2018-04-12 20:59:06 -06:00 |
Kieran Prasch
|
5ec9760a83
|
Consolidate test fixtures and utilities, optimize imports
|
2018-04-12 20:59:03 -06:00 |
Kieran Prasch
|
7c356ae6bd
|
Pick PR#22 from kms-eth; Further smooths file tree and namespaces.
|
2018-04-12 20:58:15 -06:00 |
jMyles
|
cfb36163b6
|
DataSource now takes the public key of the Policy, not the whole Policy. Thanks @michwill.
|
2018-04-12 19:19:28 -07:00 |
jMyles
|
da4966524c
|
Test now uses DataSource. Alice no longer needs to be online in order for a DataSource to send messages to Bob.
|
2018-04-12 19:19:28 -07:00 |
jMyles
|
fb826ef349
|
UmbralMessageKit can now be aware of a policy_pubkey.
|
2018-04-12 19:19:28 -07:00 |
jMyles
|
0a32f7f534
|
Moving Enrique and SignatureStamp out of characters. Enrique is now DataSource; SignatureStamp now lives in signature.
|
2018-04-12 19:19:28 -07:00 |
jMyles
|
67376fe607
|
Using Alice's DelegatingPower to make a Policy.
|
2018-04-12 19:19:28 -07:00 |
jMyles
|
9cc25929c8
|
No more as_b64 for UmbralPublicKeys.
|
2018-04-12 19:18:42 -07:00 |
Kieran Prasch
|
6959516ba6
|
Consolidate test fixtures and utilities, optimize imports
|
2018-04-11 20:26:03 -07:00 |
Kieran Prasch
|
1849b282c0
|
Pick PR#22 from kms-eth; Further smooths file tree and namespaces.
|
2018-04-11 20:26:03 -07:00 |
Justin Holmes
|
e27f174ad3
|
Merge branch 'master' into master
|
2018-04-10 19:30:06 -07:00 |
Kieran Prasch
|
adfa29609e
|
Manually merges inter-codebase tests, setup, pipfile, config classes, and sol source, respectively updates imports.
|
2018-04-10 17:03:21 -07:00 |
jMyles
|
5b46b9d17a
|
Moves and fixes to support KMS logic with unified ETH codebase.
|
2018-04-10 00:34:18 -07:00 |
jMyles
|
6b3f9a797c
|
This test just can't work for now.
|
2018-04-07 22:13:45 -07:00 |
jMyles
|
1ea14e514b
|
Switching to maya for most DT things.
|
2018-04-07 22:13:45 -07:00 |
tuxxy
|
95990bb839
|
Merge remote-tracking branch 'nucypher/master' into crypto-config
|
2018-04-05 17:59:23 -06:00 |
jMyles
|
b3acaf50bc
|
New verify_from() logic. Fixes #174.
Cleaning up and sanding kit and verify_from() logic.
|
2018-04-05 17:23:17 -06:00 |
jMyles
|
7f21117cb7
|
BytestringSplitter is now its own project.
|
2018-04-05 17:23:17 -06:00 |
jMyles
|
b35e5b9840
|
Using constantSorrow for constants.
|
2018-04-05 17:23:17 -06:00 |
jMyles
|
9c1e6c13cc
|
cryptoKits is now its own project.
|
2018-04-05 17:23:17 -06:00 |
tuxxy
|
448e2d7223
|
Begin integration of KMS-Ethereum codebase into KMS
|
2018-04-05 17:21:23 -06:00 |
jMyles
|
11263663f3
|
Special value constants changed to constantSorrow; lengths adjusted. Also, new test for Signature comparison.
|
2018-04-05 10:23:28 -07:00 |
jMyles
|
d3884518f2
|
Cleaning up and sanding kit and verify_from() logic.
|
2018-04-01 22:44:00 -07:00 |
tuxxy
|
06539daedd
|
'Contract' -> 'Arrangement'
|
2018-04-01 22:16:51 -06:00 |
jMyles
|
f789aaf7f7
|
New verify_from() logic. Fixes #174.
|
2018-04-01 20:17:47 -07:00 |
jMyles
|
fc99ef2e27
|
BytestringSplitter is now its own project.
|
2018-04-01 18:52:30 -07:00 |
jMyles
|
eb4605d573
|
Using constantSorrow for constants.
|
2018-04-01 18:52:08 -07:00 |
jMyles
|
8d2bd2d77d
|
cryptoKits is now its own project.
|
2018-04-01 18:50:53 -07:00 |
jMyles
|
b4e34c0981
|
Using new "to cryptography" APIs.
|
2018-03-18 00:42:28 -07:00 |
jMyles
|
8e0899473f
|
Test for generating cert.
|
2018-03-06 17:54:11 -08:00 |
jMyles
|
03632d4927
|
We're not using storage anymore.
|
2018-03-01 00:15:27 -08:00 |
jMyles
|
bed029c480
|
Removing imports that are no longer used.
|
2018-02-28 22:28:31 -08:00 |
jMyles
|
17bbf816cd
|
Bob no longer tracks a single Alice as an attribute; instead, he tracks an Alice with each Policy.
|
2018-02-28 22:04:37 -08:00 |
jMyles
|
f5e3f978b1
|
Better Keystore instantiation time, and also no need to manually start servers anymore (as they run on the same thread).
|
2018-02-28 17:40:49 -08:00 |
jMyles
|
f4a98bf942
|
Touching up some tests a bit.
|
2018-02-28 17:40:49 -08:00 |
jMyles
|
7e567c24f6
|
Introducing named DBs per Ursula.
|
2018-02-28 17:37:27 -08:00 |
jMyles
|
5dcf405c54
|
Sharpening NetworkyStuff.
|
2018-02-28 17:37:27 -08:00 |
jMyles
|
edf8840d5a
|
Faking Ursulas for tests.
|
2018-02-28 17:37:27 -08:00 |
jMyles
|
d35687907d
|
Just use the keccak_digest function directly - this was never a good change really.
|
2018-02-28 17:37:27 -08:00 |
jMyles
|
6aa0cb46d2
|
TreasureMaps are now attainble via the REST interface.
|
2018-02-28 17:33:58 -08:00 |
jMyles
|
edad1d7148
|
dict interface for from_public_keys.
|
2018-02-28 17:33:53 -08:00 |
jMyles
|
139e767a2b
|
All Characters need to know about Ursulas (and other information nodes if we ever run them).
|
2018-02-28 17:33:15 -08:00 |
jMyles
|
6fa7bd5823
|
Ursula's datastore now runs in a separate thread in all cases.
|
2018-02-28 17:32:19 -08:00 |
jMyles
|
e1b4f242ab
|
Tearing out all lookup_actor logic. Also, as @tuxxy pointed out a while ago, there's really no reason to have Character.hash(); we can just use keccak_digest.
|
2018-02-24 01:53:20 -08:00 |
jMyles
|
857a91855a
|
We don't do lookup_actor anymore.
|
2018-02-24 01:45:50 -08:00 |
jMyles
|
6d38ff2509
|
privkey is not _privkey.
|
2018-02-24 00:50:28 -08:00 |
jMyles
|
872cef81a2
|
Smoothing out Powers; redlines through plenty of obselete functionality surrounding path keys in EncryptingPower.
|
2018-02-23 23:36:40 -08:00 |
jMyles
|
f89d13c4a0
|
Seal -=> SignatureStamp
|
2018-02-23 22:39:10 -08:00 |
jMyles
|
760e0a8129
|
Reflectin refractor of umbral.umbral to umbral.pre.
|
2018-02-23 22:02:32 -08:00 |
jMyles
|
1cdc0cad80
|
Some DHT cleanup.
|
2018-02-19 15:21:06 -08:00 |
jMyles
|
bb279fa954
|
Fixture needs to include (or at least, works better if it includes) Alice's public encryption key.
|
2018-02-19 15:20:40 -08:00 |
jMyles
|
1301f43cda
|
Final narrative test for Bob's Adventure.
|
2018-02-19 15:20:26 -08:00 |
jMyles
|
4716d888ae
|
Narrative test showing Bob getting his second CFrag.
|
2018-02-19 15:19:43 -08:00 |
jMyles
|
7a0c21a0a5
|
We save WorkOrders in WorkOrderHistory now.
|
2018-02-19 15:16:50 -08:00 |
jMyles
|
dbac4ba586
|
Illegal keys are bytes, not str.
|
2018-02-18 17:34:38 -08:00 |
jMyles
|
307bae3e3a
|
Giving Bob a better facility for tracking his CFrags.
|
2018-02-18 13:04:33 -08:00 |
jMyles
|
2b87cf3b8e
|
It's on. Here we go.
|
2018-02-17 23:36:33 -08:00 |
jMyles
|
fd4accf3f5
|
Header lengths and types implemented in network.
|
2018-02-15 12:31:16 -08:00 |
jMyles
|
023d9705f0
|
Shortening headers to two bytes, and deprecating lstrip as a way to eat headers. See #111. Fixes #164.
|
2018-02-14 23:45:23 -08:00 |
jMyles
|
3b9ae94b5b
|
Fixed those last two pesky tests - now that we're splitting with MessageKit, we don't need to split again.
|
2018-02-14 00:19:26 -08:00 |
jMyles
|
6e4175d597
|
Far more thorough narrative for Character encryption APIs.
|
2018-02-14 00:19:09 -08:00 |
jMyles
|
e9d9d0cc36
|
Free roving red lines.
|
2018-02-14 00:18:55 -08:00 |
jMyles
|
31dfbaa3e9
|
Moving over to MessageKit.to_bytes.
|
2018-02-14 00:18:31 -08:00 |
Kieran R Prasch
|
2d92ed7dc7
|
New API renaming, and more style.
|
2018-02-13 17:50:46 -08:00 |
Kieran R Prasch
|
7560fb8d10
|
adds pytest cache to gitignore
|
2018-02-13 17:48:55 -08:00 |
Kieran R Prasch
|
022087f67a
|
Fixes Db bulk delete assertion; Renames several key test method calls
|
2018-02-13 17:37:40 -08:00 |
tuxxy
|
6428337ab5
|
Add broken sqlalchemy delete
|
2018-02-13 17:37:40 -08:00 |
tuxxy
|
31a091bcce
|
Some fixes in keystor and related tests
|
2018-02-13 17:37:40 -08:00 |
jMyles
|
19fd2c4343
|
This test is no longer needed with KFrag class.
|
2018-02-13 17:34:16 -08:00 |
jMyles
|
6ac0bee751
|
Extraneous comment.
|
2018-02-13 17:34:07 -08:00 |
jMyles
|
2f46a956e7
|
We can encrypt without a power now.
|
2018-02-13 17:32:15 -08:00 |
jMyles
|
f35f7fa056
|
Using alicebob sidechannel for Bob to get capsule.
|
2018-02-13 17:31:53 -08:00 |
jMyles
|
6eeb8ee546
|
Fixed kfrag test by rebuilding kfrag.
|
2018-02-13 17:31:35 -08:00 |
jMyles
|
e0c50d473c
|
Signatures are now made from 64 bytes, not 65.
|
2018-02-13 15:45:46 -08:00 |
jMyles
|
8f7edfe012
|
Old API tests, washed in crimson.
|
2018-02-13 15:45:34 -08:00 |
jMyles
|
12882a0587
|
Fixed verification of signature from a stranger.
|
2018-02-13 15:45:02 -08:00 |
tuxxy
|
7daab1f096
|
Add test_keypairs
|
2018-02-13 14:00:15 -07:00 |
tuxxy
|
3d66e71441
|
Add tests for signing
|
2018-02-13 13:34:31 -07:00 |
tuxxy
|
00b812993c
|
Add pytest fixture for sqlalchemy
|
2018-02-13 13:30:58 -07:00 |
jMyles
|
84951c0a81
|
Grabbing contract from keystore in test.
|
2018-02-13 13:29:41 -07:00 |
jMyles
|
00f991d428
|
Bob now receives a Capsule via the side channel and handles it instead of a pfrag.
|
2018-02-13 13:29:41 -07:00 |
jMyles
|
ca945e5ba0
|
New fixture to simulate ciphertext and capsule being givesn to Bob by Alice.
|
2018-02-13 13:29:41 -07:00 |
tuxxy
|
d0bfd4ae0d
|
WIP on rm-crypto: 2b73b14 Merge pull request #11 from jMyles/rm-crypto
|
2018-02-13 13:28:39 -07:00 |
jMyles
|
a4765aacfc
|
Grabbing contract from keystore in test.
|
2018-02-13 12:26:08 -08:00 |
jMyles
|
7c37e3c58f
|
Bob now receives a Capsule via the side channel and handles it instead of a pfrag.
|
2018-02-13 12:25:53 -08:00 |
jMyles
|
7de5a7ec26
|
New fixture to simulate ciphertext and capsule being givesn to Bob by Alice.
|
2018-02-13 12:25:46 -08:00 |
jMyles
|
5b9f4a2a7a
|
More MessageKit flow for tmap. Also, unwrapped an extraneous if.
|
2018-02-13 11:13:07 -08:00 |
jMyles
|
5415184d0b
|
More questioning of actor lookup.
|
2018-02-13 11:11:26 -08:00 |
jMyles
|
4d677f4d03
|
Passing hrac as hex.
|
2018-02-13 11:11:03 -08:00 |
jMyles
|
d82474a969
|
Showing that KFrag retrieved with Policy is among those granted.
|
2018-02-12 13:33:34 -08:00 |
jMyles
|
6a326239f6
|
Policies come back from the datastore!
|
2018-02-12 13:12:41 -08:00 |
jMyles
|
7551d79fd6
|
Constructing message_kit with Signature - we'll do this a better way soon.
|
2018-02-12 12:58:10 -08:00 |
jMyles
|
834311b23e
|
Splitters in tests.
|
2018-02-11 01:06:39 -08:00 |
jMyles
|
0c47c00d69
|
@tuxxy merged my Pull Request, then pushed his history to thunderdome. This commit merges those histories.
|
2018-02-10 20:39:30 -08:00 |
tuxxy
|
2fc5596d5b
|
Add tests for sqlite keystore
|
2018-02-10 21:26:56 -07:00 |
jMyles
|
83998706a0
|
Splitter uses PUBLIC_KEY_LENGTH for UmbralPublicKey.
|
2018-02-10 19:53:57 -08:00 |
jMyles
|
d9d619b149
|
Keypair generation tests are gonna have'ta change.
|
2018-02-09 20:44:52 -08:00 |
jMyles
|
459d6c9e08
|
Simplying conftest.
|
2018-02-09 20:44:27 -08:00 |
jMyles
|
65940dd0fe
|
Preparing to use UmbralPublicKey.
|
2018-02-09 20:44:16 -08:00 |
jMyles
|
7896e2d11d
|
No more DB!
|
2018-02-09 13:05:44 -08:00 |
jMyles
|
67dd86534c
|
You can init a Power with nothing now.
|
2018-02-09 13:05:23 -08:00 |
jMyles
|
0fc1e7cebb
|
Not uding nkms.db anymore.
|
2018-02-09 13:05:00 -08:00 |
jMyles
|
12dc83f5b6
|
Creating KFrag for test in canonical way.
|
2018-02-07 16:30:03 -08:00 |
jMyles
|
650b38d2c1
|
Setting default curve for tests.
|
2018-02-07 16:29:53 -08:00 |
jMyles
|
50aca7d66f
|
Reflecting new location for fragments.
|
2018-02-07 16:22:28 -08:00 |
jMyles
|
f420a02ad7
|
Removing tests that test things that no longer exist.
|
2018-02-07 10:52:38 -08:00 |
jMyles
|
6d2c9e3d7b
|
Reflecting deprecated crypto modules.
|
2018-02-07 02:16:45 -08:00 |
jMyles
|
0d964ca080
|
Removing various imports of the ole' fragments module.
|
2018-02-07 02:16:44 -08:00 |
jMyles
|
c6d050aca7
|
Making explicit which address and port are for Ursula's DHT interface.
|
2018-02-06 17:16:21 -08:00 |
jMyles
|
cc80a065e0
|
Character.from_public_keys now takes a list of tuples.
|
2018-02-06 17:15:53 -08:00 |
jMyles
|
12f7990a09
|
Alice script properly sends a Contract and then, subsequently, sends a KFrag.
|
2018-02-06 03:08:23 -08:00 |
jMyles
|
1ff8d51515
|
Better doctstring for Policy. And something something agreement.
|
2018-02-05 23:40:21 -08:00 |
jMyles
|
2a27661765
|
Test showing that Alice can get an Ursula's public keys via REST and create an Ursula object from them.
|
2018-02-05 23:30:07 -08:00 |
jMyles
|
3db71115f6
|
Characters can now be created from either a signing or encryption key. Fixes #156.
|
2018-02-05 11:25:17 -08:00 |
jMyles
|
a393d42e8e
|
Removing the rest of PolicyManager; changed PolicyOfferResponse to ContractResponse.
|
2017-12-15 21:50:51 -08:00 |
jMyles
|
032abed046
|
Cleaning up the rest of the tests to use the new models.
|
2017-12-14 21:21:51 -08:00 |
jMyles
|
20bac0393f
|
Tests shifting from Policy to Contract.
|
2017-12-14 21:21:27 -08:00 |
jMyles
|
e486d5a2b1
|
Cleaned up fixtures and reduced their scope to "module."
|
2017-12-14 21:21:09 -08:00 |
jMyles
|
9cf06c58e5
|
New names for things!
|
2017-12-14 21:20:49 -08:00 |
jMyles
|
7dec865094
|
Updating some fixture names to remove PolicyGroup.
|
2017-12-14 20:36:52 -08:00 |
jMyles
|
d372010e0c
|
Cleaned up assertions to comport with new models.
|
2017-12-14 20:36:35 -08:00 |
jMyles
|
791312c9d4
|
Method for finding Ursulas needs a rewrite (and, of course, later, to have the blockchain component plugged in).
|
2017-12-14 16:53:54 -08:00 |
jMyles
|
1c677efb6a
|
Moving the rest of the enact logic to Policy.
|
2017-12-14 12:15:36 -08:00 |
jMyles
|
f68bd91510
|
Policy ID is immaterial now. Closes #38 wontfix.
|
2017-12-14 11:40:46 -08:00 |
jMyles
|
ac10e6a3da
|
Merge commit for various Policy and testing Work after PRs are merged.
|
2017-12-13 10:41:55 -08:00 |
jMyles
|
21c18ea5f8
|
Tests reflect publish_treasure_map living on PolicyGroup.
|
2017-12-13 10:33:34 -08:00 |
jMyles
|
e891653fde
|
With PolicyGroup logic simplified for Bob, we can reduce the scope of several fixtures.
|
2017-12-13 10:33:01 -08:00 |
jMyles
|
3a1bab4b1d
|
Fixed up tests to use hrac instead of PolicyGroup.
|
2017-12-11 17:03:47 -08:00 |
jMyles
|
a5579f1af7
|
grant test
|
2017-12-09 17:21:43 -08:00 |
jMyles
|
fd38b2421e
|
Alice gets a PolicyManager at __init__.
|
2017-12-09 17:19:30 -08:00 |
jMyles
|
c2a111c2b5
|
Tests showing that Bob doesn't repeat WorkOrders for CFrags he already has.
|
2017-12-07 20:41:48 -08:00 |
jMyles
|
699ec37f03
|
TreasureMap setting fixture implemented in a few tests.
|
2017-12-07 20:41:26 -08:00 |
jMyles
|
fc66f43b3b
|
Pushing TreasureMap setting down into a fixture.
|
2017-12-07 20:41:04 -08:00 |
jMyles
|
fb5731fff4
|
Bob has a lot of logic surrounding his play with Frags - moving such tests to their own module.
|
2017-12-07 00:36:43 -08:00 |
jMyles
|
647e0e4fd7
|
Bob can now lookup past work orders by PFrag since #137 is closed.
|
2017-12-07 00:36:35 -08:00 |
jMyles
|
4de6ff736a
|
More mock network logic for testing.
|
2017-12-05 12:54:59 -08:00 |
jMyles
|
674197d30b
|
Test for complete discovery and reencryption via REST.
|
2017-12-05 12:54:44 -08:00 |
jMyles
|
97a97c6b5c
|
Bob Issues WorkOrders with pFrags, gets back cFrags.
|
2017-12-04 17:18:47 -08:00 |
jMyles
|
a5e85576a7
|
Using PolicyGroup's encrypted_key instead of fake pfrags.
|
2017-12-04 17:17:28 -08:00 |
jMyles
|
d90a2649e9
|
Can't represent pfrag as bytes; this is a blocker for now. See #137.
|
2017-12-04 17:17:28 -08:00 |
jMyles
|
c4cbff3359
|
Tests that show Bob that Bob is able to issue a WorkOrder via REST.
|
2017-12-04 17:17:28 -08:00 |
jMyles
|
df9f24e612
|
Mock network stuff to call reencrypt.
|
2017-12-04 17:17:28 -08:00 |
jMyles
|
429743f1f4
|
Test that Bob can properly create a work order and send it over to Ursula.
|
2017-12-04 17:17:28 -08:00 |
jMyles
|
7a525b801e
|
Move Alice REST test to proper module.
|
2017-12-04 17:17:28 -08:00 |
jMyles
|
b1f9b72886
|
Session-wide fixture injection means we don't need to grab alice and bob from the PolicyGroup.
|
2017-12-04 17:17:28 -08:00 |
jMyles
|
ff04578dc3
|
CFrag and tests.
|
2017-12-04 17:17:13 -08:00 |
jMyles
|
1de9a97628
|
Tests use PFrag.
|
2017-12-04 16:27:08 -08:00 |
jMyles
|
4fab47cac3
|
Proper dunders with tests for kfrag retrieval and deserialization. Fixes #138.
|
2017-12-04 15:23:40 -08:00 |
jMyles
|
e6556f54f1
|
Test for KFrag class compatibility with BytestringSplitter.
|
2017-12-04 13:08:40 -08:00 |
jMyles
|
167ee66aa0
|
Changing fixture 'fake_ursulas' to just 'ursulas'.
|
2017-11-21 22:06:52 -08:00 |
jMyles
|
ceae904822
|
Tests with Bob getting the signature from Alice properly.
|
2017-11-21 22:03:31 -08:00 |
jMyles
|
0084b14a3d
|
OK, fixtures are implemented in the tests that need them.
|
2017-11-21 20:22:16 -08:00 |
jMyles
|
c44a46e416
|
Proper test fixtures. Phew! It was a brain-twister getting this right.
|
2017-11-21 20:19:31 -08:00 |
jMyles
|
ae49b28249
|
Moving PolicyGroup creation to test fixture format.
|
2017-11-21 16:27:21 -08:00 |
jMyles
|
4ff94f385b
|
Ursula can't just willy-nilly spin up an in-memory db anymore.
|
2017-11-21 12:04:33 -08:00 |
jMyles
|
8bd1e616d1
|
Showing that policy was transmitted via REST made it to Ursula's KeyStore.
|
2017-11-20 19:50:51 -08:00 |
jMyles
|
014d63805a
|
Don't need this file for the moment; covered in other tests.
|
2017-11-20 19:24:25 -08:00 |