Commit Graph

892 Commits (5415184d0bedb735adc32258e9e8715d71956cb0)

Author SHA1 Message Date
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 7d53c82f74 Starting MessageKit for TreasureMap flow. 2018-02-13 11:09:59 -08:00
jMyles e08f75ab71 Some fields are now nullable; passing None by default. 2018-02-13 11:09:32 -08:00
jMyles 41c4a920de Making full relationship flow for key FK. 2018-02-13 11:09:08 -08:00
jMyles c97635dd86 public key is no longer optional on Signature.verify. 2018-02-13 11:08:49 -08:00
jMyles bc01f5d07a Fixing sig up to work with cryptography ECDSA. 2018-02-13 11:08:28 -08:00
jMyles 261d501bd8 Grabbing contract from keystore instead of dict. 2018-02-13 11:08:18 -08:00
jMyles 0def1591fc Starting deprecation of _contracts - commented out some logic for now. 2018-02-13 11:07:56 -08:00
jMyles e45712a75b "Non-decrypt" flow for Character signature validation. 2018-02-13 11:07:39 -08:00
jMyles 8e77ee97d0 hrac as hex (DB entry will now match URL). 2018-02-13 07:42:40 -08:00
Tux 9c7d469270
Merge pull request #10 from jMyles/rm-crypto
Rm crypto
2018-02-12 13:39:17 -08:00
jMyles d82474a969 Showing that KFrag retrieved with Policy is among those granted. 2018-02-12 13:33:34 -08:00
jMyles 8dda6b0553 Fixing up arguments for keystore. 2018-02-12 13:33:22 -08:00
jMyles f5c19cdfba k_frag, not key_frag! 2018-02-12 13:33:12 -08:00
jMyles 6a326239f6 Policies come back from the datastore! 2018-02-12 13:12:41 -08:00
jMyles 25477c1204 Sending Policy in a MessageKit. 2018-02-12 13:12:31 -08:00
jMyles b5bf5557a2 Reinstituing Keystore logic. 2018-02-12 13:09:18 -08:00
jMyles 2184933c97 Commenting out encrypting keys from the Keystore for the moment. 2018-02-12 13:08:58 -08:00
jMyles 63b2a94c9b equality for signatures. 2018-02-12 13:08:09 -08:00
jMyles 83344553d9 Clarifying that we need (and use) the enc - not sig - public key for encrypting. 2018-02-12 13:00:14 -08:00
jMyles 0e57e44c03 We might initially construct a MessageKit without some of the components. 2018-02-12 12:59:52 -08:00
jMyles e17e10b452 Reintroducing UNKNOWN_KFRAG. 2018-02-12 12:59:39 -08:00
jMyles e55dda7ace Seal needs a fingerprint too. 2018-02-12 12:59:31 -08:00
jMyles cf7b0053fd We don't represent a public key as a tuple anymore. 2018-02-12 12:59:18 -08:00
jMyles ee93749c20 New Policy logic to work with MessageKit and Keystore. Needs more cleanup. 2018-02-12 12:58:38 -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
Tux 6aeef2f6ec
Merge pull request #9 from jMyles/rm-crypto
Kits, splitters, new encrypt and decrypt, more
2018-02-11 02:15:25 -07:00
jMyles 834311b23e Splitters in tests. 2018-02-11 01:06:39 -08:00
jMyles 5804ffdc95 New splitters for Policy. 2018-02-11 01:06:21 -08:00
jMyles f600f7f183 Formatting and style. 2018-02-11 01:05:58 -08:00
jMyles 570f169038 Splitter with kwargs. 2018-02-11 01:05:36 -08:00
jMyles 94fb768914 I had stashed some of Tux's work when I merged; adding that back in. 2018-02-11 01:04:50 -08:00
jMyles ccf3cb1f2d ByteStringSplitter can now take kwargs and can be added to other splitters. 2018-02-11 01:03:36 -08:00
jMyles 505c3a7115 Formatting and organization for ByteStringSplitter. 2018-02-11 01:02:45 -08:00
jMyles 9cd7bc083c Signature concat needs to be cummatative. 2018-02-11 01:00:39 -08:00
jMyles fba93f9b07 ...and that's the story of how pyumbral and MessageKits destroyed two perfectly awful functions. 2018-02-11 00:59:14 -08:00
jMyles d2a5218cc2 More touchups to powers. 2018-02-11 00:58:06 -08:00
jMyles b63e749819 Characters can encrypt for others without needing an encrypting power. 2018-02-11 00:56:33 -08:00
jMyles 69137b07d5 Some organization. 2018-02-11 00:55:22 -08:00
jMyles b92b5158e1 Serialize MessageKit. 2018-02-11 00:54:36 -08:00
jMyles 50043f68a9 Using splitters in kits! 2018-02-11 00:54:24 -08:00
jMyles 6e5a6cfbaa Putting some prefab splitters in splitters.py. 2018-02-11 00:54:15 -08:00
jMyles 0c32deab98 Splitting a MessageKit to get Policy. 2018-02-11 00:52:25 -08:00
jMyles f807113d7d verify_from now takes a MessageKit. 2018-02-11 00:52:10 -08:00
jMyles 5358916ea5 encrypt_for now takes plaintext, returns a MessageKit. 2018-02-11 00:51:21 -08:00
jMyles a3a05d9de0 powers_and_keys can now take UmbralPublicKeys. 2018-02-11 00:50:22 -08:00
tuxxy 1c5c1ab7ad Remove npre from policy.models 2018-02-10 22:11:37 -07:00
tuxxy ebf53470dc Remove npre from Pipfile 2018-02-10 22:10:38 -07:00
tuxxy 542e6b6a5c Fix syntax 2018-02-10 22:08:27 -07:00