Commit Graph

  • 18e596abda Cleaned old prints David Nuñez 2018-01-30 12:51:06 +0100
  • 201a40132f Test to check compliance of SECP256k1 generator wrt to SEC standard David Nuñez 2018-01-30 12:23:58 +0100
  • b7bd6e8d85 Added hash_to_point function David Nuñez 2018-01-30 12:21:33 +0100
  • 40d3bdca06 A test for the unequal cases. jMyles 2018-01-27 20:00:03 -0800
  • d95bedaef2 Methods for establishing equality. jMyles 2018-01-27 19:45:22 -0800
  • 0df84c4104 Test for compatibility from reconstructed bytes. jMyles 2018-01-27 19:44:20 -0800
  • 3fb70db054 Better test for equality for original capsule. jMyles 2018-01-27 19:44:08 -0800
  • 5d9696a29b Typo pointed out by @cygnusv. jMyles 2018-01-29 07:36:42 -0800
  • f375e99b32 Capsule.get_contents() is now Capsule.decrypt() and Capsule._get_contents(). jMyles 2018-01-28 21:07:48 -0800
  • b6624bc688 Hanging contents() that was no longer used. jMyles 2018-01-28 21:07:30 -0800
  • 007ef5d626 Test now uses decrypt() instead of get_contents(). jMyles 2018-01-28 21:07:14 -0800
  • f3be38b634 Removing Capsule.open() jMyles 2018-01-28 18:08:01 -0800
  • b4744d8731 pre.decrypt_reencryted moved to capsule.get_contents jMyles 2018-01-28 17:56:34 -0800
  • 5e66579d4d Made decapsulate_reencrypted public. jMyles 2018-01-28 17:50:49 -0800
  • 3311bb6b8e Removed random from test imports. Also some linting. jMyles 2018-01-28 10:28:31 -0800
  • 68c9c27bbb Custom exception & raising it in proper place. Closes #39. jMyles 2018-01-27 18:27:50 -0800
  • 211a920cbe Test for invalid capsule raising an exception. jMyles 2018-01-27 18:27:37 -0800
  • 0240b0c1b2 Removing logic branch for the case where we don't have original capsule data. Closes #37. jMyles 2018-01-27 18:11:39 -0800
  • d943ba297a Moving _reconstructed_bytes into to_bytes. jMyles 2018-01-26 21:50:38 -0800
  • 0eef0c289c Touching up TODOs. jMyles 2018-01-26 21:48:00 -0800
  • c0782a2696 Single from_bytes method. See https://github.com/nucypher/pyUmbral/pull/24#discussion_r162469880 jMyles 2018-01-26 21:37:01 -0800
  • feb967da72 Prviate reconstruct method. jMyles 2018-01-26 21:27:05 -0800
  • 84b4f07d7a A quick sketch of logic for handling cases where we have a Capsule but no original components. See #37. jMyles 2018-01-26 21:26:29 -0800
  • a0530ec7b3 Private component names. jMyles 2018-01-26 21:25:48 -0800
  • cc7649ff2c Removing methods for Point addition. jMyles 2018-01-26 21:24:37 -0800
  • f792fdf54e PRE is no longer injected. jMyles 2018-01-26 21:19:29 -0800
  • 6a18e5f420 Method to get components for comparison. jMyles 2018-01-18 13:06:37 -0500
  • 33e655a403 We don't know for sure that we'll have the original data to check - maybe kick this out to a separate method? jMyles 2018-01-18 13:00:49 -0500
  • 2e2362e856 Using method to get points. jMyles 2018-01-18 13:00:21 -0500
  • 22007a26cc More fine-tuning of names. jMyles 2018-01-18 12:59:58 -0500
  • 9dee6dcccc Making byte attributes private. jMyles 2018-01-18 12:59:30 -0500
  • cb32627dec Methods from instantiating from bytes of either original or reconstructed; introducing concept of "contents." jMyles 2018-01-18 12:58:56 -0500
  • 0d2a697916 New Capsule.__init__ allows instantiation from either component set. jMyles 2018-01-18 12:58:09 -0500
  • 50f416d85e Some PEP8 cleanup. jMyles 2018-01-18 12:57:54 -0500
  • da71b5c377 We're not using default_backend at the moment. jMyles 2018-01-18 12:57:36 -0500
  • c3346ca53f Point.from_bytes is now a classmethod. jMyles 2018-01-18 12:56:24 -0500
  • a11ea36e61 We can get a Capsule from either original or reconstructed bytes. jMyles 2018-01-18 12:55:07 -0500
  • 6c0f260446 Comparing newly reconstructed Capsule (which is just a Capsule) to original. jMyles 2018-01-18 12:50:50 -0500
  • 418f7be540 Test for single capsule, not ReconstructedCapsule. jMyles 2018-01-18 12:49:49 -0500
  • b22508e2d9 Fix UmbralParameters on PRE.__init__ tuxxy 2018-01-24 18:16:56 -0700
  • ceec8ad8ed
    Merge pull request #33 from tuxxy/aead-dem Tux 2018-01-26 00:21:31 -0700
  • 050b0b3bdd Use constants in tests and add comment tuxxy 2018-01-25 17:06:17 -0700
  • 6379605eb5 Merge branch 'master' of github.com:nucypher/pyUmbral tuxxy 2018-01-24 18:19:29 -0700
  • 5043a49488 Fix UmbralParameters on PRE.__init__ tuxxy 2018-01-24 18:16:56 -0700
  • fd0879def1
    Merge pull request #34 from tuxxy/static-h-u Tux 2018-01-24 18:03:57 -0700
  • 831a2b6d67 Set params h and u to generator point and use default UmbralParameters on __init__ tuxxy 2018-01-24 15:16:34 -0700
  • 405a93cd35 Add tests for DEM and some fixes tuxxy 2018-01-24 14:52:49 -0700
  • c4c0d93b05 Switch to cryptography.io ChaCha20-Poly1305 AEAD tuxxy 2018-01-24 14:34:14 -0700
  • d91b0bf310
    Merge pull request #32 from nucypher/kms-depend Tux 2018-01-23 20:02:22 -0700
  • 21c0a32bd3
    Merge pull request #29 from tuxxy/kms-depend Tux 2018-01-23 20:01:12 -0700
  • f7687d0f81 Name unused variables tuxxy 2018-01-23 19:45:37 -0700
  • b1f04f7d54 Calculate recipient public key from recipient's private key in decrypt_reencrypted tuxxy 2018-01-23 13:50:14 -0700
  • 4974686d30 Use priv/pub_key_alice in test tuxxy 2018-01-23 13:46:12 -0700
  • 3eafb28897 Add tests and fix a few things tuxxy 2018-01-23 04:28:51 -0700
  • 250cf3c0ee Add simple API tuxxy 2018-01-23 03:13:08 -0700
  • 74f989e887 Use basic DEM principles tuxxy 2018-01-23 02:40:13 -0700
  • 3a8f4c81cd Add skeleton of DEM tuxxy 2018-01-23 00:40:36 -0700
  • 00c5089b8b Add tests for checking generated keys tuxxy 2018-01-23 00:34:33 -0700
  • 8cce1816fe Add gen_key classmethods to UmbralPrivateKey and UmbralPublicKey tuxxy 2018-01-23 00:27:07 -0700
  • 0131fb866f Undo DH derivation via affine tuxxy 2018-01-22 12:01:58 -0700
  • 0104492e16 Use compressed point in KDF tuxxy 2018-01-22 11:58:10 -0700
  • cc2adabc81
    Merge pull request #23 from tuxxy/key-classes Tux 2018-01-19 18:26:13 -0700
  • 428e9340c4 Merge DH fixes tuxxy 2018-01-19 16:48:49 -0700
  • e0e381ef97 Merge e61c42e8e1 into bce75f363d Justin Holmes 2018-01-19 17:59:15 +0000
  • e61c42e8e1 Merging @tuxxy's key work over his latest DH derivation touch-ups. jMyles 2018-01-19 12:54:27 -0500
  • bce75f363d Fix Diffie-Hellman derivation tuxxy 2018-01-19 07:08:18 -0700
  • 3af88da1f5 Allow KDF function to accept arbitrary data, not just points tuxxy 2018-01-19 07:00:52 -0700
  • 9bb9168323 Add tests for UmbralPrivateKey and UmbralPublicKey tuxxy 2018-01-19 05:54:58 -0700
  • dd37964394 Implement save_key method on UmbralPublicKey tuxxy 2018-01-19 05:30:15 -0700
  • de56b5a033 Implement method save_key for UmbralPrivateKey with key encryption using Scrypt-Salsa20-Poly1305 tuxxy 2018-01-19 05:27:54 -0700
  • 03d2a678cf Implement classmethod load_key for UmbralPrivate/PublicKey classes tuxxy 2018-01-19 03:42:53 -0700
  • 8b5fec3fdb Add skeleton UmbralPrivateKey and UmbralPublicKey objects tuxxy 2018-01-18 00:43:40 -0700
  • 716c4a3b45 Use additive notation for scalar multiplication tuxxy 2018-01-18 00:30:36 -0700
  • 00e6233399 Merge bcfd1f23d1 into 82bb5f880c Justin Holmes 2018-01-19 07:55:40 +0000
  • bcfd1f23d1 Removing previous locations. jMyles 2018-01-19 02:00:15 -0500
  • ff1a7d2229 Moving Capsule and CapsuleFrag. jMyles 2018-01-19 01:59:58 -0500
  • ff3a520191 Moving PRE to its own module, albeit still a class at the moment. jMyles 2018-01-19 01:59:34 -0500
  • 97869978aa Merge 681baa63c6 into 82bb5f880c Justin Holmes 2018-01-19 06:34:26 +0000
  • 681baa63c6 Walking back the methods for Point addition. jMyles 2018-01-19 01:12:45 -0500
  • aaa706ea30 Walking back the methods for Point addition. jMyles 2018-01-19 01:12:45 -0500
  • 49fee7bd2b Merge 0469a2416c into 82bb5f880c Justin Holmes 2018-01-18 19:30:36 +0000
  • 0469a2416c Showing error from not enough cFrags - see #22. jMyles 2018-01-18 14:27:49 -0500
  • d0af8c41b9 Method to get components for comparison. jMyles 2018-01-18 13:06:37 -0500
  • 2dd56a8226 We don't know for sure that we'll have the original data to check - maybe kick this out to a separate method? jMyles 2018-01-18 13:00:49 -0500
  • b2a734dc96 Using method to get points. jMyles 2018-01-18 13:00:21 -0500
  • 3be183d000 More fine-tuning of names. jMyles 2018-01-18 12:59:58 -0500
  • f8325ebd09 Making byte attributes private. jMyles 2018-01-18 12:59:30 -0500
  • 8d71991927 Methods from instantiating from bytes of either original or reconstructed; introducing concept of "contents." jMyles 2018-01-18 12:58:56 -0500
  • 33b16ea90a New Capsule.__init__ allows instantiation from either component set. jMyles 2018-01-18 12:58:09 -0500
  • f211701054 Some PEP8 cleanup. jMyles 2018-01-18 12:57:54 -0500
  • 54e7d60eb9 We're not using default_backend at the moment. jMyles 2018-01-18 12:57:36 -0500
  • cc5d5fd780 Point.from_bytes is now a classmethod. jMyles 2018-01-18 12:56:24 -0500
  • 86bfdb971b We can get a Capsule from either original or reconstructed bytes. jMyles 2018-01-18 12:55:07 -0500
  • 8ca56e7c60 Comparing newly reconstructed Capsule (which is just a Capsule) to original. jMyles 2018-01-18 12:50:50 -0500
  • cf7af6b0cb Test for single capsule, not ReconstructedCapsule. jMyles 2018-01-18 12:49:49 -0500
  • 0036d73891 Implement __rmul__ on Point and add type checking in BigNum.__mul__ tuxxy 2018-01-18 00:28:38 -0700
  • 82bb5f880c
    Merge pull request #18 from jMyles/master Justin Holmes 2018-01-17 14:22:39 -0500
  • a3a9180dfd More description of bytestrings lengths. jMyles 2018-01-17 00:54:06 -0500
  • 2145debe21 Using "kfrags" as a name for KFrags throughout test. jMyles 2018-01-17 00:53:40 -0500
  • 9689817b01 Here's what my linter has to say about the tests. :-) jMyles 2018-01-17 00:53:07 -0500