Commit Graph

796 Commits (0fc1e7cebb174494f6be2206f2f21c9f2f62ccc6)

Author SHA1 Message Date
jMyles 0fc1e7cebb Not uding nkms.db anymore. 2018-02-09 13:05:00 -08: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
Tux a3e1d178a0
Merge pull request #5 from jMyles/rm-crypto
Rm crypto
2018-02-09 03:39:58 -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
tuxxy 5075fa61ef Update pyUmbral with latest changes 2018-02-08 13:32:40 -07:00
Tux 449cd32183
Merge pull request #4 from jMyles/rm-crypto
More RM crypto!  Implements new KFrag class; sets default curve for tests.
2018-02-07 17:33:02 -07:00
jMyles 12dc83f5b6 Creating KFrag for test in canonical way. 2018-02-07 16:30:03 -08:00
jMyles 650b38d2c1 Setting default curve for tests. 2018-02-07 16:29:53 -08:00
jMyles 50aca7d66f Reflecting new location for fragments. 2018-02-07 16:22:28 -08:00
jMyles f420a02ad7 Removing tests that test things that no longer exist. 2018-02-07 10:52:38 -08:00
tuxxy f1a6689b7a Use umbral.KFrag and KFRAG_LENGTH for set_policy 2018-02-07 03:31:27 -07:00
Tux c33e43ece6
Merge pull request #3 from jMyles/rm-crypto
A few more changes to deprecated crypto.api.
2018-02-07 03:19:39 -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 f097fc4072 Add PyUmbral to nucypher-kms with kms-depend branch 2018-02-07 00:37:33 -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
Tux a8c9f61f75
Merge pull request #155 from jMyles/network
Working WSGI app entry point for Ursula; examples of REST usage
2018-02-06 18:34:25 -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 05f99b10fe Disclaimer for Alice example script (@tuxxy's idea, and *not* really stupid). 2018-02-06 17:08:13 -08:00
jMyles cc2bbbb422 Touchups on Alice one-off example. 2018-02-06 17:04:39 -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 8520dda1d6 Better message on the "mining" entry point. 2018-02-06 03:07:59 -08:00
jMyles 1ff8d51515 Better doctstring for Policy. And something something agreement. 2018-02-05 23:40:21 -08:00
jMyles 2a27661765 Test showing that Alice can get an Ursula's public keys via REST and create an Ursula object from them. 2018-02-05 23:30:07 -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 7237299bf8 Shaving down the sample Alice a bit. 2018-02-05 23:07:47 -08:00
jMyles e3e3feaf8d Adding Maya as dependency. 2018-02-05 22:55:30 -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 4728acaae9 Example script to set Policy for Alice via requests and REST. 2018-02-04 23:39:00 -08:00
jMyles bdcce0daee First skeleton of mining node entry point for Ursula. 2018-02-04 23:38:42 -08:00
Justin Holmes 1b89a984df
Merge pull request #145 from jMyles/policy
Removing PolicyGroup, simplifying Policy.  Introducing Contract.  Removing ChallengePack.
2017-12-19 19:08:54 -08:00
jMyles a393d42e8e Removing the rest of PolicyManager; changed PolicyOfferResponse to ContractResponse. 2017-12-15 21:50:51 -08:00