Commit Graph

981 Commits (dd76047a42cad8124b6d91ec297bfde50b09cdbf)

Author SHA1 Message Date
Bogdan Opanchuk dd76047a42 test/keys: fix a test name 2021-05-26 22:13:43 -07:00
Bogdan Opanchuk 7b7fdfa285
Merge pull request #263 from fjarri/interfacing
Interfacing with Rust
2021-05-26 22:12:20 -07:00
Bogdan Opanchuk 503a1c6a18 Always set constant time operations for OpenSSL bignums
set_consttime_flag was always True anyway
2021-04-12 22:00:40 -07:00
Bogdan Opanchuk fd9e1d44e5 Remove a TODO
rust-umbral#43 is closed
2021-04-12 21:56:22 -07:00
Bogdan Opanchuk a7f4a7a634 Fix logic in bn_from_bytes(..., apply_modulus=True) 2021-04-12 21:55:26 -07:00
Bogdan Opanchuk 7d0f2fe3e2 Cache public key in the secret key to speed up `generate_kfrags()` 2021-03-28 12:51:46 -07:00
Bogdan Opanchuk a08a552708 Replace `dem.ErrorInvalidTag` and `Capsule.NotValid` with `GenericError`. 2021-03-28 12:51:46 -07:00
Bogdan Opanchuk ee7d31bda0 RFC for docs 2021-03-28 12:51:45 -07:00
Bogdan Opanchuk fe6e32be9d Update vector generating script and regenerate vectors 2021-03-28 12:51:45 -07:00
Bogdan Opanchuk 0f82580c7e Add some API docs 2021-03-28 12:51:45 -07:00
Bogdan Opanchuk bcb0071f9e Update docs 2021-03-28 12:51:45 -07:00
Bogdan Opanchuk c401c52e92 Add tests 2021-03-28 12:51:45 -07:00
Bogdan Opanchuk f58a2580dc curve_scalar: don't check range in __init__, only in publicly used constructors 2021-03-28 12:51:45 -07:00
Bogdan Opanchuk d65969761c Skip rust-umbral tests if the library is not available
Will help CI for the time being
2021-03-28 12:51:45 -07:00
Bogdan Opanchuk 9e87006a9b Add back performance tests 2021-03-28 12:51:45 -07:00
Bogdan Opanchuk 6af41b09d9 Remove repeated casting to bytes from hashing calls 2021-03-28 12:51:45 -07:00
Bogdan Opanchuk c419705245 Add SecretKeyFactory 2021-03-28 12:51:45 -07:00
Bogdan Opanchuk d532ef1383 Move all OpenSSL stuff into one module, move around some low-level details 2021-03-28 12:51:45 -07:00
Bogdan Opanchuk b96888cafb Add reencryption functionality 2021-03-28 12:51:45 -07:00
Bogdan Opanchuk d6626ba1a6 Add generate_kfrags() 2021-03-28 12:51:45 -07:00
Bogdan Opanchuk 2c28ae8bc2 Add Capsule class and encrypt()/decrypt_original() 2021-03-28 12:51:45 -07:00
Bogdan Opanchuk f33431d92a Working secret & public keys 2021-03-28 12:51:45 -07:00
Bogdan Opanchuk f030fd3353 Use a composable approach for serialization 2021-03-25 21:13:16 -07:00
Bogdan Opanchuk 54ba9bb38f Exclude abstract methods during coverage tests 2021-03-20 16:39:33 -07:00
Bogdan Opanchuk 2050e3c168 Remove unused dependencies 2021-03-20 16:35:20 -07:00
Bogdan Opanchuk 439b675e65 Drop Py3.5 support 2021-03-20 16:35:20 -07:00
Bogdan Opanchuk bbf168e08b Clean slate 2021-03-18 11:53:52 -07:00
damon c 2ef43a6df5
Merge pull request #251 from vepkenez/master
add vectors and test for kdf function
2019-10-18 14:56:31 +02:00
damon c 7de5e5514f
Merge pull request #250 from mswilkison/master
Fix broken umbral image
2019-10-18 14:54:59 +02:00
damon 731fd09aa5 add vectors and test for kdf function 2019-10-17 17:55:21 +02:00
MacLane Wilkison 53f7b9e556 Fix broken umbral image 2019-08-12 11:43:14 -07:00
David Núñez 1ab62ff7a2 Bump version: 0.1.3-alpha.1 → 0.1.3-alpha.2 2019-08-09 23:26:17 +02:00
David Núñez aaf93fb1ea
Merge pull request #249 from nucypher/cfrags
Facilities to reduce abuse of _attached_cfrags
2019-08-09 23:21:45 +02:00
David Núñez 63b1880029 CI: Parametrize pipenv's virtualenv depending on python version 2019-08-09 23:17:31 +02:00
jMyles b89decb8c1 Facility for clearing CFrags. 2019-08-09 23:17:31 +02:00
jMyles 3193d1541d Provide public way to get first cfrag in order to obtain point_precursor. 2019-08-09 23:17:31 +02:00
jMyles 5bcc5230ac Attached CFrags are really set - we don't ever want repeat CFrags, right? 2019-08-09 23:17:24 +02:00
jMyles f98b9ae5a8 Provide method for checking if a specific cfrag is attached to a Capsule. 2019-08-09 23:11:23 +02:00
David Núñez 41bbdc4128
Merge pull request #241 from cygnusv/invalidtag
1st Chimney anniversary
2019-05-21 11:52:52 +02:00
David Núñez f2598db27a Add additional tests suggested by @michwill 2019-04-15 13:09:28 +02:00
David Núñez a89169181b Removed type hint in UmbralPublicKey.from_hex() 2019-03-27 21:11:08 +01:00
David Núñez 5f668f08e8 Refining umbral keys tests 2019-03-27 16:31:39 +01:00
David Núñez 2c3620249b UmbralPublicKeys allow hex serialization 2019-03-27 16:31:39 +01:00
David Núñez 7568fff780 Raise UmbralDecryptionError instead of cryptography.exception.InvalidTag 2019-03-27 16:31:39 +01:00
David Núñez 8bea9a7795 Chimney fixtures 2019-03-27 16:31:39 +01:00
David Núñez b69d18a0bb Require passing notebook tests to start test deploy in CI workflow 2019-03-27 16:31:39 +01:00
David Núñez 72f9b82e1a Add decryption section in using pyumbral docs 2019-03-27 16:31:39 +01:00
David Núñez 17c1990c1e Bump version: 0.1.3-alpha.0 → 0.1.3-alpha.1 2019-02-22 11:35:04 +01:00
David Núñez cbc5443062
Merge pull request #238 from cygnusv/readme
Update to the README and Docs
2019-02-22 11:14:28 +01:00
David Núñez af0fb2d028 Remove copyright notice from individual files 2019-02-22 11:07:19 +01:00