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
|
2dfb69e6b5
|
Cache pubkey on UmbralPrivateKey for #121
|
2018-04-24 12:41:42 -06:00 |
tuxxy
|
923ad2944f
|
Rename BigNum -> CurveBN
Change all references from BigNum to CurveBN
|
2018-04-24 12:41:40 -06:00 |
tuxxy
|
6a1cb6832c
|
Implement OpenSSL module in BigNum, Point, and key classes
|
2018-04-24 12:27:09 -06:00 |
tuxxy
|
920b705640
|
Create openssl module and add OpenSSL helper utilities
Use BN_cmp instead of BN_is_zero since it's not exposed
Add EC_POINT operations to openssl module
|
2018-04-24 12:24:20 -06:00 |
Justin Holmes
|
c5a9fc6dd9
|
Merge pull request #129 from jMyles/master
Big renaming
|
2018-04-24 11:06:53 -07:00 |
David Nuñez
|
63f63b4235
|
Big renaming
|
2018-04-24 10:42:10 -07:00 |
David Núñez
|
01d8e6f112
|
Merge pull request #115 from cygnusv/cfrags-with-correctness-proof
Re-encryption with correctness proofs
|
2018-04-24 10:36:15 +02:00 |
David Nuñez
|
c7d6644447
|
A simpler example for re-encryption metadata
|
2018-04-24 10:35:21 +02:00 |
David Nuñez
|
97f77cfcdc
|
Fixed import
|
2018-04-24 10:23:40 +02:00 |
David Nuñez
|
316bb6b5de
|
Test for decryption fail when there is no proof but it was expected
|
2018-04-24 10:23:30 +02: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
|
12c6b5edd9
|
Make use of short-circuit logic
|
2018-04-24 00:55:48 +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 |
Tux
|
47dd669302
|
Merge pull request #118 from tuxxy/arg-packing
Implement arg packing in hash_to_bn
|
2018-04-23 13:18:49 -06:00 |
David Nuñez
|
036b28571a
|
Tests for multiple possibilities of serialization of cfrags with/without proofs and with/without metadata
|
2018-04-23 00:09:58 +02:00 |
David Nuñez
|
267e6ea383
|
Fix problem with serialization of proofs when optional
|
2018-04-23 00:09:22 +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
|
bdab54bb8d
|
Refine correctness tests
|
2018-04-19 13:04:03 +02:00 |
David Nuñez
|
b725a5e9ac
|
pre._verify_correctness_proof() --> pre._verify_correctness()
|
2018-04-19 13:00:19 +02:00 |
David Nuñez
|
159b2dd720
|
Merge remote-tracking branch 'nucypher/master' into cfrags-with-correctness-proof
|
2018-04-19 00:23:48 +02:00 |
David Nuñez
|
3f03ce769d
|
Fixed failing test
|
2018-04-19 00:23:35 +02:00 |
David Nuñez
|
ab748c67b5
|
Check that an UmbralCorrectnessError is raised, and that it includes the incorrect cfrags
|
2018-04-18 23:39:46 +02:00 |
David Nuñez
|
b39b1cadf9
|
I said no more Challenges!
|
2018-04-18 23:02:10 +02:00 |
David Nuñez
|
c13da88c62
|
No more Challenge for you
|
2018-04-18 23:00:21 +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 |
Tux
|
8e25cd2666
|
Merge pull request #111 from cygnusv/derive-keys-from-labels
Derive UmbralPrivateKeys from labels
|
2018-04-18 12:46:56 -06: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
|
d87af0b129
|
Remove metadata as parameter of verification in tests
|
2018-04-18 12:00:26 +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
|
2885a1f4dc
|
Adapted tests to metadata inside CorrectnessProofs
TODO: Figure out final size for CorrectnessProofs
|
2018-04-18 11:41:47 +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
|
fc6f7a1ac3
|
Adapting tests to new setting with CorrectnessProof
|
2018-04-18 00:11:05 +02:00 |
David Nuñez
|
071d4b163a
|
TODO: Figure out final size for CFrags with proofs
|
2018-04-18 00:10:33 +02: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 |
tuxxy
|
0fd530b74f
|
Add hash_to_bn as a classmethod on BigNum
|
2018-04-17 13:15:12 -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
|
45b4529ca1
|
Adapted tests to CorrectnessProof
|
2018-04-17 12:17:27 +02:00 |
David Nuñez
|
1a8bb867ae
|
Refactored pre.ChallengeResponse into fragments.CorrectnessProof
|
2018-04-17 12:17:14 +02:00 |
David Nuñez
|
bdc3a55168
|
Merge remote-tracking branch 'nucypher/master'
|
2018-04-17 09:59:37 +02:00 |