David Núñez
0d206cb279
Add check for 0<M<=N in pre.split_rekey. Tests for that.
2018-06-25 13:55:55 -07:00
David Núñez
60d2492ed9
Tests simple api with intermediate serialization
...
* Added a multicurve variant of the test, but it fails, so it's set to skip
2018-06-06 11:26:39 +02:00
David Núñez
5618b25292
Simplified public API for umbral.pre
...
* Functions in `pre` now only take Umbral keys as arguments, rather than primitive types (Point, CurveBN)
* Remove unnecessary arguments from public facing and internal methods when they can be extracted from a Capsule, UmbralPublicKey or UmbralPrivateKey
* Adds a getter in Capsule for correctness keys
* Adapts the test suite to new simplified API
2018-06-05 02:52:16 +02:00
David Núñez
d5b434c013
Adapts tests to new way to use params
2018-06-05 02:11:32 +02:00
David Núñez
09bed34305
Remove keypairs fixtures from test_simple_api
2018-06-05 02:11:32 +02:00
David Núñez
6a4c1237e5
Renaming keypairs (encrypting --> receiving)
...
* Fixes some weird test patterns, where split_rekey is used from Alice to Alice
2018-05-31 12:46:43 +02:00
jMyles
a9e431a152
params now injected into Capsule one - in __init__
2018-05-30 18:28:54 -07:00
jMyles
e6dafb956e
Modifications in responses to various discussions and comments throughout the day.
2018-05-30 15:51:33 -07:00
jMyles
9e05cf436c
set_keys instead of set_three_keys; using it in test_simple_api.
2018-05-30 13:12:48 -07:00
jMyles
d8f5d53884
Remoing get-or-create flow in favor of simple setting.
2018-05-30 12:44:07 -07:00
jMyles
fd736166a6
All the old tests now pass.
2018-05-29 22:51:01 -07:00
jMyles
776abe5d2c
Modified tests to adhere keys to Capsule. SEGFAULT! See #156
2018-05-29 22:28:14 -07:00
jMyles
e89c7b6c68
Using alices_keys fixture instead of boilerplate.
2018-05-25 16:52:17 -07:00
jMyles
a7d203aa44
Tests that were using old fixture now work with new one.
2018-05-25 15:43:19 -07:00
jMyles
59af1ab476
Injecting all the right objects in order to ECDSA the KFrags in tests. Major cleanup required.
2018-05-24 19:02:19 -07:00
jMyles
caea15cb7a
Fixing parameter order and cleaning up some imports.
2018-04-02 19:00:41 -07:00
tuxxy
34807581e6
Inject params on encrypt, decrypt, and open_capsule
2018-04-02 18:16:43 -07:00
David Nuñez
0639854a85
Changed order of arguments in pre.decrypt()
2018-03-18 01:48:05 +01: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
1678a6cc27
Some changes to variable names
2018-02-27 09:08:27 +01:00
David Nuñez
c1a30c3056
Removed KFrag consistency checks ( #77 )
2018-02-26 15:36:56 +01:00
Kieran Prasch
2fe575ce6d
Reorganizes tests into a descriptive namespace.
2018-02-22 22:24:09 -08:00