Commit Graph

576 Commits (4ff94f385bf6fac88ba4e7eb53dc3d7bb8cc1005)

Author SHA1 Message Date
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
jMyles 3409846983 Blanking this file; now that we do prop-stop we don't need this. 2017-11-18 13:29:55 -08:00
jMyles 2b8f0c9ddc Basic structure of kFrag routes. 2017-11-18 13:29:55 -08:00
jMyles 6f23832462 REST Directory. 2017-11-18 13:29:55 -08:00
jMyles c4f0bb47ca Adding apistar to reqs. 2017-11-18 13:29:55 -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 5a36280788 Ridculous try block no longer needed. 2017-11-18 13:16:41 -08:00
jMyles bcb8849533 Use PublicKey for splitter. 2017-11-18 13:16:26 -08:00
jMyles 291775e6b7 Signature.verify() uses PublicKey.without_metabytes() 2017-11-18 13:14:29 -08:00
jMyles fc08f6f4dd No more need for PUBKEY_SIG_LENGTH - this is on PublicKey now. 2017-11-18 13:13:59 -08:00
jMyles c4421d9e9d Added metabytes to public key generation; fixed some PEP8 issues in API. 2017-11-18 13:13:14 -08:00
jMyles 098da6dc21 PublicKey class. 2017-11-18 13:11:27 -08:00
jMyles e8cfed52e6 Raises ValueError if keypair_byte doesn't match. Fixes #123. 2017-11-18 11:18:12 -08:00
Tux 7d97a6c503
Merge pull request #117 from tuxxy/frag-keystore
Add KeyFrag to KeyStore
2017-11-15 10:18:19 -07:00
tuxxy 8906d89450
Use BytestringSplitter for kFrag in KeyStore 2017-11-14 16:26:06 -07:00
tuxxy c18a2a6cbd
Add RekeyFrag id length and key length to constants 2017-11-14 15:45:43 -07:00
tuxxy 9fb0aad603
Add test for test_keyfrag_sqlite 2017-11-11 18:35:39 -08:00
tuxxy 891cf32a2a
Merge branch 'master' of github.com:nucypher/nucypher-kms into frag-keystore 2017-11-11 18:22:07 -08:00