Commit Graph

300 Commits (5c56d4311ee5158407053cceda9663e4a4fe4884)

Author SHA1 Message Date
jMyles 97d5c2d1d5 We don't need to associate a SignatureStamp with a Character anymore. Ergo, we didn't really need CharacterStamp. 2018-04-12 20:03:28 -07:00
jMyles fb826ef349 UmbralMessageKit can now be aware of a policy_pubkey. 2018-04-12 19:19:28 -07:00
jMyles 4133d7df69 CharacterStamp is now distinct from SignatureStamp, which can be used by a DataSource. 2018-04-12 19:19:28 -07:00
jMyles 0a32f7f534 Moving Enrique and SignatureStamp out of characters. Enrique is now DataSource; SignatureStamp now lives in signature. 2018-04-12 19:19:28 -07:00
jMyles 3ef4aa1ac7 Moving encryption logic down to shared API function. 2018-04-12 19:19:28 -07:00
jMyles 67376fe607 Using Alice's DelegatingPower to make a Policy. 2018-04-12 19:19:28 -07:00
jMyles 9db6a23e4f Simplest Enrique skeleton. 2018-04-12 19:19:28 -07:00
jMyles 9cc25929c8 No more as_b64 for UmbralPublicKeys. 2018-04-12 19:18:42 -07:00
jMyles 9203653b12 Better constants for various lengths. 2018-04-05 10:18:30 -07:00
jMyles 16c6062b4d Putting cryptoKits back into the main repo for now. 2018-04-03 23:34:49 -07:00
jMyles d3884518f2 Cleaning up and sanding kit and verify_from() logic. 2018-04-01 22:44:00 -07:00
jMyles f789aaf7f7 New verify_from() logic. Fixes #174. 2018-04-01 20:17:47 -07:00
jMyles fc99ef2e27 BytestringSplitter is now its own project. 2018-04-01 18:52:30 -07:00
jMyles eb4605d573 Using constantSorrow for constants. 2018-04-01 18:52:08 -07:00
jMyles 8d2bd2d77d cryptoKits is now its own project. 2018-04-01 18:50:53 -07:00
jMyles b4e34c0981 Using new "to cryptography" APIs. 2018-03-18 00:42:28 -07:00
jMyles 42870a25f0 Fixed a few comments and updated kfrag generation for new pyumbral interface. 2018-03-07 06:34:31 -08:00
jMyles 53a0a33f6a SigningPower / keypair pipeline for generating certs. 2018-03-06 17:51:59 -08:00
jMyles b89877f81f generate_self_signed_certificate in API (Character-independent). 2018-03-06 17:51:15 -08:00
jMyles edad1d7148 dict interface for from_public_keys. 2018-02-28 17:33:53 -08:00
jMyles 5ce725f368 PowerUps no longer need to provide functions themselves; they can indicate that they provide functions from their keypair. 2018-02-24 01:44:36 -08:00
jMyles 6f870950d1 Don't need sign here anymore. 2018-02-24 01:27:08 -08:00
jMyles fe993e13b5 Matching error classes to PowerUps. 2018-02-24 01:14:13 -08:00
jMyles 7d7b0023a2 Public way to lookup power_ups for CryptoPower. 2018-02-24 01:13:58 -08:00
jMyles 49005ae250 generate_kfrags all the way down. 2018-02-24 00:50:09 -08:00
jMyles 872cef81a2 Smoothing out Powers; redlines through plenty of obselete functionality surrounding path keys in EncryptingPower. 2018-02-23 23:36:40 -08:00
jMyles 760e0a8129 Reflectin refractor of umbral.umbral to umbral.pre. 2018-02-23 22:02:32 -08:00
jMyles 08f7d0a7c0 Tightened __repr__ with help from @kprasch. 2018-02-19 15:19:04 -08:00
jMyles 3c63ece916 Don't need this method anymore now that we have MessageKit. 2018-02-19 15:18:47 -08:00
jMyles 97c19b5693 TODO responding to @tuxxy's comment: https://github.com/nucypher/nucypher-kms/pull/160#discussion_r168861353 and https://github.com/nucypher/nucypher-kms/pull/160#discussion_r168861465 2018-02-17 17:26:24 -08:00
jMyles b4a66356df Fixes and TODOs in response to a number of comments from @tuxxy, @kprasch, and @cygnusv. 2018-02-15 15:55:40 -08:00
jMyles 424a75b4ef Get outta here with that. 2018-02-14 00:18:11 -08:00
jMyles 57971c447e Some tighter names. 2018-02-14 00:17:37 -08:00
jMyles 7b84024bd8 pubkey_sig_tuple is gone. 2018-02-14 00:17:12 -08:00
jMyles 112746363b MessageKit now casts strictly to ciphertext. Moved previous serialization to to_bytes, which we'll start to implement as a component-style interface. 2018-02-14 00:16:26 -08:00
Kieran R Prasch 37a7fc5f84 Adds utility to get fingerprint from key. 2018-02-13 17:49:55 -08:00
Kieran R Prasch 895d17a31d Adds Pep and style changes. 2018-02-13 17:49:26 -08:00
jMyles 258407450f Get the length from the message_class, not necessarily this object. 2018-02-13 15:43:06 -08:00
jMyles 032d5e6f3f Way more elegant __init__ for BytestringSplitter; with better error messages for misuse. 2018-02-13 15:42:07 -08:00
tuxxy d0bfd4ae0d WIP on rm-crypto: 2b73b14 Merge pull request #11 from jMyles/rm-crypto 2018-02-13 13:28:39 -07: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 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 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