tuxxy
e86d496762
Fix lifecycle test
...
David told me that this test would fail because it Bob didn't provide
his signing key. I somehow forgot that while making these changes and
spent hours trying to figure out why the map_id was wrong. I even
commented out bob's signing key knowing I would have to uncomment it
later. I'm done for today.
Import Alice in cli.alice
Fix arg name
2019-02-15 00:28:53 -07:00
jMyles
0866abaaac
Moving Bob controller right on to Bob.
2019-02-15 00:28:53 -07:00
jMyles
188c0773b4
Enrico is now a lawful Character. Fixes #241 .
2019-02-15 00:28:53 -07: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
1c86a07a13
Integrate FleetState into NodeConfiguration; checksum_address -> checksum_public_address
2018-12-05 16:17:03 -08: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
David Núñez
92ce6321fa
Test Alice can decrypt . It fails. (yikes!)
2018-11-29 16:14:18 +01:00
tuxxy
7feabb6cb2
Add GPLv3 -- nucypher is free as in freedom
2018-11-04 13:16:42 -07:00
Kieran Prasch
76d8a2efd5
deprecate usage of certificates_dir from TLSKeypair and HostingPower
2018-10-02 21:19:23 -07:00
Kieran Prasch
d02a8bc0bf
split Alice and Bob fixtures by operating mode; Cleanup cleanup logic, everywhere
2018-09-24 18:43:01 -07:00
Kieran Prasch
13764517ac
Reflect character initialization logic in NodeConfiguration subclasses; Integrate with local filesystem paths in dev and non-dev modes.
2018-09-22 15:43:35 -07:00
Kieran Prasch
cbe7bc79e3
Bifurcate up federated and non-federated ursula generation in tests
2018-09-18 09:19:51 -07:00
jMyles
127c98816c
Moving Characters to characters.lawful, in preparation for (now) the introduction of Vladimir and (not now) the introduction of a factory-style Character creation flow.
2018-09-12 13:58:13 +02:00
jMyles
0b070ec38a
Lots of test touch-ups.
2018-09-06 21:01:44 +02:00
jMyles
785bc95626
Simpler InterfaceInfo. Loopback literals are now localhost.
2018-08-31 12:21:05 -07:00
Kieran Prasch
b6815f52ac
Create blank ini config via cli command
2018-08-31 11:47:42 -07:00
Kieran Prasch
9bc4b80984
Remove duplicated test ursula cache
2018-08-31 11:28:01 -07:00
Kieran Prasch
f8e5d58f89
Project-wide automated import optimization, followed-up with some hand-tweaking
2018-08-31 11:24:08 -07:00
jMyles
de303c5244
Introducting TLSHostingPower. Ursula no longer needs to handle the cert or private_key - instead, she just generates a deployer.
2018-07-18 20:17:15 -07:00
tuxxy
5727898452
Remove from and fix tests
2018-07-16 19:44:46 -06:00
jMyles
bcc159367f
Fixing up tests.
2018-07-05 11:54:45 -07:00
jMyles
303b4dfc8c
More test touchups and fixture organization, in anticipation of #338 .
2018-07-02 20:44:09 -07:00
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
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
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
41805d5d06
Removing references to 'KMS'
2018-05-08 13:02:18 -07:00
jMyles
fb826ef349
UmbralMessageKit can now be aware of a policy_pubkey.
2018-04-12 19:19:28 -07: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
f789aaf7f7
New verify_from() logic. Fixes #174 .
2018-04-01 20:17:47 -07:00
jMyles
eb4605d573
Using constantSorrow for constants.
2018-04-01 18:52:08 -07:00
jMyles
f4a98bf942
Touching up some tests a bit.
2018-02-28 17:40:49 -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
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
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
12882a0587
Fixed verification of signature from a stranger.
2018-02-13 15:45:02 -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
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