Commit Graph

530 Commits (ef9635d3bbb92bb9eb4255956431ad019ceb1fff)

Author SHA1 Message Date
David Nuñez 09a8a249a5 Some fixes to README here and there 2018-03-18 02:44:58 +01:00
David Nuñez 010daae066 Made pre.challenge and pre.check_challenge private 2018-03-18 01:53:32 +01:00
David Nuñez 5be059770e Made _decapsulate_reencrypted private 2018-03-18 01:49:52 +01:00
David Nuñez 0639854a85 Changed order of arguments in pre.decrypt() 2018-03-18 01:48:05 +01:00
David Nuñez 23489b8d24 Updated to current interface of split_rekey(), without vkeys 2018-03-18 01:23:30 +01:00
David Nuñez 17467431ca Dropped pre.gen_priv() and pre.priv2pub()
Resolves #90
2018-03-15 11:07:56 +01:00
David Nuñez f1211478a8 c_frag, k_frag --> cfrag, kfrag 2018-03-15 10:49:18 +01:00
David Nuñez 965d278cfb Remove unnecessary test
This made sense before, when we still had the consistency checks for
kFrags
2018-03-15 10:43:46 +01:00
David Nuñez 21df6a9160 More specific error handling in test 2018-03-15 10:40:02 +01:00
David Nuñez c8e2f6a588 Remove unnecessary assertions in tests 2018-03-15 10:32:57 +01:00
David Nuñez d9f20943cd Fixed undesired behavior of some tests 2018-03-14 12:24:15 +01:00
David Nuñez 5bd0503ca8 Improvements to the tests 2018-03-14 12:00:04 +01:00
David Nuñez 3990b7a499 Fixed notation of scalar multiplication operations 2018-03-14 10:37:41 +01:00
David Nuñez 5edd97e5c7 Merge remote-tracking branch 'nucypher/master' 2018-03-14 09:49:01 +01:00
Tux ccdb877a34
Merge pull request #88 from KPrasch/master
Deweaponize test data language
2018-03-13 16:54:48 -06:00
Kieran Prasch 89b7477311 Deweaponize test data language, and suggest more a peaceful usage of pyUmbral. 2018-03-13 09:53:50 -07:00
David Nuñez a66cf59c48 SHA512 --> BLAKE2b
Resolves #60
2018-03-13 15:43:25 +01:00
David Nuñez 43d1ab206b Added metadata as optional input to the challenge protocol 2018-03-13 15:33:23 +01:00
David Nuñez dda693450e KFrag ids can only be computed by Bob now 2018-03-13 13:08:30 +01:00
David Nuñez 35e01bbb02 Merge remote-tracking branch 'nucypher/master' 2018-03-12 08:59:21 +01:00
Tux 9a53b82047
Merge pull request #85 from tuxxy/shortcut_crypto_io
Implement methods to convert Umbral keys to cryptography.io keys in `keys` and some other changes.
2018-03-09 18:58:34 -07:00
tuxxy ec88c7b856 Use better result names for OpenSSL calls in to_cryptography_pubkey (thanks, @jmyles) 2018-03-08 13:22:02 -07:00
tuxxy e57473b70c Reduce verbosity of names 2018-03-08 13:21:33 -07:00
Tux 56768baee4
Merge pull request #1 from jMyles/code-org
Cleaner names for OpenSSL operations and results.  Also, closing the …
2018-03-08 12:49:36 -07:00
jMyles 9c348eb9df Cleaner names for OpenSSL operations and results. Also, closing the context manager when it's no longer needed. 2018-03-08 09:54:18 -08:00
tuxxy 1d96f84fca Uses a constant CHAHCA20_KEY_SIZE instead of unused SecretBox constant 2018-03-07 18:37:33 -07:00
tuxxy 2b7742f9d2 Add tests 2018-03-07 18:30:40 -07:00
tuxxy 9578a3d52e Remove to_cryptography_pub_key and to_cryptography_priv_key on bignum and point 2018-03-07 18:30:25 -07:00
tuxxy aada52b392 Implement to_cryptography_pubkey/privkey in keys.py 2018-03-07 18:29:41 -07:00
David Núñez 4feca68bd7
Merge pull request #82 from cygnusv/master
Missing checks and other improvements
2018-03-06 09:42:30 +01:00
David Nuñez a1ab1e2e34 Fix the re-encryption description in the Readme 2018-02-27 10:10:12 +01:00
David Nuñez 82e9117e8f Comments in KFrag.verify() 2018-02-27 10:08:03 +01:00
David Nuñez 1678a6cc27 Some changes to variable names 2018-02-27 09:08:27 +01:00
David Nuñez 5ea439a1b1 Corrected basic example 2018-02-26 16:02:31 +01:00
David Nuñez 560e986c44 Removed vkeys from examples 2018-02-26 15:44:17 +01:00
David Nuñez c1a30c3056 Removed KFrag consistency checks (#77) 2018-02-26 15:36:56 +01:00
David Nuñez 5534a3a838 Missing check in KFrag.verify() 2018-02-26 10:35:05 +01:00
David Nuñez fba9b0bba1 Original capsule components are now authenticated by the AEAD 2018-02-26 10:29:02 +01:00
David Nuñez 5a5d239ec7 Method _original_to_bytes to get bytes representation of original components of a capsule 2018-02-26 10:26:50 +01:00
David Nuñez e1a3c03184 Missing check in the challenge protocol 2018-02-26 10:05:01 +01:00
Tux f1ed0a57e4
Actually use random shares in demo 2018-02-24 02:47:18 -07:00
Justin Holmes 70482360e5
Merge pull request #80 from jMyles/tests-and-docs
Last three PRs plus two more tests
2018-02-23 15:38:15 -08:00
jMyles 1dabacba37 Fixing some imports. 2018-02-23 01:00:16 -08:00
jMyles 4420e27f21 Capsule creation with the wrong type now raises TypeError - updating a test to reflect that. 2018-02-23 00:59:55 -08:00
jMyles 86074d71da Test showing that a Point can't be made if it's not on its curve. 2018-02-22 23:31:18 -08:00
jMyles fab9270c71 Test showing that a Point can't be made if it's not on its curve. 2018-02-22 23:30:40 -08:00
jMyles a0edb155e5 Capsule with wrong Type raises TypeError now, not ValueError. 2018-02-22 23:19:47 -08:00
Kieran Prasch 2fe575ce6d Reorganizes tests into a descriptive namespace. 2018-02-22 22:24:09 -08:00
Kieran Prasch ca75952dcf Adds .coveragerc; Omit modules from coverage reporting, thus skewing results. 2018-02-22 22:21:36 -08:00
Kieran Prasch 9c653cce9f Moves example script to new docs/examples sub-directory. 2018-02-22 22:20:48 -08:00