Commit Graph

1060 Commits (df9e32e44c46aaf40226ceb24419c451d3264ceb)

Author SHA1 Message Date
tuxxy 7daab1f096 Add test_keypairs 2018-02-13 14:00:15 -07:00
tuxxy 3d66e71441 Add tests for signing 2018-02-13 13:34:31 -07:00
tuxxy 00b812993c Add pytest fixture for sqlalchemy 2018-02-13 13:30:58 -07:00
jMyles 84951c0a81 Grabbing contract from keystore in test. 2018-02-13 13:29:41 -07: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 ca945e5ba0 New fixture to simulate ciphertext and capsule being givesn to Bob by Alice. 2018-02-13 13:29:41 -07:00
jMyles 732b75bfd6 WorkOrders now take Capsules. 2018-02-13 13:28:51 -07:00
jMyles 481e56653c capsules instead of pfrags! So nice. 2018-02-13 13:28:51 -07:00
tuxxy d0bfd4ae0d WIP on rm-crypto: 2b73b14 Merge pull request #11 from jMyles/rm-crypto 2018-02-13 13:28:39 -07:00
tuxxy 61830003e6 index on rm-crypto: 2b73b14 Merge pull request #11 from jMyles/rm-crypto 2018-02-13 13:28:39 -07:00
Tux 60d645191c
Merge pull request #12 from jMyles/rm-crypto
Rm crypto
2018-02-13 12:28:15 -08:00
jMyles a4765aacfc Grabbing contract from keystore in test. 2018-02-13 12:26:08 -08:00
jMyles 7c37e3c58f Bob now receives a Capsule via the side channel and handles it instead of a pfrag. 2018-02-13 12:25:53 -08:00
jMyles 7de5a7ec26 New fixture to simulate ciphertext and capsule being givesn to Bob by Alice. 2018-02-13 12:25:46 -08:00
jMyles 35d77afb0e WorkOrders now take Capsules. 2018-02-13 12:21:42 -08:00
jMyles 2e46067f61 capsules instead of pfrags! So nice. 2018-02-13 12:21:25 -08:00
Tux 2b73b14948
Merge pull request #11 from jMyles/rm-crypto
Rm crypto
2018-02-13 11:24:39 -08:00
jMyles 5b9f4a2a7a More MessageKit flow for tmap. Also, unwrapped an extraneous if. 2018-02-13 11:13:07 -08:00
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