Commit Graph

580 Commits (8ecb79182305c01c974bc89e5bb8aec382960cba)

Author SHA1 Message Date
jMyles 8ecb791823 Moved mutable out of params list. 2018-02-10 19:09:29 -08:00
jMyles 817277623f Two hash digest lengths are better than one! 2018-02-10 19:09:29 -08:00
jMyles adf2eee2e8 API no longer returns Signature. 2018-02-10 19:09:29 -08:00
jMyles 1eef746f7c Alice implements new kfrag generation method. 2018-02-10 19:09:29 -08:00
jMyles 44d9820f7b Alice now generates KFrags with umbral. Woo! 2018-02-10 19:09:28 -08:00
tuxxy 893ae8d24c Implement Keystore with new models 2018-02-10 17:01:11 -07:00
tuxxy b894ca6d18 Implement get_fingerprint on Keypair 2018-02-10 15:43:00 -07:00
tuxxy 03ffe8c9cd Merge branch 'rm-crypto' of github.com:tuxxy/nucypher-kms into rm-crypto 2018-02-10 15:24:55 -07:00
tuxxy 439a80444b Add keystore models 2018-02-10 15:24:42 -07:00
jMyles 65940dd0fe Preparing to use UmbralPublicKey. 2018-02-09 20:44:16 -08:00
jMyles acc31b7757 Using UmbralPrivate key for splitting in protocols. 2018-02-09 20:38:10 -08:00
jMyles 9627dbca0e Using MessageKit for decrypting. 2018-02-09 20:37:55 -08:00
jMyles 3a1fcc349d Adding public key (assuming secp256k1) to constants 2018-02-09 20:36:15 -08:00
tuxxy 5b73db801e PEP8 changes to characters 2018-02-09 21:15:50 -07:00
tuxxy 7f7c1207ef Set HASH_DIGEST_LENGTH to 64 2018-02-09 19:52:43 -07:00
tuxxy a761466d38 Implement Umbral in Keypairs 2018-02-09 19:44:20 -07:00
tuxxy 39b70336d3 Add what I got so far -- Keypair 2018-02-09 14:25:52 -07:00
jMyles 5741702891 Fixed NameError for Signature.__bytes__. 2018-02-09 13:03:52 -08:00
jMyles 48bfbacd5d KeypairBasedPower.__init__ - @tuxxy is perhaps going to move this down to KeyPair. 2018-02-09 13:03:10 -08:00
tuxxy b694877f70 Implement ecdsa_sign in API and call it in signature 2018-02-09 13:29:04 -07:00
tuxxy ba2200487f Add what I got - KeypairBasedPower 2018-02-09 12:27:12 -07:00
tuxxy 1cafba8e34 Use 'ECDSA Signature' on __repr___ 2018-02-09 11:04:44 -07:00
tuxxy 61eb1a11f4 Merge branch 'rm-crypto' of github.com:tuxxy/nucypher-kms into rm-crypto 2018-02-09 03:44:30 -07:00
tuxxy 9eb303506d Use PyUmbral keys in Signature 2018-02-09 03:44:15 -07:00
jMyles fd8ba6670d SigningKeypair implements new ECDSA sign function. 2018-02-09 02:34:26 -08:00
jMyles c11e9c77f8 New ECDSA sign function. 2018-02-09 02:34:25 -08:00
tuxxy 75412b9a3d Remove deprecated files 2018-02-08 14:52:17 -07:00
jMyles 50aca7d66f Reflecting new location for fragments. 2018-02-07 16:22:28 -08:00
tuxxy f1a6689b7a Use umbral.KFrag and KFRAG_LENGTH for set_policy 2018-02-07 03:31:27 -07:00
jMyles 6d2c9e3d7b Reflecting deprecated crypto modules. 2018-02-07 02:16:45 -08:00
jMyles 0d964ca080 Removing various imports of the ole' fragments module. 2018-02-07 02:16:44 -08:00
tuxxy a55149fa06 Add cryptographic bytestring length constants from PyUmbral 2018-02-07 01:19:51 -07:00
tuxxy e84b772af5 Remove PRE declaration 2018-02-07 00:14:30 -07:00
tuxxy da70c11b06 Delete old code that will be replaced with pyUmbral 2018-02-06 22:07:08 -07:00
jMyles c6d050aca7 Making explicit which address and port are for Ursula's DHT interface. 2018-02-06 17:16:21 -08:00
jMyles cc80a065e0 Character.from_public_keys now takes a list of tuples. 2018-02-06 17:15:53 -08:00
jMyles 12f7990a09 Alice script properly sends a Contract and then, subsequently, sends a KFrag. 2018-02-06 03:08:23 -08:00
jMyles 1ff8d51515 Better doctstring for Policy. And something something agreement. 2018-02-05 23:40:21 -08:00
jMyles bdf738aef9 Serialization for Contract. 2018-02-05 23:30:07 -08:00
jMyles e263558218 Allow BytestringSplitter to use from_bytes if that method is provided. 2018-02-05 23:30:07 -08:00
jMyles 63d7990aa6 Contract Consideration is now a REST activity. 2018-02-05 23:30:07 -08:00
jMyles de3d9e6c01 Create an Ursula from a REST URL. Why not? 2018-02-05 23:30:01 -08:00
jMyles 672f796965 Some style tweaks for Character. 2018-02-05 23:08:55 -08:00
jMyles 543465b99d Implementing from_public_keys in various places. 2018-02-05 11:26:50 -08:00
jMyles 3db71115f6 Characters can now be created from either a signing or encryption key. Fixes #156. 2018-02-05 11:25:17 -08:00
jMyles b482c7a1be Only tell PowerUps to generate keys if the Character is_me. 2018-02-05 11:05:28 -08:00
jMyles 81c534041f Tracking both REST and DHT info on Ursula. 2018-02-04 23:39:40 -08:00
jMyles 83aae67c7b Making Contract details explicit. 2017-12-15 21:50:36 -08:00
jMyles 6819456f43 Tearing out remainder of ChallengePack 2017-12-15 21:50:09 -08:00
jMyles 472d2f0a94 Way better docstring for Policy. 2017-12-15 21:49:45 -08:00