Kieran R Prasch
|
26875da4a2
|
Refactors mocked openssl fixture for reusability; additional tests for ec point arithmetic.
|
2018-02-10 04:49:51 -08:00 |
Kieran R Prasch
|
97cceedc30
|
Creates opeenssl mocked backend pytest fixture.
|
2018-02-10 04:49:51 -08:00 |
tuxxy
|
62f21bec48
|
Add codecov to Pipfile
Codecov attempt #2
|
2018-02-10 03:28:48 -07:00 |
tuxxy
|
f37618cd67
|
Add codecov
|
2018-02-10 03:17:40 -07:00 |
tuxxy
|
2ad0f21001
|
Add build status badge
|
2018-02-10 03:12:05 -07:00 |
tuxxy
|
6710f66313
|
Add travis config file
Add travis config file
Travis attempt #2
Travis attempt #3
Travis attempt #4
Travis attempt #5
|
2018-02-10 03:07:21 -07:00 |
tuxxy
|
aa3c11811e
|
Add as_bytes to UmbralPublicKey.load_key
|
2018-02-09 22:01:15 -07:00 |
jMyles
|
c67849897c
|
SECP256K! is now default if set_default_config() is run without argument. Also, the curve is returned.
|
2018-02-09 20:57:17 -08:00 |
tuxxy
|
b2e2ffcb31
|
Clarify default_curve error
|
2018-02-09 21:30:25 -07:00 |
tuxxy
|
0cb397bd30
|
Allow bytes in UmbralPublicKey.load_key
|
2018-02-09 21:28:50 -07:00 |
Tux
|
f2a230415f
|
Merge pull request #57 from jMyles/config
Changes to default curve when none is set.
|
2018-02-09 01:54:51 -07:00 |
Tux
|
2b210a0420
|
Merge pull request #55 from KPrasch/point_tests
Point.__mul__ unit and regression test; Pipenv dependency management.
|
2018-02-09 01:51:38 -07:00 |
Tux
|
0f8a76aa5b
|
Merge pull request #53 from tuxxy/curve-agnosticism
Implement curve agnostic behaviors in operations
|
2018-02-09 01:50:58 -07:00 |
jMyles
|
5501a75392
|
Tests for default curve when no default curve is set.
|
2018-02-08 21:41:10 -08:00 |
jMyles
|
0d5ab8a597
|
Without a default curve, getting the default curve or params now emits a warning (instead of raising an exception) and sets the curve to SECP256K1.
|
2018-02-08 21:40:02 -08:00 |
Kieran R Prasch
|
6cc6298c80
|
Removes msgpack-python dep; moves pytest mock to dev deps.
|
2018-02-08 19:39:48 -08:00 |
Kieran R Prasch
|
1cb9aba0a9
|
Adds a pair of tests for Point.__mul__.
|
2018-02-08 18:57:59 -08:00 |
Kieran R Prasch
|
13abb37f43
|
pipenv support for dependency management, adds pytest mock.
|
2018-02-08 18:55:07 -08:00 |
tuxxy
|
efacd03e3e
|
Add to_cryptography_pub_key method to Point and add tests
Fix naming of to_cryptography_pub_key
|
2018-02-08 17:06:47 -07:00 |
tuxxy
|
e7d2a53277
|
Add to_cryptography_priv_key method and test for BigNum
|
2018-02-08 16:47:24 -07:00 |
tuxxy
|
f6327da4d9
|
Take params as second argument in unsafe_hash_to_point
|
2018-02-08 16:31:54 -07:00 |
tuxxy
|
c6bbb37b32
|
domain_seed -> parameters_seed
|
2018-02-08 16:28:47 -07:00 |
tuxxy
|
4154fe1253
|
Add test for pubkey encryption (encryption for bob)
|
2018-02-08 15:46:42 -07:00 |
tuxxy
|
f0af54f416
|
Move PRE module functions to the top of the file
|
2018-02-08 15:46:42 -07:00 |
tuxxy
|
2b45e73342
|
Move hash_to_bn and unsafe_hash_to_point to bignum and point modules respectively
|
2018-02-08 15:46:42 -07:00 |
tuxxy
|
8efafb79f8
|
Create util function to accurately get curve keysize
|
2018-02-08 15:46:42 -07:00 |
tuxxy
|
db4842370e
|
Use BytesIO to deserialize fragments based on curve keysize
|
2018-02-08 15:46:41 -07:00 |
tuxxy
|
a43f6ab153
|
Use SHA512, CURVE_KEY_SIZE_BYTES, and CURVE_MINVAL_SHA512 in crypto material hashing functions
|
2018-02-08 15:46:41 -07:00 |
tuxxy
|
6932a88ca1
|
Add CURVE_KEY_SIZE_BYTES to params
|
2018-02-08 15:46:41 -07:00 |
tuxxy
|
bd2af003a1
|
Add CURVE_MINVAL_SHA512 to params
|
2018-02-08 15:46:41 -07:00 |
Tux
|
226eebc6bd
|
Merge pull request #52 from jMyles/master
Tests for config
|
2018-02-08 12:33:39 -07:00 |
jMyles
|
1de5d811ca
|
Add .idea to .gitignore (for pycharm users).
|
2018-02-08 11:30:36 -08:00 |
jMyles
|
b15f3b9b0e
|
Raise class-scoped error instead of RuntimeError.
|
2018-02-08 11:30:24 -08:00 |
jMyles
|
13790d5388
|
Test that shows errors being raised if dumb things are attempted with config.
|
2018-02-08 11:29:56 -08:00 |
Justin Holmes
|
6eb7c5ac61
|
Merge pull request #51 from tuxxy/to-module
Modularize PRE class
|
2018-02-08 12:27:09 -05:00 |
tuxxy
|
74b131d2ad
|
Remove PRE class and make it a module and fix tests
|
2018-02-08 02:30:56 -07:00 |
tuxxy
|
ec41283ce5
|
Add default_params to PRE.verify
|
2018-02-08 02:08:00 -07:00 |
tuxxy
|
2818b8b1f4
|
Add default_params to fragments methods
|
2018-02-08 02:05:34 -07:00 |
tuxxy
|
da4f22b57c
|
Use default_curve in all BigNum classmethods
|
2018-02-08 02:00:08 -07:00 |
tuxxy
|
eda7d9992f
|
Use default curve in all Point classmethods
|
2018-02-08 01:58:16 -07:00 |
tuxxy
|
ef766d8bba
|
Begin moving things over to module with default_params/default_curve
|
2018-02-07 22:26:38 -07:00 |
Tux
|
af62006e9b
|
Merge pull request #50 from jMyles/master
Example params attribute deprecation.
|
2018-02-07 22:05:07 -07:00 |
jMyles
|
e1fedf15e1
|
Example params attribute deprecation.
|
2018-02-07 21:03:12 -08:00 |
Tux
|
95c9e19e6a
|
Merge pull request #49 from jMyles/master
Introducing default_params. Also, default_params and default_curve used in tests.
|
2018-02-07 21:46:02 -07:00 |
jMyles
|
7110017475
|
default_curve and default_params now in place instead of re-init'ing UmbralParameters() everywhere.
|
2018-02-07 20:41:05 -08:00 |
jMyles
|
9adda4500d
|
Various from_bytes now tested with default params.
|
2018-02-07 20:39:28 -08:00 |
jMyles
|
d25aeb86c8
|
Tests no longer pass curve into gen_rand().
|
2018-02-07 20:38:39 -08:00 |
jMyles
|
59170d4082
|
PRE (which is soon to be a module anyway) uses default params for testing.
|
2018-02-07 20:09:47 -08:00 |
jMyles
|
272185d478
|
Inject curve in test_gen_key.
|
2018-02-07 20:07:55 -08:00 |
jMyles
|
668dcf0a60
|
Set default curve for test suite.
|
2018-02-07 20:07:09 -08:00 |