jMyles
|
307bae3e3a
|
Giving Bob a better facility for tracking his CFrags.
|
2018-02-18 13:04:33 -08:00 |
jMyles
|
2b87cf3b8e
|
It's on. Here we go.
|
2018-02-17 23:36:33 -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
|
f594d3dd2b
|
Replacing header-length int with constant in Character.
|
2018-02-15 12:30:43 -08:00 |
jMyles
|
023d9705f0
|
Shortening headers to two bytes, and deprecating lstrip as a way to eat headers. See #111. Fixes #164.
|
2018-02-14 23:45:23 -08:00 |
jMyles
|
3b9ae94b5b
|
Fixed those last two pesky tests - now that we're splitting with MessageKit, we don't need to split again.
|
2018-02-14 00:19:26 -08:00 |
jMyles
|
9325222885
|
OK, I'm buckling and finally providing Character.decrypt() - just a wrapper around their encrypting power, but now a public way to decrypt without specifying an actor or checking a signature.
|
2018-02-14 00:11:34 -08:00 |
jMyles
|
64f9f8c550
|
Clearing up verify_from logic and adding some TODOs which are worth taking some time to consider.
|
2018-02-14 00:11:15 -08:00 |
jMyles
|
e1862657a8
|
Slightly tightened encrypt_for logic.
|
2018-02-14 00:07:55 -08:00 |
jMyles
|
30d273c43b
|
verify_from can take bytes too. It can probably take other types and work, but we'll just hint MessageKit and bytes. We cast to bytes anyway.
|
2018-02-14 00:04:05 -08:00 |
Kieran R Prasch
|
895d17a31d
|
Adds Pep and style changes.
|
2018-02-13 17:49:26 -08:00 |
jMyles
|
734a334a77
|
Walking back the seal change for now.
|
2018-02-13 17:35:12 -08:00 |
jMyles
|
6ac0bee751
|
Extraneous comment.
|
2018-02-13 17:34:07 -08:00 |
jMyles
|
e3f347979e
|
No more metabytyes!
|
2018-02-13 15:29:35 -08:00 |
jMyles
|
4b1cef51bf
|
Now we pass the whole capsule!
|
2018-02-13 15:10:25 -08:00 |
jMyles
|
481e56653c
|
capsules instead of pfrags! So nice.
|
2018-02-13 13:28:51 -07: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 |
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 |
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 |
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
|
5b73db801e
|
PEP8 changes to characters
|
2018-02-09 21:15:50 -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
|
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
|
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
|
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
|
319b1f17a5
|
Instead of saving the contract in memory, saving a dict with details in preparation for a legit data store. See #127.
|
2017-12-15 21:48:18 -08:00 |
jMyles
|
8e0f9fb203
|
Ursula reconstructing contract from mock saved data.
|
2017-12-15 21:47:52 -08:00 |
jMyles
|
0bb62224ef
|
With PolicyGroup gone, there's no need for these nagging managers.
|
2017-12-15 21:47:02 -08:00 |
jMyles
|
a224487ecf
|
Exception to raise when suspicious activity is detected and there's no other obvious recourse.
|
2017-12-15 21:46:14 -08:00 |
jMyles
|
45ffae7ea4
|
This was an hrac all along - it was never meant to be called "pfrag" except as a quick experiment.
|
2017-12-14 21:18:50 -08:00 |
jMyles
|
87d25e4ce3
|
Pushing logic to match KFrags with Contracts down into Policy.
|
2017-12-14 21:18:25 -08:00 |
jMyles
|
4927dec9e5
|
Ursula saves contract (although we'll want to do this in a datastore - see #127)
|
2017-12-14 20:32:22 -08:00 |
jMyles
|
567a9734fe
|
Ursula saves KFrag from new Contract class.
|
2017-12-14 20:32:09 -08:00 |