Commit Graph

  • 861a1a2be2 Create openssl module and add OpenSSL helper utilities tuxxy 2018-04-21 14:44:22 -0600
  • bc783bd50a
    Merge pull request #132 from jMyles/codeOrganization Tux 2018-05-01 17:50:25 -0600
  • ebe0c8fa04 Removing cryptography.io from setup.py; using python markers in Pipfile to use wheels. jMyles 2018-05-01 14:29:55 -0700
  • baaa7c228a Adding pre-compiled wheel to repo and to Pipfile. Also adding dependencies from cryptography.io so that they get locked. jMyles 2018-04-30 15:18:51 -0700
  • aeb8ad3298 Fix calls to CurveBN.hash() David Nuñez 2018-05-02 01:14:42 +0200
  • d0eecfb9c5 Improved version of CurveBN.hash_to_bn(), now called CurveBN.hash() David Nuñez 2018-05-02 01:13:58 +0200
  • a73ad4a37b Raise ValueError in CurveBN constructor if the bignum is not in the curve David Nuñez 2018-05-02 01:15:18 +0200
  • 84dcb4eaaf Removed unused import David Nuñez 2018-04-30 03:47:43 +0200
  • 0b2e69749c Use Blake2b instead of SHA256 in unsafe_hash_to_point David Nuñez 2018-04-30 03:45:23 +0200
  • 4036cdc8b0 Use cls instead of class name in class methods David Nuñez 2018-04-30 03:41:34 +0200
  • e57cb01c23 Removed Point.get_order_from_curve David Nuñez 2018-04-30 03:33:56 +0200
  • 197f08908b Remove params.CURVE_MINVAL_HASH constant David Nuñez 2018-04-30 03:30:42 +0200
  • 08a9a41aad Constant-time version `CurveBN.hash_to_bn` David Nuñez 2018-04-30 02:45:08 +0200
  • ce3caf9dfb Remove unused import hmac David Nuñez 2018-04-30 00:19:35 +0200
  • 60c7ef6c1c
    Merge pull request #127 from tuxxy/cleanup Tux 2018-04-27 10:57:55 -0600
  • 8261399a76 Make openssl _bn_is_on_curve vars more clear; check if randomly generated bn is on curve; update CurveBN docstring tuxxy 2018-04-25 14:03:01 -0600
  • aee01091fd Updated example David Nuñez 2018-04-25 12:02:35 +0200
  • 7eec2a0c75 Improve docstrings a bit tuxxy 2018-04-24 17:02:23 -0600
  • 2b8fe610ca Include y-byte in Point.get_size tuxxy 2018-04-24 16:54:11 -0600
  • 92ec0f2a8c Use better method for determining keysize in bytes (thanks @cygnusv) tuxxy 2018-04-24 16:52:09 -0600
  • 6c2dd86522 Remove __hash__ on CurveBN and make Capsule._attached_cfrags a list tuxxy 2018-04-24 16:20:48 -0600
  • 150714fb00 Add get_size classmethods for CurveBN, Point, fragments, and CorrectnessProof. tuxxy 2018-04-23 12:54:06 -0600
  • 2dfb69e6b5 Cache pubkey on UmbralPrivateKey for #121 tuxxy 2018-04-23 12:40:16 -0600
  • 923ad2944f Rename BigNum -> CurveBN tuxxy 2018-04-23 12:03:18 -0600
  • 6a1cb6832c Implement OpenSSL module in BigNum, Point, and key classes tuxxy 2018-04-23 10:23:16 -0600
  • 920b705640 Create openssl module and add OpenSSL helper utilities tuxxy 2018-04-21 14:44:22 -0600
  • c5a9fc6dd9
    Merge pull request #129 from jMyles/master Justin Holmes 2018-04-24 11:06:53 -0700
  • 63f63b4235 Big renaming David Nuñez 2018-04-23 11:33:43 +0200
  • 0d2f3af094
    Merge ac016a7ae5 into 01d8e6f112 David Núñez 2018-04-24 08:44:22 +0000
  • ac016a7ae5 Merge remote-tracking branch 'nucypher/master' into renaming-attributes David Nuñez 2018-04-24 10:44:06 +0200
  • 01d8e6f112
    Merge pull request #115 from cygnusv/cfrags-with-correctness-proof David Núñez 2018-04-24 10:36:15 +0200
  • c7d6644447 A simpler example for re-encryption metadata David Nuñez 2018-04-24 10:35:21 +0200
  • 97f77cfcdc Fixed import David Nuñez 2018-04-24 10:23:40 +0200
  • 316bb6b5de Test for decryption fail when there is no proof but it was expected David Nuñez 2018-04-24 10:23:30 +0200
  • 02ea0aaf3b Added `check_proof` parameter to pre.decrypt David Nuñez 2018-04-24 10:21:43 +0200
  • 0133ffed35
    Merge b85d81e334 into 47dd669302 Justin Holmes 2018-04-24 07:54:28 +0000
  • b85d81e334 Some of the old hash_to_bn slipped in; merging those fixes back in. Also more style fixes from the rename merge. jMyles 2018-04-24 00:53:35 -0700
  • 6554663e69 Big renaming David Nuñez 2018-04-23 11:33:43 +0200
  • 1cfadf4d5f Some style touch-ups. jMyles 2018-04-24 00:46:04 -0700
  • 4304a7da40 Improve readability of valid_kfrag_signature check David Nuñez 2018-04-24 01:18:26 +0200
  • 12c6b5edd9 Make use of short-circuit logic David Nuñez 2018-04-24 00:37:48 +0200
  • d651d8b438 Merge remote-tracking branch 'nucypher/master' into renaming-attributes David Nuñez 2018-04-23 23:48:04 +0200
  • 7d9bc19fc4 Fix call to hash_to_bn David Nuñez 2018-04-23 23:13:11 +0200
  • f1a847d219 Merge remote-tracking branch 'nucypher/master' into cfrags-with-correctness-proof David Nuñez 2018-04-23 22:58:52 +0200
  • 47dd669302
    Merge pull request #118 from tuxxy/arg-packing Tux 2018-04-23 13:18:49 -0600
  • 8ec340e325 Big renaming David Nuñez 2018-04-23 11:33:43 +0200
  • 036b28571a Tests for multiple possibilities of serialization of cfrags with/without proofs and with/without metadata David Nuñez 2018-04-23 00:09:58 +0200
  • 267e6ea383 Fix problem with serialization of proofs when optional David Nuñez 2018-04-23 00:09:22 +0200
  • cb326488c9 Correctness proofs are now optional, although default setting is True David Nuñez 2018-04-22 23:43:39 +0200
  • f646fdc241 More informative names in _verify_correctness() David Nuñez 2018-04-22 23:34:13 +0200
  • b714f47d10 Some renaming David Nuñez 2018-04-19 13:14:33 +0200
  • bdab54bb8d Refine correctness tests David Nuñez 2018-04-19 13:04:03 +0200
  • b725a5e9ac pre._verify_correctness_proof() --> pre._verify_correctness() David Nuñez 2018-04-19 13:00:19 +0200
  • 159b2dd720 Merge remote-tracking branch 'nucypher/master' into cfrags-with-correctness-proof David Nuñez 2018-04-19 00:23:48 +0200
  • 3f03ce769d Fixed failing test David Nuñez 2018-04-19 00:23:35 +0200
  • ab748c67b5 Check that an UmbralCorrectnessError is raised, and that it includes the incorrect cfrags David Nuñez 2018-04-18 23:39:46 +0200
  • b39b1cadf9 I said no more Challenges! David Nuñez 2018-04-18 23:02:10 +0200
  • c13da88c62 No more Challenge for you David Nuñez 2018-04-18 23:00:21 +0200
  • fca002632e Enter UmbralCorrectnessError David Nuñez 2018-04-18 22:59:27 +0200
  • 88961b35d3 Reformat David Nuñez 2018-04-18 22:40:05 +0200
  • 8e25cd2666
    Merge pull request #111 from cygnusv/derive-keys-from-labels Tux 2018-04-18 12:46:56 -0600
  • 0e064c4046 Now re-encryption correctness is always verified during decryption David Nuñez 2018-04-18 15:14:10 +0200
  • d87af0b129 Remove metadata as parameter of verification in tests David Nuñez 2018-04-18 12:00:26 +0200
  • 094b8c9e0c Remove metadata as parameter of pre.verify_correctness_proof() David Nuñez 2018-04-18 12:00:09 +0200
  • 2885a1f4dc Adapted tests to metadata inside CorrectnessProofs David Nuñez 2018-04-18 11:41:47 +0200
  • 72a9e7be06 Include metadata inside the CorrectnessProof David Nuñez 2018-04-18 11:37:40 +0200
  • dbbc11873a Fix flow of hash_to_bn tuxxy 2018-04-18 00:37:37 -0600
  • fc6f7a1ac3 Adapting tests to new setting with CorrectnessProof David Nuñez 2018-04-18 00:11:05 +0200
  • 071d4b163a TODO: Figure out final size for CFrags with proofs David Nuñez 2018-04-18 00:10:33 +0200
  • 274699b2a1 Proofs are now part of CFrags so we can drop it as an argument to _verify_correctness_proof David Nuñez 2018-04-18 00:10:10 +0200
  • 4a244a01a3 Use arg packing in hash_to_bn and check if item is bytes before hashing tuxxy 2018-04-17 13:36:31 -0600
  • 0fd530b74f Add hash_to_bn as a classmethod on BigNum tuxxy 2018-04-17 13:15:12 -0600
  • a03837dc72 More renaming David Nuñez 2018-04-17 13:02:04 +0200
  • 3610004773 pre._check_challenge() --> pre._verify_correctness_proof() David Nuñez 2018-04-17 12:43:08 +0200
  • e275cb66c6 pre._challenge() --> pre._prove_correctness David Nuñez 2018-04-17 12:29:44 +0200
  • 45b4529ca1 Adapted tests to CorrectnessProof David Nuñez 2018-04-17 12:17:27 +0200
  • 1a8bb867ae Refactored pre.ChallengeResponse into fragments.CorrectnessProof David Nuñez 2018-04-17 12:17:14 +0200
  • bdc3a55168 Merge remote-tracking branch 'nucypher/master' David Nuñez 2018-04-17 09:59:37 +0200
  • b5eab0b6ec Restore inherit from object David Nuñez 2018-04-16 23:55:32 +0200
  • ebd141a2f0 Default keying material is 64 bytes David Nuñez 2018-04-16 23:48:19 +0200
  • 6fb62f5c8e Removed AbstractUmbralKeyingMaterial class David Nuñez 2018-04-16 23:44:43 +0200
  • 53c10bc300 Reverted changes to `hash_to_bn` David Nuñez 2018-04-16 23:25:25 +0200
  • ae95441b35 derive_private_key_from_label --> derive_privkey_by_label David Nuñez 2018-04-16 23:08:04 +0200
  • 4818c00bfb Merge remote-tracking branch 'nucypher/master' into derive-keys-from-labels David Nuñez 2018-04-16 23:00:29 +0200
  • 16498e2058 Some documentation for UmbralKeyingMaterial David Nuñez 2018-04-16 13:04:37 +0200
  • 7c00469be4 Tests for serialization of UmbralKeyingMaterial David Nuñez 2018-04-16 12:52:05 +0200
  • 3f93331a3a Adapt tests to UmbralKeyingMaterial David Nuñez 2018-04-16 12:44:20 +0200
  • 3cb91cc981 Enter class UmbralKeyingMaterial David Nuñez 2018-04-16 12:44:04 +0200
  • c83e706f8a Generic method to handle password-protected key material David Nuñez 2018-04-16 11:45:29 +0200
  • ed2ab9dbb0 Abstract class for UmbralKeyingMaterial David Nuñez 2018-04-16 11:13:01 +0200
  • 1d64a93b14
    Merge pull request #114 from jMyles/publicKeys Tux 2018-04-14 19:16:05 -0600
  • 94ff3d310d UmbralPublicKey: Better __eq__ and implementing __hash__. jMyles 2018-04-14 08:59:37 -0700
  • 0bd004d454 Test for using UmbralPublicKey as a dict key. jMyles 2018-04-14 08:59:04 -0700
  • 3257b3853c Test for UmbralPublicKey equality. Fixes #106. jMyles 2018-04-14 08:57:52 -0700
  • 71b1631a9d
    Merge pull request #112 from tuxxy/add-encoder-param Justin Holmes 2018-04-11 19:04:50 -0700
  • 75846e901f Merge branch 'add-encoder-param' of github.com:tuxxy/pyUmbral into add-encoder-param tuxxy 2018-04-11 19:54:21 -0600
  • b6d0915970 Update docstrings tuxxy 2018-04-11 19:50:46 -0600
  • b1b4cf5d59
    Merge branch 'master' into add-encoder-param Tux 2018-04-11 19:32:08 -0600
  • ed4a2a8add
    Merge pull request #113 from kikofernandez/consistent-classmethod-api Tux 2018-04-11 16:22:21 -0600
  • 4f28bdea6d correction of staticmethod to classmethod Kiko Fernandez Reyes 2018-04-11 11:32:28 +0200