jMyles
|
a7d203aa44
|
Tests that were using old fixture now work with new one.
|
2018-05-25 15:43:19 -07:00 |
jMyles
|
8394cf6e44
|
Message for validating KFrag is now bytes of constituents instead of a BigNum. Fixes #148.
|
2018-05-25 14:41:13 -07:00 |
jMyles
|
e4792b40ba
|
Using ECDSA for kfrag signature and verification.
|
2018-05-24 18:32:54 -07:00 |
jMyles
|
0632a53d0e
|
Signing and verifying using ECDSA instead of Schnorr signature.
|
2018-05-24 18:07:13 -07:00 |
tuxxy
|
53858cd600
|
Use BytestringSplitter in Capusle deserialization
|
2018-05-23 04:49:29 -06:00 |
tuxxy
|
12bcfe610e
|
Have Capsule.get_size return an non-activated capsule size by default
|
2018-05-23 04:49:04 -06:00 |
tuxxy
|
4efbe3ddc7
|
Add get_size method on Capsule
|
2018-05-23 04:15:56 -06:00 |
David Núñez
|
d768cf4a38
|
Change signatures input from lists to tuples
|
2018-05-09 01:57:52 +02:00 |
David Núñez
|
0dbb86e6f1
|
Enter KFrag._point_xcoord: an ephemeral pk used during reconstruction instead of Alice's pk
|
2018-05-09 00:19:23 +02:00 |
David Núñez
|
0dd3d4b991
|
Change KFrag.bn_id to a random byte sequence (Solves #123)
|
2018-05-09 00:18:45 +02:00 |
jMyles
|
df4bfa3f1b
|
Proof and verification logic are now wraped to keep all "whitepaper" representations in pre and _pre.
|
2018-05-06 14:36:19 -07:00 |
jMyles
|
9cd3c9c2a3
|
point_bob, point_alice -=> pubkey_b_point, pubkey_a_point
|
2018-05-05 22:28:04 -07:00 |
jMyles
|
48aab73ef1
|
Making `signature_input` a little more straightforward.
|
2018-05-05 19:03:53 -07:00 |
jMyles
|
6d41a45a62
|
Removing pre._verify_correctness.
|
2018-05-05 19:03:21 -07:00 |
jMyles
|
ee2f9fd0e1
|
Reworking `_prove_correctness` to match the flow of `_verify_correctness`
|
2018-05-05 19:03:21 -07:00 |
jMyles
|
af9d8b251d
|
Updating caller logic to use new `CapsuleFrag._verify_correctness`
|
2018-05-05 19:03:21 -07:00 |
David Nuñez
|
aeb8ad3298
|
Fix calls to CurveBN.hash()
|
2018-05-02 01:25:42 +02:00 |
David Nuñez
|
ce3caf9dfb
|
Remove unused import hmac
|
2018-04-30 00:19:35 +02:00 |
tuxxy
|
6c2dd86522
|
Remove __hash__ on CurveBN and make Capsule._attached_cfrags a list
Remove unused Capsule._contents
|
2018-04-24 16:39:20 -06:00 |
tuxxy
|
150714fb00
|
Add get_size classmethods for CurveBN, Point, fragments, and
CorrectnessProof.
Fix syntax error
|
2018-04-24 16:28:01 -06:00 |
tuxxy
|
923ad2944f
|
Rename BigNum -> CurveBN
Change all references from BigNum to CurveBN
|
2018-04-24 12:41:40 -06:00 |
David Nuñez
|
63f63b4235
|
Big renaming
|
2018-04-24 10:42:10 -07:00 |
David Nuñez
|
02ea0aaf3b
|
Added `check_proof` parameter to pre.decrypt
|
2018-04-24 10:21:43 +02:00 |
David Nuñez
|
4304a7da40
|
Improve readability of valid_kfrag_signature check
|
2018-04-24 01:18:26 +02:00 |
David Nuñez
|
7d9bc19fc4
|
Fix call to hash_to_bn
|
2018-04-23 23:13:11 +02:00 |
David Nuñez
|
f1a847d219
|
Merge remote-tracking branch 'nucypher/master' into cfrags-with-correctness-proof
# Conflicts:
# umbral/pre.py
|
2018-04-23 22:58:52 +02:00 |
David Nuñez
|
cb326488c9
|
Correctness proofs are now optional, although default setting is True
|
2018-04-22 23:43:39 +02:00 |
David Nuñez
|
f646fdc241
|
More informative names in _verify_correctness()
|
2018-04-22 23:34:13 +02:00 |
David Nuñez
|
b714f47d10
|
Some renaming
|
2018-04-19 13:14:33 +02:00 |
David Nuñez
|
b725a5e9ac
|
pre._verify_correctness_proof() --> pre._verify_correctness()
|
2018-04-19 13:00:19 +02:00 |
David Nuñez
|
fca002632e
|
Enter UmbralCorrectnessError
|
2018-04-18 22:59:27 +02:00 |
David Nuñez
|
88961b35d3
|
Reformat
|
2018-04-18 22:40:05 +02:00 |
David Nuñez
|
0e064c4046
|
Now re-encryption correctness is always verified during decryption
|
2018-04-18 15:14:10 +02:00 |
David Nuñez
|
094b8c9e0c
|
Remove metadata as parameter of pre.verify_correctness_proof()
|
2018-04-18 12:00:09 +02:00 |
David Nuñez
|
72a9e7be06
|
Include metadata inside the CorrectnessProof
|
2018-04-18 11:37:40 +02:00 |
tuxxy
|
dbbc11873a
|
Fix flow of hash_to_bn
|
2018-04-18 00:37:37 -06:00 |
David Nuñez
|
274699b2a1
|
Proofs are now part of CFrags so we can drop it as an argument to _verify_correctness_proof
|
2018-04-18 00:10:10 +02:00 |
tuxxy
|
4a244a01a3
|
Use arg packing in hash_to_bn and check if item is bytes before hashing
Use default_params
|
2018-04-17 14:57:33 -06:00 |
David Nuñez
|
a03837dc72
|
More renaming
|
2018-04-17 13:02:04 +02:00 |
David Nuñez
|
3610004773
|
pre._check_challenge() --> pre._verify_correctness_proof()
|
2018-04-17 12:43:08 +02:00 |
David Nuñez
|
e275cb66c6
|
pre._challenge() --> pre._prove_correctness
|
2018-04-17 12:29:44 +02:00 |
David Nuñez
|
1a8bb867ae
|
Refactored pre.ChallengeResponse into fragments.CorrectnessProof
|
2018-04-17 12:17:14 +02:00 |
jMyles
|
caea15cb7a
|
Fixing parameter order and cleaning up some imports.
|
2018-04-02 19:00:41 -07:00 |
tuxxy
|
34807581e6
|
Inject params on encrypt, decrypt, and open_capsule
|
2018-04-02 18:16:43 -07:00 |
David Nuñez
|
42e75127ac
|
k_frag, c_frag --> kfrag, cfrag
|
2018-03-28 20:59:28 -07:00 |
David Nuñez
|
010daae066
|
Made pre.challenge and pre.check_challenge private
|
2018-03-18 01:53:32 +01:00 |
David Nuñez
|
5be059770e
|
Made _decapsulate_reencrypted private
|
2018-03-18 01:49:52 +01:00 |
David Nuñez
|
0639854a85
|
Changed order of arguments in pre.decrypt()
|
2018-03-18 01:48:05 +01:00 |
David Nuñez
|
17467431ca
|
Dropped pre.gen_priv() and pre.priv2pub()
Resolves #90
|
2018-03-15 11:07:56 +01:00 |
David Nuñez
|
5bd0503ca8
|
Improvements to the tests
|
2018-03-14 12:00:04 +01:00 |