Commit Graph

  • 13e9f01a4a
    Merge 276b3c309e into b2abccafa6 dependabot[bot] 2022-12-09 05:18:11 +0000
  • 276b3c309e
    Bump certifi from 2021.5.30 to 2022.12.7 dependabot/pip/certifi-2022.12.7 dependabot[bot] 2022-12-09 05:18:09 +0000
  • 62a03208df
    Merge b2bddef2bc into b2abccafa6 dependabot[bot] 2022-01-21 18:59:17 +0000
  • b2bddef2bc
    Bump ipython from 7.24.1 to 7.31.1 dependabot/pip/ipython-7.31.1 dependabot[bot] 2022-01-21 18:59:16 +0000
  • b2abccafa6 Bump version: 0.2.0 → 0.3.0 master v0.3.0 Bogdan Opanchuk 2021-09-15 12:49:08 -0700
  • 6ed2442278
    Merge pull request #274 from fjarri/naming-fixes Bogdan Opanchuk 2021-09-15 12:47:44 -0700
  • 3177a9899c Rename remaining instances of `verifying_key` -> `verifying_pk` Bogdan Opanchuk 2021-09-14 22:58:40 -0700
  • 42293f9ed8 Rename secret_key_by_label()/secret_factory_by_label() -> make_key()/make_factory() Bogdan Opanchuk 2021-09-14 22:56:59 -0700
  • e654adf16f
    Merge pull request #273 from fjarri/shares Bogdan Opanchuk 2021-09-12 14:58:03 -0700
  • edb9130d97 Rename `num_kfrags` to `shares` Bogdan Opanchuk 2021-09-12 14:52:30 -0700
  • 5c9fb53ede
    Merge pull request #272 from fjarri/api-updates Bogdan Opanchuk 2021-08-19 09:07:33 -0700
  • a63b1ece58 Add `SecretKeyFactory.from_secure_randomness()` and `.seed_size()` Bogdan Opanchuk 2021-07-19 15:05:13 -0700
  • a9050f4678 Add `SecretKeyFactory.secret_key_factory_by_label()` Bogdan Opanchuk 2021-07-19 14:52:39 -0700
  • 7e75ecb2aa Add `VerifiedCapsuleFrag.from_verified_bytes()` Bogdan Opanchuk 2021-07-19 14:24:58 -0700
  • d6d3a272a7 Change the seed size in SecretKeyFactory from 64 to 32 bytes Bogdan Opanchuk 2021-07-19 14:15:15 -0700
  • 2e046fd181 Remove `SecretKey.__eq__()` Bogdan Opanchuk 2021-07-19 14:11:16 -0700
  • 7abd5c09d0 Make SecretKey and SecretKeyFactory serializable via `to_secret_bytes()` instead of `bytes()` Bogdan Opanchuk 2021-07-19 15:08:29 -0700
  • f64a129c4d Bump version: 0.1.3-alpha.2 → 0.2.0 v0.2.0 Bogdan Opanchuk 2021-06-14 15:11:04 -0700
  • 863feb163a Remove installation.rst from bumpversion's list Bogdan Opanchuk 2021-06-14 15:10:00 -0700
  • 88791cb3db
    Merge pull request #271 from fjarri/public-key-shortcut Bogdan Opanchuk 2021-06-14 13:54:08 -0700
  • 18cea3f2b6 Restrict some dependencies and relock Bogdan Opanchuk 2021-06-13 11:10:53 -0700
  • 70fb1157b5 Some type hint and docstring fixes Bogdan Opanchuk 2021-06-13 11:03:53 -0700
  • 104d1a4c20 Replace PublicKey.from_secret_key() with SecretKey.public_key() Bogdan Opanchuk 2021-06-13 10:53:28 -0700
  • 7c3573278c Add type hints Bogdan Opanchuk 2021-06-12 21:43:45 -0700
  • 4517357ce1 Remove an unused variable Bogdan Opanchuk 2021-06-12 21:43:22 -0700
  • 18e868ceb2
    Merge pull request #270 from fjarri/interfacing-3 Bogdan Opanchuk 2021-06-13 13:27:18 -0700
  • 42b287705d Get rid of GenericError Bogdan Opanchuk 2021-06-06 22:51:07 -0700
  • 7334ed2464 Add docstrings to serialization mixins Bogdan Opanchuk 2021-06-03 15:29:22 -0700
  • 29b9f85fb7 Relax type bounds a little Bogdan Opanchuk 2021-06-03 15:28:40 -0700
  • 76e6b85f1a Add a compatibility test for serialized sizes Bogdan Opanchuk 2021-06-03 13:59:57 -0700
  • 32a612c99d Split Serializable into (De)Serializable Bogdan Opanchuk 2021-06-03 14:34:03 -0700
  • b8175a3247 Expose serialized sizes of objects and overhaul Serializable accordingly Bogdan Opanchuk 2021-06-02 23:46:26 -0700
  • 16def46564 Fix key names in encrypt/decrypt_original/decrypt_reencrypted Bogdan Opanchuk 2021-06-02 18:50:54 -0700
  • 6a1bc0ce14 Remove metadata support from reencrypt() Bogdan Opanchuk 2021-06-01 23:53:29 -0700
  • c7292fe92c Remove unused dev dependencies Bogdan Opanchuk 2021-06-01 23:25:34 -0700
  • f57c4ba5a4 Add VerifiedKeyFrag.from_verified_bytes() for the purposes of Nucypher's datastore Bogdan Opanchuk 2021-06-01 23:55:48 -0700
  • b5c62277fd
    Bump urllib3 from 1.26.4 to 1.26.5 dependabot[bot] 2021-06-01 21:45:03 +0000
  • 2ad8223b68
    Merge pull request #267 from fjarri/interfacing-2 Bogdan Opanchuk 2021-05-26 23:04:58 -0700
  • edbf95315c Add myself to the list of authors Bogdan Opanchuk 2021-05-26 22:59:58 -0700
  • 96251cf19b Fix CI build Bogdan Opanchuk 2021-05-26 22:18:24 -0700
  • 0a972aa0a8 Add a check to cover Signature.__eq__ Bogdan Opanchuk 2021-04-25 11:11:24 -0700
  • d5b9d7c3a1 Add a unit test for a part of SecretKey API Bogdan Opanchuk 2021-04-25 11:09:22 -0700
  • 4e0b6a54fe Remove Point.from_affine(), add a check for calling to_affine() on the identity point Bogdan Opanchuk 2021-05-18 13:51:55 -0700
  • 48c3441344 Style fixes + pylint config Bogdan Opanchuk 2021-04-20 17:46:59 -0700
  • 9570035582 Move backend-related parts of signing to the openssl module Bogdan Opanchuk 2021-04-20 16:21:03 -0700
  • 9744906506 Move generate_kfrags() to the pre module Bogdan Opanchuk 2021-04-20 15:57:28 -0700
  • 023e8134dd Remove excess default exports Bogdan Opanchuk 2021-04-20 15:42:18 -0700
  • 84883b85da Enforce CapsuleFrag verification before decryption Bogdan Opanchuk 2021-04-19 18:53:16 -0700
  • 65d32fd63e Enforce KeyFrag verification before reencryption Bogdan Opanchuk 2021-04-19 17:53:32 -0700
  • b03c83eb93 Don't use DST when hashing for signing Bogdan Opanchuk 2021-04-19 14:28:22 -0700
  • f31a3ad1c2 Add a comment about normalizing s in signatures Bogdan Opanchuk 2021-04-19 14:15:54 -0700
  • 89e6ea1063 Leave only secp256k1 as a supported curve Bogdan Opanchuk 2021-04-19 14:11:13 -0700
  • c46fdf6cdb Add a TODO in CapsuleFrag.verify() and bail early if the signature is not correct Bogdan Opanchuk 2021-05-18 14:05:27 -0700
  • cae54575e5 Update TODO in CurveScalar.from_digest() Bogdan Opanchuk 2021-05-18 14:17:50 -0700
  • 54b9ee088b Change the order of parameters in CapsuleFrag.verify() to match that of KeyFrag.verify() Bogdan Opanchuk 2021-04-18 22:35:09 -0700
  • 81868848c9 Use signer instead of signer_sk in generate_kfrags() and rename signing_pk to verifying_pk Bogdan Opanchuk 2021-04-18 22:29:17 -0700
  • a2d4bfd363 Resolve circular dependency keys-signing-hashing Bogdan Opanchuk 2021-04-18 22:08:46 -0700
  • 6545eacca2 Move SecretKey signing capabilities to a Signer class Bogdan Opanchuk 2021-04-18 21:34:26 -0700
  • 768ac3ae9e keys: adjust error type Bogdan Opanchuk 2021-04-18 21:33:10 -0700
  • 4f6f1741b7 keys: correct phrasing in error messages Bogdan Opanchuk 2021-04-18 21:15:49 -0700
  • c4626fa071 Extract signing code into a separate module Bogdan Opanchuk 2021-04-18 21:13:07 -0700
  • dd76047a42 test/keys: fix a test name Bogdan Opanchuk 2021-04-18 21:12:09 -0700
  • 7b7fdfa285
    Merge pull request #263 from fjarri/interfacing Bogdan Opanchuk 2021-05-26 22:12:20 -0700
  • d89ce28369 Update algo params bench-kdf Piotr Roslaniec 2021-04-27 15:25:49 +0200
  • 358852b55e Add KDF benchmarks Piotr Roslaniec 2021-04-27 14:26:34 +0200
  • 282b84eda9
    Bump py from 1.7.0 to 1.10.0 dependabot[bot] 2021-04-20 17:05:43 +0000
  • 503a1c6a18 Always set constant time operations for OpenSSL bignums Bogdan Opanchuk 2021-04-12 22:00:40 -0700
  • fd9e1d44e5 Remove a TODO Bogdan Opanchuk 2021-04-12 21:56:22 -0700
  • a7f4a7a634 Fix logic in bn_from_bytes(..., apply_modulus=True) Bogdan Opanchuk 2021-04-12 21:55:26 -0700
  • 4565cb31c5
    Bump pygments from 2.3.1 to 2.7.4 dependabot[bot] 2021-03-29 16:50:05 +0000
  • 7d0f2fe3e2 Cache public key in the secret key to speed up `generate_kfrags()` Bogdan Opanchuk 2021-03-27 14:10:33 -0700
  • a08a552708 Replace `dem.ErrorInvalidTag` and `Capsule.NotValid` with `GenericError`. Bogdan Opanchuk 2021-03-26 20:30:23 -0700
  • ee7d31bda0 RFC for docs Bogdan Opanchuk 2021-03-25 19:16:39 -0700
  • fe6e32be9d Update vector generating script and regenerate vectors Bogdan Opanchuk 2021-03-20 20:25:27 -0700
  • 0f82580c7e Add some API docs Bogdan Opanchuk 2021-03-20 20:06:03 -0700
  • bcb0071f9e Update docs Bogdan Opanchuk 2021-03-20 18:19:36 -0700
  • c401c52e92 Add tests Bogdan Opanchuk 2021-03-19 20:21:01 -0700
  • f58a2580dc curve_scalar: don't check range in __init__, only in publicly used constructors Bogdan Opanchuk 2021-03-19 20:18:28 -0700
  • d65969761c Skip rust-umbral tests if the library is not available Bogdan Opanchuk 2021-03-19 22:35:39 -0700
  • 9e87006a9b Add back performance tests Bogdan Opanchuk 2021-03-19 15:53:35 -0700
  • 6af41b09d9 Remove repeated casting to bytes from hashing calls Bogdan Opanchuk 2021-03-18 19:11:21 -0700
  • c419705245 Add SecretKeyFactory Bogdan Opanchuk 2021-03-19 21:34:44 -0700
  • d532ef1383 Move all OpenSSL stuff into one module, move around some low-level details Bogdan Opanchuk 2021-03-18 19:01:56 -0700
  • b96888cafb Add reencryption functionality Bogdan Opanchuk 2021-03-17 21:34:12 -0700
  • d6626ba1a6 Add generate_kfrags() Bogdan Opanchuk 2021-03-17 16:24:41 -0700
  • 2c28ae8bc2 Add Capsule class and encrypt()/decrypt_original() Bogdan Opanchuk 2021-03-16 16:41:05 -0700
  • f33431d92a Working secret & public keys Bogdan Opanchuk 2021-03-15 22:07:09 -0700
  • f030fd3353 Use a composable approach for serialization Bogdan Opanchuk 2021-03-16 16:39:52 -0700
  • 2d9166525a
    Bump pyyaml from 4.2b4 to 5.4 dependabot[bot] 2021-03-25 21:35:08 +0000
  • 54ba9bb38f Exclude abstract methods during coverage tests Bogdan Opanchuk 2021-03-20 16:29:49 -0700
  • 2050e3c168 Remove unused dependencies Bogdan Opanchuk 2021-03-19 22:44:59 -0700
  • 439b675e65 Drop Py3.5 support Bogdan Opanchuk 2021-03-19 22:35:49 -0700
  • c46ae5daa6
    Bump jinja2 from 2.10 to 2.11.3 dependabot[bot] 2021-03-19 21:40:04 +0000
  • bbf168e08b Clean slate Bogdan Opanchuk 2021-03-15 19:44:24 -0700
  • d2e3558e3b replaces cryptography.hazmat.primitives.BLAKE2b with hashlib.Blake2b from Python standardlib damon 2021-01-21 13:57:02 -0800
  • 38b2aae3fb update tests to accomodate library changes damon 2021-01-21 12:14:47 -0800
  • 447d143ef4
    Bump cryptography from 2.5 to 3.2 dependabot[bot] 2020-10-27 20:54:00 +0000
  • 6696ebb2b3 Verify Capsules once on creation Bogdan Opanchuk 2020-09-11 22:17:39 -0700
  • 3e95809fea Remove code duplication from `decrypt*` functions Bogdan Opanchuk 2020-09-11 21:45:20 -0700
  • ca86304432 Attach a proof to a cfrag on creation unconditionally Bogdan Opanchuk 2020-06-03 21:56:50 -0700