Commit Graph

948 Commits (cfrags)

Author SHA1 Message Date
David Núñez e020e1ac1e
Merge pull request #221 from KPrasch/deployment-test
Pre-deployment testing and acceptance for PyPI releases
2018-10-15 20:03:16 +02:00
Kieran Prasch c574beaab3 Include deployment testing steps and manual approval for PyPI 2018-10-15 09:55:41 -07:00
K Prasch 7094be8005
Merge pull request #220 from cygnusv/optional-stuff
Improved verification of KFrags
2018-10-15 09:53:50 -07:00
David Núñez ad055165ff Get constant sorrow from pipy 2018-10-11 21:01:26 +02:00
David Núñez 87b24a0083 Some type annotation improvements and other minor change requests 2018-10-11 21:01:21 +02:00
David Núñez 7d9ddfe6e8 Adds support to testing Jupyter notebooks with py.test plugin nbval
* Test vectors are marked as xfail temporarily
2018-10-06 22:28:14 +02:00
David Núñez 6ebe4bd298 Updating README, scripts and notebook to latest changes in the API 2018-10-06 22:28:07 +02:00
David Núñez 4b662f91a8 Handling other internal umbral.pre constants with constant_sorrow 2018-10-06 21:31:46 +02:00
David Núñez 416c51bd0f Testing kfrag signing modes 2018-10-06 21:31:46 +02:00
David Núñez ea442fe702 Janitorial stuff 2018-10-06 21:31:39 +02:00
David Núñez 236ff239fe Use constant_sorrow to handle signing mode constants in KFrag 2018-10-06 19:00:34 +02:00
David Núñez 0eb7e22dc4 New signing mode in KFrag for stating what correctness keys are signed 2018-10-06 19:00:34 +02:00
David Núñez 4e331f3010 Rename pre.split_rekey to pre.generate_kfrags. Introduce changes in args 2018-10-06 19:00:34 +02:00
David Núñez d6ee0cc4e5 Capsule._reconstruct_shamirs is absorbed into pre._decapsulate_reencrypted 2018-10-06 19:00:34 +02:00
David Núñez ecc166f23c Activated capsules don't exist anymore as objects of the Capsule class 2018-10-06 19:00:34 +02:00
David Núñez 7f50bf48b8 More type checking on re-encrypt and decrypt APIs 2018-10-06 19:00:34 +02:00
David Núñez 054777eb53 KFrags now has 2 signatures (Bob and proxy) and a new point
* point_precursor removes need for point_xcoord and point_noninteractive
* Fixes access to protected attributes in some places
2018-10-06 19:00:34 +02:00
David Núñez f535f926b9 New test for kfrags signed without correctness keys. Test fails 2018-10-06 19:00:26 +02:00
David Núñez 21c50eb575 Allows to set a single correctness key. Tests for correctness keys. 2018-09-21 12:51:57 +02:00
David Núñez 795325b5ad Rename variables shadowing `id` function 2018-09-19 13:06:06 +02:00
David Núñez 5fc94b4070 Delegating and receiving pubkeys are now optional for kfrag validation 2018-09-19 13:06:06 +02:00
David Núñez ea6f60da91 Add method UmbralPublicKey.expected_bytes_length, based on Point 2018-09-19 13:06:06 +02:00
K Prasch beaa1bc957
Merge pull request #215 from cygnusv/str
Some __repr__ and input validation
2018-09-15 08:42:09 -07:00
David Núñez 9f358ccff9 Check ciphertext min length in pre.decrypt. Some reflow too 2018-08-31 17:12:32 +02:00
David Núñez 51357f24ce Adds __repr__ to Capsule, KFrag and CFrag, and changes it in UmbralPublicKey 2018-08-31 17:12:32 +02:00
Tux d39ebf468b
Merge pull request #214 from KPrasch/circleci
Preserve circleci config from successful test-build-deploy
2018-08-29 16:45:29 -07:00
Kieran R. Prasch ea4d375117 Preserve circleci config from successful test-build-deploy 2018-08-29 06:42:42 -07:00
Kieran Prasch 76599ace57 Bump version: 0.1.0-alpha.3 → 0.1.0-alpha.4 2018-08-21 14:33:15 -07:00
Kieran Prasch aa2d4022ae Release from a python 3.6 build 2018-08-21 14:32:26 -07:00
Kieran Prasch 09e3c46b35 Bump version: 0.1.0-alpha.2 → 0.1.0-alpha.3 2018-08-21 14:21:20 -07:00
Kieran Prasch d143e35d23 Use main PyPI repository; Remove test repo. 2018-08-21 14:21:20 -07:00
Kieran Prasch 1920266b4d Bump version: 0.1.0-alpha.1 → 0.1.0-alpha.2 2018-08-21 13:21:08 -07:00
Kieran Prasch 0c69616252 Tests automated PyPI upload 2018-08-21 13:20:48 -07:00
Kieran Prasch a4f3a47732 Bump version: 0.1.0-alpha.0 → 0.1.0-alpha.1 2018-08-21 13:03:56 -07:00
K Prasch 399fc19682
Merge pull request #211 from KPrasch/packaging
Continuous Deployment to PyPI
2018-08-21 12:16:59 -07:00
derekpierre 3e24198012 Set capsule correction keys before re-encryption in example 2018-08-21 11:35:40 -04:00
Kieran Prasch a2b6484e53 rename job 2018-08-20 16:38:38 -07:00
Kieran Prasch 35949d53b5 Use TestpyPI; remove dep cahce, always checkout checkout code for a build 2018-08-20 15:44:03 -07:00
Kieran Prasch 07cf81bac6 Add required packaging metadata: pass setup.py check 2018-08-20 15:25:24 -07:00
Kieran Prasch acd165840c Add automated continuous deployment to pyPI, filtered by release tag; Additional project metadata. 2018-08-20 15:25:24 -07:00
Tux 7dea855245
Merge pull request #190 from KPrasch/preversioning
Prepare for initial versioning
2018-08-19 22:18:47 -06:00
Kieran Prasch ac42badcbb Add requirements files based on Pipfile.lock 2018-08-18 20:25:28 -07:00
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