David Nuñez
|
094b8c9e0c
|
Remove metadata as parameter of pre.verify_correctness_proof()
|
2018-04-18 12:00:09 +02:00 |
David Nuñez
|
2885a1f4dc
|
Adapted tests to metadata inside CorrectnessProofs
TODO: Figure out final size for CorrectnessProofs
|
2018-04-18 11:41:47 +02:00 |
David Nuñez
|
72a9e7be06
|
Include metadata inside the CorrectnessProof
|
2018-04-18 11:37:40 +02:00 |
tuxxy
|
dbbc11873a
|
Fix flow of hash_to_bn
|
2018-04-18 00:37:37 -06:00 |
David Nuñez
|
fc6f7a1ac3
|
Adapting tests to new setting with CorrectnessProof
|
2018-04-18 00:11:05 +02:00 |
David Nuñez
|
071d4b163a
|
TODO: Figure out final size for CFrags with proofs
|
2018-04-18 00:10:33 +02:00 |
David Nuñez
|
274699b2a1
|
Proofs are now part of CFrags so we can drop it as an argument to _verify_correctness_proof
|
2018-04-18 00:10:10 +02:00 |
tuxxy
|
4a244a01a3
|
Use arg packing in hash_to_bn and check if item is bytes before hashing
Use default_params
|
2018-04-17 14:57:33 -06:00 |
tuxxy
|
0fd530b74f
|
Add hash_to_bn as a classmethod on BigNum
|
2018-04-17 13:15:12 -06:00 |
David Nuñez
|
a03837dc72
|
More renaming
|
2018-04-17 13:02:04 +02:00 |
David Nuñez
|
3610004773
|
pre._check_challenge() --> pre._verify_correctness_proof()
|
2018-04-17 12:43:08 +02:00 |
David Nuñez
|
e275cb66c6
|
pre._challenge() --> pre._prove_correctness
|
2018-04-17 12:29:44 +02:00 |
David Nuñez
|
45b4529ca1
|
Adapted tests to CorrectnessProof
|
2018-04-17 12:17:27 +02:00 |
David Nuñez
|
1a8bb867ae
|
Refactored pre.ChallengeResponse into fragments.CorrectnessProof
|
2018-04-17 12:17:14 +02:00 |
David Nuñez
|
bdc3a55168
|
Merge remote-tracking branch 'nucypher/master'
|
2018-04-17 09:59:37 +02:00 |
David Nuñez
|
b5eab0b6ec
|
Restore inherit from object
|
2018-04-16 23:55:32 +02:00 |
David Nuñez
|
ebd141a2f0
|
Default keying material is 64 bytes
|
2018-04-16 23:48:19 +02:00 |
David Nuñez
|
6fb62f5c8e
|
Removed AbstractUmbralKeyingMaterial class
|
2018-04-16 23:44:43 +02:00 |
David Nuñez
|
53c10bc300
|
Reverted changes to `hash_to_bn`
|
2018-04-16 23:25:25 +02:00 |
David Nuñez
|
ae95441b35
|
derive_private_key_from_label --> derive_privkey_by_label
|
2018-04-16 23:08:04 +02:00 |
David Nuñez
|
4818c00bfb
|
Merge remote-tracking branch 'nucypher/master' into derive-keys-from-labels
# Conflicts:
# tests/test_keys/test_umbral_keys.py
# umbral/keys.py
|
2018-04-16 23:00:29 +02:00 |
David Nuñez
|
16498e2058
|
Some documentation for UmbralKeyingMaterial
|
2018-04-16 13:04:37 +02:00 |
David Nuñez
|
7c00469be4
|
Tests for serialization of UmbralKeyingMaterial
|
2018-04-16 12:52:05 +02:00 |
David Nuñez
|
3f93331a3a
|
Adapt tests to UmbralKeyingMaterial
|
2018-04-16 12:44:20 +02:00 |
David Nuñez
|
3cb91cc981
|
Enter class UmbralKeyingMaterial
|
2018-04-16 12:44:04 +02:00 |
David Nuñez
|
c83e706f8a
|
Generic method to handle password-protected key material
|
2018-04-16 11:45:29 +02:00 |
David Nuñez
|
ed2ab9dbb0
|
Abstract class for UmbralKeyingMaterial
This class generalizes current UmbralPrivateKey and the upcoming
UmbralKeyingMaterial
|
2018-04-16 11:13:01 +02:00 |
Tux
|
1d64a93b14
|
Merge pull request #114 from jMyles/publicKeys
Test for UmbralPublicKey equality, using UmbralPublicKey as dict key.
|
2018-04-14 19:16:05 -06:00 |
jMyles
|
94ff3d310d
|
UmbralPublicKey: Better __eq__ and implementing __hash__.
|
2018-04-14 08:59:37 -07:00 |
jMyles
|
0bd004d454
|
Test for using UmbralPublicKey as a dict key.
|
2018-04-14 08:59:04 -07:00 |
jMyles
|
3257b3853c
|
Test for UmbralPublicKey equality. Fixes #106.
|
2018-04-14 08:57:52 -07:00 |
Justin Holmes
|
71b1631a9d
|
Merge pull request #112 from tuxxy/add-encoder-param
Add encoder/decoder params to to_bytes and from_bytes for Umbral keys
|
2018-04-11 19:04:50 -07:00 |
tuxxy
|
75846e901f
|
Merge branch 'add-encoder-param' of github.com:tuxxy/pyUmbral into add-encoder-param
|
2018-04-11 19:54:21 -06:00 |
tuxxy
|
b6d0915970
|
Update docstrings
|
2018-04-11 19:50:46 -06:00 |
Tux
|
b1b4cf5d59
|
Merge branch 'master' into add-encoder-param
|
2018-04-11 19:32:08 -06:00 |
Tux
|
ed4a2a8add
|
Merge pull request #113 from kikofernandez/consistent-classmethod-api
Correction of staticmethod to classmethod
|
2018-04-11 16:22:21 -06:00 |
Kiko Fernandez Reyes
|
4f28bdea6d
|
correction of staticmethod to classmethod
|
2018-04-11 13:25:49 +02:00 |
tuxxy
|
7206415055
|
Add test for encoder/decoder params in to/from_bytes functions
|
2018-04-10 17:09:38 -06:00 |
tuxxy
|
7d89cef9df
|
Add encoder/decoder params to to_bytes/from_bytes functions
Fix syntax issues
|
2018-04-10 17:09:38 -06:00 |
Tux
|
60a4a07de5
|
Update README.rst
|
2018-04-09 21:30:52 -06:00 |
David Nuñez
|
4cebe81631
|
Remove commented breakpoint
|
2018-04-09 12:15:48 +02:00 |
David Nuñez
|
8bdd40b099
|
Add tests for derived keys generation
|
2018-04-09 12:13:15 +02:00 |
David Nuñez
|
f03b8a8422
|
Add derive_key_from_label function to UmbralPrivateKey (solves #98)
|
2018-04-09 12:03:55 +02:00 |
David Nuñez
|
b14ffc0746
|
Refine hash_to_bn to rely on isinstance instead of AttributeErros
|
2018-04-09 12:02:48 +02:00 |
David Nuñez
|
308bf3ee68
|
Merge remote-tracking branch 'nucypher/master'
|
2018-04-09 10:40:34 +02:00 |
David Núñez
|
9727fa5cdc
|
Merge pull request #108 from cygnusv/tests-improvements
More representative challenge metadata example in tests
|
2018-04-09 10:39:27 +02:00 |
David Nuñez
|
2e4d15dedd
|
Merge remote-tracking branch 'nucypher/master' into tests-improvements
|
2018-04-04 12:26:12 +02:00 |
David Nuñez
|
ad87f2f2f1
|
Merge remote-tracking branch 'nucypher/master' into tests-improvements
|
2018-04-04 12:25:34 +02:00 |
Tux
|
08c7283c52
|
Merge pull request #104 from jMyles/params-injection
Correcting param order re: #102
|
2018-04-02 20:11:25 -06:00 |
jMyles
|
caea15cb7a
|
Fixing parameter order and cleaning up some imports.
|
2018-04-02 19:00:41 -07:00 |