Commit Graph

490 Commits (v0.1.2-alpha.1)

Author SHA1 Message Date
David Núñez 114a91e7da Bump version: 0.1.2-alpha.0 → 0.1.2-alpha.1 2018-12-10 21:20:38 +01:00
Kieran Prasch 4a1bdc4b44
Remove unintended comma from project description 2018-12-09 12:56:31 -08:00
David Núñez b1389605c8 Bump version: 0.1.1-alpha.3 → 0.1.2-alpha.0 2018-11-29 10:57:08 +01:00
David Núñez 78904b8fff prove_correctness now is a method of CFrag, like verify_correctness 2018-11-19 16:10:40 +01:00
David Núñez a4977252a1 Addressing RFCs 2018-11-19 16:09:36 +01:00
David Núñez 5245f50db9 Fixed wrong calculation of memory required by Scrypt 2018-11-16 11:26:20 +01:00
David Núñez bb4895c0da Raise memory error when Scrypt can't get enough memory for key derivation 2018-11-16 11:16:12 +01:00
David Núñez 317469767d Allows passing callable KDFs to key wrapping methods. Default is Scrypt 2018-11-16 11:16:12 +01:00
David Núñez bce37b790a Protected scope for pre._prove_cfrag_correctness() 2018-11-16 11:16:12 +01:00
David Núñez 9cfbf1b50c CorrectnessProofs use ExtendedKeccak for compatibility with Solidity 2018-11-16 11:16:12 +01:00
David Núñez 9521c50d12 Introduce customization_string arg for Hash functions 2018-11-16 11:16:12 +01:00
David Núñez 86789006a4 janitorial 2018-11-16 11:16:12 +01:00
David Núñez 576e7a4aeb Introduce ABC for Hash class 2018-11-16 11:16:12 +01:00
David Núñez cec416fee9 Improved key wrapping for Umbral keys. Fixes #122 2018-11-16 11:16:12 +01:00
David Núñez a6cb2a0450 Removes protected attribute scope in some umbral classes 2018-11-16 11:16:12 +01:00
David Núñez 716428a8f9 Dismember umbral._pre and put the pieces where they belong 2018-11-16 11:16:12 +01:00
David Núñez 977bee01a0 Divide umbral.fragments into umbral.kfrags and umbral.cfrags 2018-11-16 11:16:12 +01:00
David Núñez 5b169d27b1 Simplifying combination of Cfrags when threshold=1 2018-11-16 11:16:12 +01:00
David Núñez 17c8c6004d Trailing commas not allowed in functions with starargs before Python 3.6 2018-11-16 11:16:12 +01:00
David Núñez 98c7a7d779 Adapt hash_to_curvebn to new hash interface. Blake2b is the default hash. 2018-11-16 11:16:12 +01:00
David Núñez 5bcc4c96d8 New ExtendedKeccak hash function, based on pysha3 implementation 2018-11-16 11:16:01 +01:00
David Núñez 6f0eca9be1 Introduce Hash superclass and new Blake2b wrapper 2018-11-16 11:07:01 +01:00
David Núñez 62a0392b58 New umbral.random_oracles module to gather all hash and KDF functions 2018-11-16 11:07:01 +01:00
David Núñez 839106da36 Bump version: 0.1.1-alpha.2 → 0.1.1-alpha.3 2018-10-19 01:44:13 +02:00
David Núñez e8c8ae52d4 Bump version: 0.1.1-alpha.1 → 0.1.1-alpha.2 2018-10-19 01:15:50 +02:00
David Núñez 87fa190a91 Bump version: 0.1.1-alpha.0 → 0.1.1-alpha.1 2018-10-19 00:32:18 +02:00
David Núñez 08b6c34163 Bump version: 0.1.0-alpha.4 → 0.1.1-alpha.0 2018-10-19 00:09:22 +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 4b662f91a8 Handling other internal umbral.pre constants with constant_sorrow 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
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
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 09e3c46b35 Bump version: 0.1.0-alpha.2 → 0.1.0-alpha.3 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 a4f3a47732 Bump version: 0.1.0-alpha.0 → 0.1.0-alpha.1 2018-08-21 13:03:56 -07:00
Kieran Prasch 07cf81bac6 Add required packaging metadata: pass setup.py check 2018-08-20 15:25:24 -07:00
Kieran Prasch c65cf525de Update project metadata and copyright 2018-08-18 17:51:44 -07:00