Kieran Prasch
|
8204351b6f
|
Integrate three agents with existing fixtures, restore token airdrop as a utility function.
|
2018-06-26 01:10:45 -07:00 |
tuxxy
|
9696821a98
|
Add test for BlockchainPower
|
2018-06-26 01:58:04 -06:00 |
jMyles
|
cced06514d
|
Catching tests up with federated logic.
|
2018-06-22 20:28:08 -07:00 |
jMyles
|
fb8747274a
|
Totally new logic for test_grant for federated case.
|
2018-06-22 20:27:43 -07:00 |
jMyles
|
766acca7bf
|
known_nodes is now private _known_nodes.
|
2018-06-22 20:18:06 -07:00 |
jMyles
|
b2e5d9958e
|
Evolved tests and fixtures. Mocking some blockchain logic and discovered Ursulas with learning loop.
|
2018-06-22 20:18:06 -07:00 |
jMyles
|
e4253b6c5d
|
Including Ursula ether address as part of public information.
|
2018-06-20 10:13:26 -07:00 |
jMyles
|
36b86eb6bb
|
Implementing InterfaceInfo.
|
2018-06-20 10:13:26 -07:00 |
Kieran Prasch
|
27ffc557ad
|
Updates tests and utilities with blockchain-representable characters
|
2018-06-20 10:12:50 -07:00 |
Kieran Prasch
|
e37de07ec0
|
Begins deprecation of alice publishing Tmap to DHT; Post rebase cleanup.
|
2018-06-20 10:12:00 -07:00 |
Kieran Prasch
|
44952cd636
|
Introduces blockchain network elemtns to higher-level character tests; Additional high level blockchain setup fixtures.
|
2018-06-20 10:12:00 -07:00 |
Kieran Prasch
|
7891588fd0
|
Keep tests up-to-date; Create airdrop and deploy fixtures; Fix additional stray imports
|
2018-06-20 10:11:34 -07:00 |
Kieran Prasch
|
6e751f6775
|
Renames(mostly) NetworkyStuff to NetworkMiddleware.
|
2018-06-20 10:11:28 -07:00 |
Kieran Prasch
|
45bf82b033
|
Removes stale verify corectness params in character tests.
|
2018-06-19 15:35:36 -07:00 |
jMyles
|
8379b23a1f
|
Stray import of Signature.
|
2018-06-02 19:54:08 -07:00 |
jMyles
|
57396ef1ca
|
Fixing the setting of keys for cfrag correctness check, and explicitly passing a constant value so that these tests can be run in isolation.
|
2018-06-02 16:24:40 -07:00 |
K Prasch
|
05abf4dadf
|
Merge branch 'master' into actor-integration
|
2018-05-31 10:18:37 -07:00 |
jMyles
|
562ec6b95f
|
Using expected_bytes_length for frags.
|
2018-05-28 10:46:48 -07:00 |
jMyles
|
65ade05855
|
We need a signer in a few places now - using Alice's stamp for that.
|
2018-05-28 10:34:29 -07:00 |
Kieran Prasch
|
ae9917e779
|
Update actor and characters tests post-integration
|
2018-05-24 10:48:57 -07:00 |
Kieran Prasch
|
763c29eeac
|
Merge Blockchain actors and Characters
|
2018-05-24 10:48:57 -07:00 |
Kieran Prasch
|
722cf9918f
|
Nucypher and BlockchainConfig and it's tenticles; Related NucypherConstants and ContractInterface updates.
|
2018-05-24 10:48:57 -07:00 |
jMyles
|
3e76563c10
|
Using.get_size() for fragments.
|
2018-05-08 21:45:00 -07:00 |
jMyles
|
41805d5d06
|
Removing references to 'KMS'
|
2018-05-08 13:02:18 -07:00 |
jMyles
|
f1b28a1c8e
|
Variable length CFrag and CFrag validity checks in place.
|
2018-05-07 13:41:55 -07:00 |
jMyles
|
f4d43470d2
|
DelegatingPower now derives its Keypairs from a label.
|
2018-04-18 23:56:13 -07:00 |
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 |
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
|
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 |
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
|
11263663f3
|
Special value constants changed to constantSorrow; lengths adjusted. Also, new test for Signature comparison.
|
2018-04-05 10:23:28 -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
|
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
|
f4a98bf942
|
Touching up some tests a bit.
|
2018-02-28 17:40:49 -08:00 |
jMyles
|
edf8840d5a
|
Faking Ursulas for tests.
|
2018-02-28 17:37:27 -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
|
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
|
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
|
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 |
Kieran R Prasch
|
2d92ed7dc7
|
New API renaming, and more style.
|
2018-02-13 17:50:46 -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
|
12882a0587
|
Fixed verification of signature from a stranger.
|
2018-02-13 15:45:02 -08: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
|
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
|
834311b23e
|
Splitters in tests.
|
2018-02-11 01:06:39 -08:00 |
jMyles
|
83998706a0
|
Splitter uses PUBLIC_KEY_LENGTH for UmbralPublicKey.
|
2018-02-10 19:53:57 -08:00 |
jMyles
|
65940dd0fe
|
Preparing to use UmbralPublicKey.
|
2018-02-09 20:44:16 -08:00 |
jMyles
|
cc80a065e0
|
Character.from_public_keys now takes a list of tuples.
|
2018-02-06 17:15:53 -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
|
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
|
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
|
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
|
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
|
ad0eb40a4d
|
PublicKey used for metadata instead of int literals throughout tests. Also some PEP8 cleanups and removal of type checks per #105.
|
2017-11-18 13:19:07 -08:00 |
jMyles
|
e0f9995e4c
|
Casting Signature to bytes for msgpack. Better to concat it in the future - see #114.
|
2017-11-10 16:29:28 -08:00 |
jMyles
|
6a5d0da4bf
|
Test organization: moved utility functions to their own module.
|
2017-11-09 16:23:38 -08:00 |
tuxxy
|
09b442d5a3
|
Use SigningPower instead of SigningKeypair in test_crypto_characters_and_their_powers
Use SigningPower instead of SigningKeypair correctly
Use correct SigningPower
|
2017-10-17 16:01:59 -06:00 |
jMyles
|
adf71c80c8
|
Seal now implements dunders instead of custom methods.
|
2017-10-16 18:17:53 -07:00 |
jMyles
|
506f0f81cd
|
Character encryption tests.
Note that CryptoPower.decrypt and Character.encrypt_for have fake logic until EncryptingPower is implemented.
|
2017-10-16 18:16:01 -07:00 |
jMyles
|
a202507978
|
logic to check that passing signature<=-=>message backwards raises TypeError (commented out for now).
|
2017-10-16 18:06:16 -07:00 |
jMyles
|
bf0f83b6ea
|
Moving EncryptingKeypair over to powers.
|
2017-10-10 22:39:25 -07:00 |
tuxxy
|
3b3f44038c
|
Fix tests and update imports to reflect nkms.crypto.api
|
2017-10-10 20:18:24 -06:00 |
jMyles
|
9e651af46b
|
Import statements changed while we reorganize.
|
2017-10-10 13:02:45 -07:00 |
jMyles
|
40cdfab02a
|
Some clarifying details in character tests.
|
2017-10-06 19:48:31 -07:00 |
jMyles
|
418618d565
|
A fairly serious version of the high-level signing and verification system.
|
2017-10-06 19:32:49 -07:00 |