Bogdan Opanchuk
|
b2abccafa6
|
Bump version: 0.2.0 → 0.3.0
|
2021-09-15 12:50:51 -07:00 |
Bogdan Opanchuk
|
6ed2442278
|
Merge pull request #274 from fjarri/naming-fixes
Naming fixes
|
2021-09-15 12:47:44 -07:00 |
Bogdan Opanchuk
|
3177a9899c
|
Rename remaining instances of `verifying_key` -> `verifying_pk`
|
2021-09-14 22:58:40 -07:00 |
Bogdan Opanchuk
|
42293f9ed8
|
Rename secret_key_by_label()/secret_factory_by_label() -> make_key()/make_factory()
|
2021-09-14 22:56:59 -07:00 |
Bogdan Opanchuk
|
e654adf16f
|
Merge pull request #273 from fjarri/shares
Rename `num_kfrags` to `shares`
|
2021-09-12 14:58:03 -07:00 |
Bogdan Opanchuk
|
edb9130d97
|
Rename `num_kfrags` to `shares`
to keep up with the terminology change in `nucypher`
|
2021-09-12 14:52:30 -07:00 |
Bogdan Opanchuk
|
5c9fb53ede
|
Merge pull request #272 from fjarri/api-updates
Api updates corresponding to post-0.2 `rust-umbral` PRs
|
2021-08-19 09:07:33 -07:00 |
Bogdan Opanchuk
|
a63b1ece58
|
Add `SecretKeyFactory.from_secure_randomness()` and `.seed_size()`
|
2021-07-19 15:08:30 -07:00 |
Bogdan Opanchuk
|
a9050f4678
|
Add `SecretKeyFactory.secret_key_factory_by_label()`
|
2021-07-19 15:08:30 -07:00 |
Bogdan Opanchuk
|
7e75ecb2aa
|
Add `VerifiedCapsuleFrag.from_verified_bytes()`
|
2021-07-19 15:08:30 -07:00 |
Bogdan Opanchuk
|
d6d3a272a7
|
Change the seed size in SecretKeyFactory from 64 to 32 bytes
|
2021-07-19 15:08:30 -07:00 |
Bogdan Opanchuk
|
2e046fd181
|
Remove `SecretKey.__eq__()`
|
2021-07-19 15:08:30 -07:00 |
Bogdan Opanchuk
|
7abd5c09d0
|
Make SecretKey and SecretKeyFactory serializable via `to_secret_bytes()` instead of `bytes()`
|
2021-07-19 15:08:29 -07:00 |
Bogdan Opanchuk
|
f64a129c4d
|
Bump version: 0.1.3-alpha.2 → 0.2.0
|
2021-06-14 15:11:04 -07:00 |
Bogdan Opanchuk
|
863feb163a
|
Remove installation.rst from bumpversion's list
It does not contain the version anymore.
|
2021-06-14 15:10:00 -07:00 |
Bogdan Opanchuk
|
88791cb3db
|
Merge pull request #271 from fjarri/public-key-shortcut
Add `SecretKey.public_key()` shortcut
|
2021-06-14 13:54:08 -07:00 |
Bogdan Opanchuk
|
18cea3f2b6
|
Restrict some dependencies and relock
Sphinx >= 4 finally stops conflicting with mypy when it comes to type hints.
|
2021-06-13 13:28:14 -07:00 |
Bogdan Opanchuk
|
70fb1157b5
|
Some type hint and docstring fixes
|
2021-06-13 13:28:14 -07:00 |
Bogdan Opanchuk
|
104d1a4c20
|
Replace PublicKey.from_secret_key() with SecretKey.public_key()
|
2021-06-13 13:28:14 -07:00 |
Bogdan Opanchuk
|
7c3573278c
|
Add type hints
|
2021-06-13 13:28:14 -07:00 |
Bogdan Opanchuk
|
4517357ce1
|
Remove an unused variable
|
2021-06-13 13:28:14 -07:00 |
Bogdan Opanchuk
|
18e868ceb2
|
Merge pull request #270 from fjarri/interfacing-3
Final touches for the API
|
2021-06-13 13:27:18 -07:00 |
Bogdan Opanchuk
|
42b287705d
|
Get rid of GenericError
In all cases where it is used it is just ValueError
|
2021-06-06 22:51:07 -07:00 |
Bogdan Opanchuk
|
7334ed2464
|
Add docstrings to serialization mixins
|
2021-06-03 15:29:22 -07:00 |
Bogdan Opanchuk
|
29b9f85fb7
|
Relax type bounds a little
|
2021-06-03 15:28:48 -07:00 |
Bogdan Opanchuk
|
76e6b85f1a
|
Add a compatibility test for serialized sizes
|
2021-06-03 14:34:37 -07:00 |
Bogdan Opanchuk
|
32a612c99d
|
Split Serializable into (De)Serializable
|
2021-06-03 14:34:37 -07:00 |
Bogdan Opanchuk
|
b8175a3247
|
Expose serialized sizes of objects and overhaul Serializable accordingly
We assume here that all our objects have constant serialized size.
|
2021-06-03 11:29:55 -07:00 |
Bogdan Opanchuk
|
16def46564
|
Fix key names in encrypt/decrypt_original/decrypt_reencrypted
|
2021-06-02 19:06:32 -07:00 |
Bogdan Opanchuk
|
6a1bc0ce14
|
Remove metadata support from reencrypt()
|
2021-06-01 23:55:48 -07:00 |
Bogdan Opanchuk
|
c7292fe92c
|
Remove unused dev dependencies
|
2021-06-01 23:55:48 -07:00 |
Bogdan Opanchuk
|
f57c4ba5a4
|
Add VerifiedKeyFrag.from_verified_bytes() for the purposes of Nucypher's datastore
|
2021-06-01 23:55:48 -07:00 |
Bogdan Opanchuk
|
2ad8223b68
|
Merge pull request #267 from fjarri/interfacing-2
Interfacing with Rust, part 2
|
2021-05-26 23:04:58 -07:00 |
Bogdan Opanchuk
|
edbf95315c
|
Add myself to the list of authors
|
2021-05-26 22:59:58 -07:00 |
Bogdan Opanchuk
|
96251cf19b
|
Fix CI build
|
2021-05-26 22:54:36 -07:00 |
Bogdan Opanchuk
|
0a972aa0a8
|
Add a check to cover Signature.__eq__
|
2021-05-26 22:13:43 -07:00 |
Bogdan Opanchuk
|
d5b9d7c3a1
|
Add a unit test for a part of SecretKey API
|
2021-05-26 22:13:43 -07:00 |
Bogdan Opanchuk
|
4e0b6a54fe
|
Remove Point.from_affine(), add a check for calling to_affine() on the identity point
|
2021-05-26 22:13:43 -07:00 |
Bogdan Opanchuk
|
48c3441344
|
Style fixes + pylint config
|
2021-05-26 22:13:43 -07:00 |
Bogdan Opanchuk
|
9570035582
|
Move backend-related parts of signing to the openssl module
|
2021-05-26 22:13:43 -07:00 |
Bogdan Opanchuk
|
9744906506
|
Move generate_kfrags() to the pre module
|
2021-05-26 22:13:43 -07:00 |
Bogdan Opanchuk
|
023e8134dd
|
Remove excess default exports
|
2021-05-26 22:13:43 -07:00 |
Bogdan Opanchuk
|
84883b85da
|
Enforce CapsuleFrag verification before decryption
|
2021-05-26 22:13:43 -07:00 |
Bogdan Opanchuk
|
65d32fd63e
|
Enforce KeyFrag verification before reencryption
|
2021-05-26 22:13:43 -07:00 |
Bogdan Opanchuk
|
b03c83eb93
|
Don't use DST when hashing for signing
Have to rebuild vectors again.
|
2021-05-26 22:13:43 -07:00 |
Bogdan Opanchuk
|
f31a3ad1c2
|
Add a comment about normalizing s in signatures
|
2021-05-26 22:13:43 -07:00 |
Bogdan Opanchuk
|
89e6ea1063
|
Leave only secp256k1 as a supported curve
|
2021-05-26 22:13:43 -07:00 |
Bogdan Opanchuk
|
c46fdf6cdb
|
Add a TODO in CapsuleFrag.verify() and bail early if the signature is not correct
|
2021-05-26 22:13:43 -07:00 |
Bogdan Opanchuk
|
cae54575e5
|
Update TODO in CurveScalar.from_digest()
|
2021-05-26 22:13:43 -07:00 |
Bogdan Opanchuk
|
54b9ee088b
|
Change the order of parameters in CapsuleFrag.verify() to match that of KeyFrag.verify()
|
2021-05-26 22:13:43 -07:00 |