Kieran Prasch
1930bc7d55
Pipenv lockfile, add mypy deps.
2018-06-28 14:02:41 -07:00
David Núñez
331fff2ba2
Merge pull request #175 from KPrasch/ci-dev
...
Thin Pipfile and Lock
2018-06-26 12:59:01 -07:00
Kieran Prasch
c0d0848c61
checksum lockfile, instead of Pipfile
2018-06-26 00:30:17 -07:00
Kieran Prasch
a6740fe6ae
Add reports to gitignore
2018-06-26 00:05:33 -07:00
Kieran Prasch
45d8363c36
Thin Pipfile + Lock; correct inline table key.
2018-06-25 23:40:30 -07:00
David Núñez
1fd112e94e
Add test for point.__sub__
2018-06-25 13:55:55 -07:00
David Núñez
c5cd5fc8f0
Test for reconstruction with inconsistent cfrags
2018-06-25 13:55:55 -07:00
David Núñez
0d206cb279
Add check for 0<M<=N in pre.split_rekey. Tests for that.
2018-06-25 13:55:55 -07:00
David Núñez
23d20b3cfb
Fixed missing coverage in tests
2018-06-25 13:55:55 -07:00
David Núñez
514b53086b
Merge pull request #172 from KPrasch/ci-dev
...
CircleCI: Store Results + Pipenv support
2018-06-25 13:13:50 -07:00
Kieran Prasch
09ab90e436
Fix reversed M and N in memory profile test
2018-06-25 13:08:15 -07:00
Kieran Prasch
12612d8af6
Update circle yml; fix pipenv support, store coverage results as html
2018-06-25 13:08:12 -07:00
Tux
db145e6fb2
Merge pull request #166 from KPrasch/ci-dev
...
Reencryption memory profiler config
2018-06-21 23:46:35 -07:00
David Núñez
355745c8c2
Merge pull request #162 from cygnusv/serialization-fixes
...
Serialization fixes for multicurve
2018-06-21 19:28:49 -07:00
Kieran Prasch
240b254448
Reencryption memory profile job.
2018-06-21 15:24:43 -07:00
Tux
face1a6664
Merge pull request #165 from tuxxy/circleci
...
Implement CircleCI testing
2018-06-21 02:07:46 -07:00
tuxxy
1bf66f47e5
Add CircleCI config file
2018-06-21 03:01:29 -06:00
tuxxy
ed8d878291
Remove tox.ini file
2018-06-21 02:06:51 -06:00
tuxxy
a243628288
Delete travis.yml file
2018-06-21 01:53:08 -06:00
tuxxy
f84628d5ed
Create .circleci dir
2018-06-21 01:34:43 -06:00
David Núñez
9e3a037434
Merge pull request #159 from cygnusv/params-in-capsule
...
Simplified API
2018-06-06 22:32:01 +02:00
David Núñez
38eff317c4
Fixes deserialization problems for non-default curves
...
* Passes the curve to BystringSplitter
2018-06-06 11:31:33 +02:00
David Núñez
41a3c9bdcf
Fix Signature to account for the order of the curve
...
* Uses CurveBNs instead of ints
* Signature.from_bytes takes an additional argument 'curve'
2018-06-06 11:31:28 +02:00
David Núñez
60d2492ed9
Tests simple api with intermediate serialization
...
* Added a multicurve variant of the test, but it fails, so it's set to skip
2018-06-06 11:26:39 +02:00
David Núñez
fa4375d9dc
Adapt verify_kfrag to simplified API (I missed this in the main commit)
2018-06-05 03:51:30 +02:00
David Núñez
d34fd6e3e7
Fix __bytes__ definition in CorrectnessProof
2018-06-05 03:49:53 +02:00
David Núñez
d70d21dfe0
Fix some functions definition according to PEP8
2018-06-05 03:49:22 +02:00
David Núñez
9e126bde29
Fixes bug in Capsule.attach_cfrag that allowed to attach incorrect CFrag
2018-06-05 02:52:23 +02:00
David Núñez
5618b25292
Simplified public API for umbral.pre
...
* Functions in `pre` now only take Umbral keys as arguments, rather than primitive types (Point, CurveBN)
* Remove unnecessary arguments from public facing and internal methods when they can be extracted from a Capsule, UmbralPublicKey or UmbralPrivateKey
* Adds a getter in Capsule for correctness keys
* Adapts the test suite to new simplified API
2018-06-05 02:52:16 +02:00
David Núñez
d5b434c013
Adapts tests to new way to use params
2018-06-05 02:11:32 +02:00
David Núñez
c736370bcc
Remove params as an argument when possible
...
* Instead, takes params from Capsules or UmbralPublicKeys
* Makes params required in some places (Capsule.init, Capsule.from_bytes, etc)
* Removes pre.CHACHA20_KEY_SIZE constant and use dem.DEM_KEYSIZE instead
2018-06-05 02:11:32 +02:00
David Núñez
09bed34305
Remove keypairs fixtures from test_simple_api
2018-06-05 02:11:32 +02:00
David Núñez
c98f723eec
Check that params match when setting correctness keys
2018-06-05 02:11:32 +02:00
David Núñez
03b4138229
Add params when deserializing Capsule
2018-06-05 02:11:32 +02:00
David Núñez
9170b70135
Add __eq__ method to UmbralParameters
2018-06-05 02:11:32 +02:00
Tux
ee35a52326
Merge pull request #160 from jMyles/master
...
Capsule length now reflects number of attached CFrags.
2018-06-04 10:33:11 -06:00
jMyles
e04a44c239
Capsule length now reflects number of attached CFrags.
2018-06-01 23:50:20 -07:00
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