tuxxy
|
4154fe1253
|
Add test for pubkey encryption (encryption for bob)
|
2018-02-08 15:46:42 -07:00 |
tuxxy
|
f0af54f416
|
Move PRE module functions to the top of the file
|
2018-02-08 15:46:42 -07:00 |
tuxxy
|
2b45e73342
|
Move hash_to_bn and unsafe_hash_to_point to bignum and point modules respectively
|
2018-02-08 15:46:42 -07:00 |
tuxxy
|
8efafb79f8
|
Create util function to accurately get curve keysize
|
2018-02-08 15:46:42 -07:00 |
tuxxy
|
db4842370e
|
Use BytesIO to deserialize fragments based on curve keysize
|
2018-02-08 15:46:41 -07:00 |
tuxxy
|
a43f6ab153
|
Use SHA512, CURVE_KEY_SIZE_BYTES, and CURVE_MINVAL_SHA512 in crypto material hashing functions
|
2018-02-08 15:46:41 -07:00 |
tuxxy
|
6932a88ca1
|
Add CURVE_KEY_SIZE_BYTES to params
|
2018-02-08 15:46:41 -07:00 |
tuxxy
|
bd2af003a1
|
Add CURVE_MINVAL_SHA512 to params
|
2018-02-08 15:46:41 -07:00 |
Tux
|
226eebc6bd
|
Merge pull request #52 from jMyles/master
Tests for config
|
2018-02-08 12:33:39 -07:00 |
jMyles
|
1de5d811ca
|
Add .idea to .gitignore (for pycharm users).
|
2018-02-08 11:30:36 -08:00 |
jMyles
|
b15f3b9b0e
|
Raise class-scoped error instead of RuntimeError.
|
2018-02-08 11:30:24 -08:00 |
jMyles
|
13790d5388
|
Test that shows errors being raised if dumb things are attempted with config.
|
2018-02-08 11:29:56 -08:00 |
Justin Holmes
|
6eb7c5ac61
|
Merge pull request #51 from tuxxy/to-module
Modularize PRE class
|
2018-02-08 12:27:09 -05:00 |
tuxxy
|
74b131d2ad
|
Remove PRE class and make it a module and fix tests
|
2018-02-08 02:30:56 -07:00 |
tuxxy
|
ec41283ce5
|
Add default_params to PRE.verify
|
2018-02-08 02:08:00 -07:00 |
tuxxy
|
2818b8b1f4
|
Add default_params to fragments methods
|
2018-02-08 02:05:34 -07:00 |
tuxxy
|
da4f22b57c
|
Use default_curve in all BigNum classmethods
|
2018-02-08 02:00:08 -07:00 |
tuxxy
|
eda7d9992f
|
Use default curve in all Point classmethods
|
2018-02-08 01:58:16 -07:00 |
tuxxy
|
ef766d8bba
|
Begin moving things over to module with default_params/default_curve
|
2018-02-07 22:26:38 -07:00 |
Tux
|
af62006e9b
|
Merge pull request #50 from jMyles/master
Example params attribute deprecation.
|
2018-02-07 22:05:07 -07:00 |
jMyles
|
e1fedf15e1
|
Example params attribute deprecation.
|
2018-02-07 21:03:12 -08:00 |
Tux
|
95c9e19e6a
|
Merge pull request #49 from jMyles/master
Introducing default_params. Also, default_params and default_curve used in tests.
|
2018-02-07 21:46:02 -07:00 |
jMyles
|
7110017475
|
default_curve and default_params now in place instead of re-init'ing UmbralParameters() everywhere.
|
2018-02-07 20:41:05 -08:00 |
jMyles
|
9adda4500d
|
Various from_bytes now tested with default params.
|
2018-02-07 20:39:28 -08:00 |
jMyles
|
d25aeb86c8
|
Tests no longer pass curve into gen_rand().
|
2018-02-07 20:38:39 -08:00 |
jMyles
|
59170d4082
|
PRE (which is soon to be a module anyway) uses default params for testing.
|
2018-02-07 20:09:47 -08:00 |
jMyles
|
272185d478
|
Inject curve in test_gen_key.
|
2018-02-07 20:07:55 -08:00 |
jMyles
|
668dcf0a60
|
Set default curve for test suite.
|
2018-02-07 20:07:09 -08:00 |
Tux
|
ae9f4cea0b
|
Merge pull request #48 from jMyles/master
Frags to their own module; facility for default curve.
|
2018-02-07 20:13:19 -07:00 |
jMyles
|
3b81c94926
|
Moved frags to their own module.
|
2018-02-07 16:20:11 -08:00 |
jMyles
|
e036a6edf9
|
Facility for setting default curve.
|
2018-02-07 16:20:11 -08:00 |
tuxxy
|
e0a5853ae4
|
Fix typo _recontruct -> _reconstruct
|
2018-02-07 03:13:57 -07:00 |
tuxxy
|
86cdb5ccca
|
Add __bytes__ to UmbralPublicKey
|
2018-02-07 03:13:25 -07:00 |
jMyles
|
5ed861639c
|
The private key passed to decrypt() might be Bob's *or* Alice's.
|
2018-02-06 02:20:48 -08:00 |
Justin Holmes
|
eeeb7806dc
|
Merge pull request #47 from jMyles/master
Changing "_reconstruct" to "_reconstruct_shamirs_secret" and all instances of "reconstructed" to "activated".
|
2018-02-03 18:57:50 -05:00 |
jMyles
|
cba6f007f2
|
The method to make an activated Capsule is now Capsule._reconstruct_shamirs_secret().
|
2018-02-02 16:56:13 -08:00 |
jMyles
|
aabec3f4ce
|
We don't actually "reconstruct" a Capsule. We activate it.
|
2018-02-01 16:16:12 -08:00 |
Tux
|
18af522fd0
|
Merge pull request #46 from jMyles/master
Using character names for encapsulate and related Capsule logic.
|
2018-02-01 11:29:50 -07:00 |
jMyles
|
e3b853cb4d
|
Using character names for encapsulate and related Capsule logic.
|
2018-02-01 10:21:39 -08:00 |
Tux
|
61368df462
|
Merge pull request #45 from jMyles/master
Removing "PRE" dependency injection into PRE instance.
|
2018-02-01 10:37:13 -07:00 |
jMyles
|
b9c24203cf
|
Removing "PRE" dependency injection into PRE instance.
|
2018-02-01 09:06:11 -08:00 |
Tux
|
781f9930aa
|
Merge pull request #43 from tuxxy/params-fix
Have Umbral keys not require UmbralParameters to be passed
|
2018-02-01 03:47:58 -07:00 |
tuxxy
|
a98d18d084
|
Set UmbralParameters as an attribute on Umbral keys w/ test updates
|
2018-02-01 03:21:07 -07:00 |
tuxxy
|
512bf91297
|
Remove manual specification of umbral params in PRE._open_capsule
|
2018-02-01 01:52:11 -07:00 |
tuxxy
|
73666b2154
|
Have tests not pass in params by default except for one
|
2018-02-01 01:47:59 -07:00 |
tuxxy
|
0d5a68611f
|
Use default UmbralParameters if none were specified for umbral keys
|
2018-02-01 01:47:41 -07:00 |
tuxxy
|
bc0f169a43
|
Move UmbralParameters class to params.py
|
2018-02-01 01:47:06 -07:00 |
Tux
|
78f259db97
|
Merge pull request #41 from cygnusv/master
Deterministic generation of parameters h and u
|
2018-01-31 11:35:08 -07:00 |
David Nuñez
|
8761d7828a
|
Using a common domain_seed
|
2018-01-31 16:46:35 +01:00 |
David Nuñez
|
c79b537e01
|
Changed "constant" to "label" in unsafe_hash_to_point
|
2018-01-31 16:46:35 +01:00 |