jMyles
|
a3b9960fbd
|
Added sentinel for missing return value - see https://github.com/python/mypy/issues/4223#issuecomment-342865133.
|
2017-11-21 22:12:27 -08:00 |
jMyles
|
5f4b5f5cca
|
Type for Keypair class.
|
2017-11-21 22:10:47 -08:00 |
jMyles
|
e34ddef071
|
New names for return values.
|
2017-11-21 22:10:27 -08:00 |
jMyles
|
fce308fc62
|
Fixed some tuple type hints with the proper number of expected members.
|
2017-11-21 22:09:58 -08:00 |
jMyles
|
63d1b9d082
|
encrypt_for takes Character, not str.
|
2017-11-21 22:09:29 -08:00 |
jMyles
|
6886b6bb0a
|
Adding type hints for methods that return None.
|
2017-11-21 22:08:02 -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
|
1e67468013
|
Properly delivering Alice's signature in the case that she signs the cleartext and includes it in the ciphertext.
|
2017-11-21 22:02:26 -08:00 |
jMyles
|
2f7bdecc3a
|
Adding mypy to reqs, but not running with Travis quite yet.
|
2017-11-21 22:01:24 -08:00 |
jMyles
|
0084b14a3d
|
OK, fixtures are implemented in the tests that need them.
|
2017-11-21 20:22:16 -08:00 |
jMyles
|
2f0b483ba3
|
Not using msgpack for protocols anymore! All concat and split now.
|
2017-11-21 20:21:02 -08:00 |
jMyles
|
29d4089da1
|
Just a fake list for now as a blockchain client.
|
2017-11-21 20:20:38 -08:00 |
jMyles
|
4c507fe22d
|
Some cleanup; better docstring for Character.__init__
|
2017-11-21 20:20:15 -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
|
436f2b1c05
|
Actually, we weren't using the rest module.
|
2017-11-21 12:41:32 -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
|
83e63a2ffe
|
Warning when using default DB for Ursula, which does not persist.
|
2017-11-21 09:38:04 -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
|
4563ef2eca
|
HRAC in URL as hex instead of encoded bytes.
|
2017-11-20 19:49:43 -08:00 |
jMyles
|
014d63805a
|
Don't need this file for the moment; covered in other tests.
|
2017-11-20 19:24:25 -08:00 |
jMyles
|
ac33d5eb4e
|
Making sure that uri is unique for each execution.
|
2017-11-20 19:24:03 -08:00 |
jMyles
|
c0639349c7
|
Changed method to 'enact_policy'. Move HRAC to URL instead of HTTPS payload.
|
2017-11-20 19:23:25 -08:00 |
jMyles
|
8be498629b
|
Fixed length of test bytes for keystore.
|
2017-11-20 19:20:18 -08:00 |
jMyles
|
17ff9a37cf
|
Changed 'set_kfrag' to 'set_policy'.
|
2017-11-20 19:19:37 -08:00 |
jMyles
|
05a9cb99ba
|
Was catching the wrong ImportError.
|
2017-11-20 19:19:18 -08:00 |
jMyles
|
76aae80f70
|
Correcting Pipfile.lock mistake.
|
2017-11-20 15:53:55 -08:00 |
jMyles
|
ac34d2667d
|
Serializing keyfrag data before concat'ing it. See #126.
|
2017-11-19 11:59:35 -08:00 |
jMyles
|
522c016f53
|
Moving REST App from test_utilities to Ursula.
|
2017-11-19 11:58:33 -08:00 |
jMyles
|
38933d59a0
|
REST Logic for Policy. Still a problem, though - RekeyFrag can't be added to KeyStore - see #126.
|
2017-11-18 19:21:36 -08:00 |
jMyles
|
63a10aef67
|
Changing 'animate' to 'enact'.
|
2017-11-18 19:21:32 -08:00 |
jMyles
|
31687af4f3
|
Convenience method for creating Characters from pubkey_sig_bytes.
|
2017-11-18 19:17:52 -08:00 |
jMyles
|
c0920b709d
|
Splitting on the other end of the wire works!
|
2017-11-18 14:33:54 -08:00 |
jMyles
|
a39146cac9
|
Using PublicKey in deserialization.
|
2017-11-18 14:33:33 -08:00 |
jMyles
|
1baf8123ee
|
Length check for PublicKey while checking Signature.
|
2017-11-18 14:31:27 -08:00 |
jMyles
|
5fdac5d345
|
Ursula checks Alice's signature on the payload; still some logic to work out.
|
2017-11-18 13:33:32 -08:00 |
jMyles
|
269063f1b1
|
Moving test Client logic over to test_utilities
|
2017-11-18 13:33:31 -08:00 |
jMyles
|
7c3b62fb58
|
Beginning of creation of Policy from bytes payload.
|
2017-11-18 13:33:31 -08:00 |
jMyles
|
753905f04f
|
Ursula receives a Policy.payload via REST.
|
2017-11-18 13:33:31 -08:00 |
jMyles
|
763bece3da
|
Tests for Bob's invovlement in Policy.
|
2017-11-18 13:33:31 -08:00 |
jMyles
|
9782649a5b
|
Policy payload encryption for Ursula.
|
2017-11-18 13:33:31 -08:00 |
jMyles
|
c426714622
|
Policy now gets Bob injected.
|
2017-11-18 13:33:31 -08:00 |
jMyles
|
711d99b109
|
IntegrityError block for adding a kFrag that already exists.
|
2017-11-18 13:33:31 -08:00 |
jMyles
|
370757f8ee
|
Testing set_kfrag - both tests fail for the moment.
|
2017-11-18 13:33:31 -08:00 |
jMyles
|
c61ea7f76e
|
Implementing keystore in view.
|
2017-11-18 13:33:31 -08:00 |
jMyles
|
ec07b241c8
|
Ursula now makes a KeyStore using in-memory sqlite if none is provided.
|
2017-11-18 13:33:31 -08:00 |
jMyles
|
0fa2750e6f
|
Ursula now takes a KeyStore.
|
2017-11-18 13:29:55 -08:00 |
jMyles
|
9a836e467e
|
Beginnings of a test for Ursula to receive a kFrag.
|
2017-11-18 13:29:55 -08:00 |
jMyles
|
531e3c15c2
|
Ursula endpoint for receiving a new kfrag.
|
2017-11-18 13:29:55 -08:00 |