Kieran Prasch
|
495cbd257c
|
Lose the travis bade, don a circleCI one.
|
2018-08-18 20:05:43 -07:00 |
Kieran Prasch
|
53fb61d32a
|
Update Pipfile.lock
|
2018-08-18 17:55:49 -07:00 |
Kieran Prasch
|
c65cf525de
|
Update project metadata and copyright
|
2018-08-18 17:51:44 -07:00 |
Kieran Prasch
|
7585b81851
|
Reflect pipenv requirements in setup.py, switch to setuptools
|
2018-08-18 17:51:25 -07:00 |
Kieran Prasch
|
cfd77758df
|
specify version documentation, and bumpversion config
|
2018-08-18 17:50:46 -07:00 |
Kieran Prasch
|
767a8d7e18
|
Install bytestringSplitter from pyPI via pipenv
|
2018-08-18 17:27:26 -07:00 |
Kieran Prasch
|
c032b48fe4
|
Reflect Pipfile in setup.py via distutils. NOTE: Broken subdeps.
|
2018-08-18 17:27:02 -07:00 |
Kieran Prasch
|
e7bd2be44a
|
Force success on circleci mypy build
|
2018-08-18 17:27:02 -07:00 |
Kieran Prasch
|
cb4cfe1636
|
Fix monkeytype version for python3.5 builds
|
2018-08-18 17:27:00 -07:00 |
Kieran Prasch
|
b11bcc3644
|
Remove dry Run from bumpversion config
|
2018-08-18 17:25:58 -07:00 |
Kieran Prasch
|
a8f7d9adb4
|
Add global metadata to umbral __init__
|
2018-08-18 17:25:58 -07:00 |
Kieran Prasch
|
2dcc2220b3
|
Update setup.py; Classifiers, Requirements and Extras
|
2018-08-18 17:25:58 -07:00 |
Kieran Prasch
|
fb8c268598
|
Add versioning to sphinx configuration
|
2018-08-18 17:25:58 -07:00 |
Kieran Prasch
|
357d5d488c
|
Single-source versioning with __about__; Nest __about__ in umbral; Update bumpversion file config
|
2018-08-18 17:25:58 -07:00 |
Kieran Prasch
|
a4f38a0d09
|
Initial bumpversion configuration
|
2018-08-18 17:25:58 -07:00 |
Kieran Prasch
|
5800f6bc04
|
Add single-source origin, env, global, and setup.py vars
|
2018-08-18 17:25:58 -07:00 |
Kieran Prasch
|
90beaa9f58
|
Setup new Pipfile and lock
|
2018-08-18 17:25:54 -07:00 |
Tux
|
817e5eb0d4
|
Add CircleCI status badge to README
|
2018-08-18 17:24:16 -07:00 |
David Núñez
|
2e4b0ed02d
|
Another workaround: fixes pytest installation problems with python 3.5
|
2018-08-18 19:22:16 -05:00 |
David Núñez
|
bac175ed68
|
Temporal workaround for CircleCI problem with cache saving
|
2018-08-18 18:40:22 -05:00 |
David Núñez
|
954b290e20
|
Remove unused imports in tests
|
2018-08-17 18:42:27 -05:00 |
David Núñez
|
e4aae1261c
|
Use KFrag and Capsule fixtures in test_correctness and test_capsule_operations
|
2018-08-17 15:57:13 -05:00 |
David Núñez
|
d7f155a1eb
|
Move test of CorrectnessProof serialization to tests/unit/test_cfrags
|
2018-08-17 15:45:57 -05:00 |
David Núñez
|
1895d6428e
|
This test is redundant wrt to test_simple_api
|
2018-08-17 15:45:57 -05:00 |
David Núñez
|
de21081f2b
|
Check KFrag validity by Ursulas in scenario tests
|
2018-08-17 15:45:57 -05:00 |
David Núñez
|
cad4f1d429
|
Introduce property-based test for serialization using Hypothesis
|
2018-08-15 22:34:21 -05:00 |
David Núñez
|
204f295bfb
|
Expected length of signature depends on its group order, not field order
|
2018-08-15 22:34:21 -05:00 |
David Núñez
|
08d6b9d44f
|
Fix incorrect type annotations in pre.Capsule and Curve
|
2018-08-15 22:33:54 -05:00 |
David Núñez
|
a086404014
|
Reorganize test_umbral_keys and reduce scrypt cost to make it faster
|
2018-08-15 22:33:54 -05:00 |
David Núñez
|
00e3062c4c
|
Improve documentation of test_simple_api
|
2018-08-15 22:33:54 -05:00 |
David Núñez
|
4779d51082
|
Separate test_lifecycle_multidomain and test_pre_api from test_simple_api
|
2018-08-15 22:33:54 -05:00 |
David Núñez
|
8eacd7da29
|
Additional tests for KFrag validation and Capsule correctness keys
|
2018-08-15 22:33:54 -05:00 |
David Núñez
|
6d1951ec4c
|
Create fixtures for KFrags and Capsules
|
2018-08-15 22:33:54 -05:00 |
David Núñez
|
9bd4766f5b
|
Separate test_key_fragments into test_kfrags and test_cfrags
|
2018-08-15 22:33:54 -05:00 |
David Núñez
|
36a5971b07
|
Remove unused tests/fixtures.py file
|
2018-08-15 22:33:54 -05:00 |
David Núñez
|
46c987ca88
|
Fix conftest.py import in test_correctness and test_simple_api
|
2018-08-15 22:33:54 -05:00 |
David Núñez
|
e609ff664d
|
Missing License header in test files
|
2018-08-15 22:33:54 -05:00 |
David Núñez
|
2d149ed710
|
Initial categories of tests: unit, integration, functional and scenario
|
2018-08-15 22:33:43 -05:00 |
Tux
|
6a11ad7f09
|
Merge pull request #201 from cygnusv/openssl-serialization
Improve (de)serialization of CurveBN and Points
|
2018-08-14 15:10:57 -06:00 |
David Núñez
|
51a82192c5
|
Adapt tests to (de)serialization through OpenSSL functions
|
2018-08-06 20:29:04 -05:00 |
David Núñez
|
bbd3d8ec86
|
Remove unused call to get_affine_coords in Point.to_bytes
|
2018-08-06 20:29:04 -05:00 |
David Núñez
|
ff49551360
|
Change Point.from_bytes to rely directly in OpenSSL EC_POINT_oct2point
|
2018-08-06 20:29:04 -05:00 |
David Núñez
|
20c1bfd0c2
|
Clarify test for points with large x coords
|
2018-08-06 20:29:04 -05:00 |
David Núñez
|
03770d83ca
|
Test invalid deserialization of CurveBNs
|
2018-08-06 20:29:04 -05:00 |
David Núñez
|
1941d38c68
|
Test for CurveBN serialization now tests deserialization and multicurve
|
2018-08-06 20:29:04 -05:00 |
David Núñez
|
c394e72e7c
|
Change CurveBN.expected_bytes_length to use the curve group order size
|
2018-08-06 20:29:04 -05:00 |
David Núñez
|
b84c83ed44
|
Introduce curve.group_order_size_in_bytes (different from field order)
|
2018-08-06 20:29:04 -05:00 |
David Núñez
|
4df61e4b96
|
Move other supported curves declaration to conftest
|
2018-08-06 20:29:04 -05:00 |
David Núñez
|
1a47ce8493
|
Use number of bytes returned by BN_bn2bin as ffi.buffer size
The problem is that ffi.buffer fills memory "justified to the left", so e.g., if the BN is 1, the buffer is 010000....00, and we want 00...000001
|
2018-08-06 20:29:04 -05:00 |
David Núñez
|
cf693328c3
|
Introduce new tests and modifications that catch a bug in bn_to_bytes
|
2018-08-06 20:29:04 -05:00 |