David Núñez
|
90a631cbd6
|
Merge pull request #158 from cygnusv/renaming-keypairs
Renaming keypairs
|
2018-06-01 12:06:42 +02:00 |
David Núñez
|
bea29a3550
|
Fix missing params in public key generation in UmbralPrivateKey
|
2018-05-31 14:26:50 +02:00 |
David Núñez
|
e14636a2a9
|
Checks that _set_cfrag_correctness_key is only used in allowed keypairs
|
2018-05-31 12:47:48 +02:00 |
David Núñez
|
6a4c1237e5
|
Renaming keypairs (encrypting --> receiving)
* Fixes some weird test patterns, where split_rekey is used from Alice to Alice
|
2018-05-31 12:46:43 +02:00 |
Justin Holmes
|
0ae4210367
|
Merge pull request #157 from jMyles/cfrags-with-correctness-proof
Attaching CFrags to a Capsule now requires correctness check and KFrag signature validation.
|
2018-05-31 00:44:45 -04:00 |
jMyles
|
a9e431a152
|
params now injected into Capsule one - in __init__
|
2018-05-30 18:28:54 -07:00 |
jMyles
|
e6dafb956e
|
Modifications in responses to various discussions and comments throughout the day.
|
2018-05-30 15:51:33 -07:00 |
jMyles
|
9e05cf436c
|
set_keys instead of set_three_keys; using it in test_simple_api.
|
2018-05-30 13:12:48 -07:00 |
jMyles
|
d8f5d53884
|
Remoing get-or-create flow in favor of simple setting.
|
2018-05-30 12:44:07 -07:00 |
jMyles
|
71db482fc5
|
More complete tests for cfrag attachment.
|
2018-05-29 23:33:14 -07:00 |
jMyles
|
fd736166a6
|
All the old tests now pass.
|
2018-05-29 22:51:01 -07:00 |
jMyles
|
776abe5d2c
|
Modified tests to adhere keys to Capsule. SEGFAULT! See #156
|
2018-05-29 22:28:14 -07:00 |
jMyles
|
cb7bbcdbed
|
We need the verifying key also.
|
2018-05-29 22:03:09 -07:00 |
jMyles
|
bd427e883c
|
Don't need to attach a cfrag in the "proof only" test.
|
2018-05-29 22:02:28 -07:00 |
jMyles
|
427e33caff
|
Test showing that we can't attach a cfrag without proof.
|
2018-05-29 22:02:08 -07:00 |
jMyles
|
bf6a375d57
|
Functions for getting or setting keys on Capsule, and taking them in __init__.
|
2018-05-29 18:51:49 -07:00 |
David Núñez
|
5b67a8d6f8
|
Fix outdated call to Point.get_size
|
2018-05-29 23:56:13 +02:00 |
David Núñez
|
e4311fc676
|
Merge pull request #149 from cygnusv/point_size
Improved Point deserialization
|
2018-05-29 22:27:57 +02:00 |
Justin Holmes
|
ca5cc4b272
|
Merge pull request #150 from jMyles/class_length
expected_bytes_length
|
2018-05-29 14:45:24 -04:00 |
Tux
|
57bf7e2e65
|
Merge pull request #153 from tuxxy/openssl-memory-free
Add unfree'd OpenSSL structs to ffi garbage collector
|
2018-05-29 10:52:40 -06:00 |
Tux
|
64dd08a9f8
|
Merge pull request #145 from jMyles/signing
Signing KFrags with ECDSA.
|
2018-05-29 09:02:18 -06:00 |
tuxxy
|
32792e378c
|
Free OpenSSL BIGNUM in _bn_is_on_curve
|
2018-05-28 13:54:27 -06:00 |
jMyles
|
3177696f30
|
Some more code and naming touchups.
|
2018-05-28 10:54:50 -07:00 |
tuxxy
|
d53848ed1f
|
Free the EC_POINT OpenSSL struct when returning the generator of a group
|
2018-05-28 11:35:10 -06:00 |
Tux
|
0600f37246
|
Merge pull request #146 from tuxxy/pubkey
Make get_pubkey return the cached Umbral pubkey
|
2018-05-28 11:22:24 -06:00 |
David Núñez
|
91a9ce9dd7
|
Merge pull request #151 from cygnusv/master
Setting codecov in Travis
|
2018-05-27 00:19:44 +02:00 |
David Núñez
|
e7da430bdf
|
Setting codecov in Travis
|
2018-05-27 00:03:08 +02:00 |
jMyles
|
6038dff98d
|
Using expected_bytes_length for various crypto entities.
|
2018-05-26 12:12:33 -07:00 |
jMyles
|
f8db9db1c3
|
A couple of touchups, including cfrag.NoProofProvided exception.
|
2018-05-26 10:26:36 -07:00 |
jMyles
|
36336969f8
|
Some fixes in response to comments.
|
2018-05-25 16:52:17 -07:00 |
jMyles
|
e89c7b6c68
|
Using alices_keys fixture instead of boilerplate.
|
2018-05-25 16:52:17 -07:00 |
jMyles
|
7f8532f6a1
|
Adding bytestringSplitter to dependencies (using github for now until we release on pypi).
|
2018-05-25 16:52:05 -07:00 |
jMyles
|
a7d203aa44
|
Tests that were using old fixture now work with new one.
|
2018-05-25 15:43:19 -07:00 |
jMyles
|
30eb274137
|
New alices_keys fixture has both delegating and signing keys.
|
2018-05-25 15:42:51 -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 |
David Núñez
|
7b0f8c021d
|
Improved tests for point deserialization
This also fixes the test, which was marked as xfail
|
2018-05-25 13:25:34 +02:00 |
David Núñez
|
8e9f2f4139
|
Checks correct size of input in Point.from_bytes
|
2018-05-25 13:19:26 +02:00 |
David Núñez
|
97b32fefc5
|
Use field order size instead of curve key size in Point serialization
|
2018-05-25 11:51:52 +02:00 |
David Núñez
|
cfd5b6b668
|
Adds utils.get_field_order_size_in_bytes and openssl.get_ec_group_degree
|
2018-05-25 11:49:36 +02:00 |
jMyles
|
90240be847
|
Right - can't use the secrets module yet, as we're still supporting Python 3.5
|
2018-05-24 19:02:21 -07:00 |
jMyles
|
59af1ab476
|
Injecting all the right objects in order to ECDSA the KFrags in tests. Major cleanup required.
|
2018-05-24 19:02:19 -07:00 |
jMyles
|
e4792b40ba
|
Using ECDSA for kfrag signature and verification.
|
2018-05-24 18:32:54 -07:00 |
jMyles
|
19ecb0f134
|
Fixed a bug in a test that caused correct CFrags to be tested.
|
2018-05-24 18:07:13 -07:00 |
jMyles
|
ca8791f469
|
Signer and Signature classes.
|
2018-05-24 18:07:13 -07:00 |
jMyles
|
0632a53d0e
|
Signing and verifying using ECDSA instead of Schnorr signature.
|
2018-05-24 18:07:13 -07:00 |
jMyles
|
59c0b6bc2d
|
Passing the proper key (delegating or signing) in the proper place.
|
2018-05-24 17:28:30 -07:00 |
jMyles
|
5f80feb6ba
|
Tests now need to separate Alice's delegating key from her signing key.
|
2018-05-24 17:28:30 -07:00 |
tuxxy
|
4c610e32f9
|
Use Capsule.get_size in capsule serializer tests
|
2018-05-23 05:06:39 -06:00 |
David Núñez
|
e68bf5e15f
|
Fix old Readme code
|
2018-05-23 12:52:40 +02:00 |
tuxxy
|
53858cd600
|
Use BytestringSplitter in Capusle deserialization
|
2018-05-23 04:49:29 -06:00 |