Commit Graph

9697 Commits (0612445b4b02cef9931ad5e1a40c31a76188bdcb)

Author SHA1 Message Date
Derek Pierre af58f703d9
Merge pull request #2833 from derekpierre/tmckf-diagram-updates
TreasureMapConKFrags docs updates (diagram and notes)
2021-12-20 13:44:54 -05:00
Kieran R. Prasch 5ad41dad13 Modify user permisisons and path management for CI compatibility with rust-python container. 2021-12-15 12:22:13 -08:00
derekpierre 46748a5dac Improve wording of a few labels.
Co-authored-by: K Prasch <kieranprasch@gmail.com>
2021-12-14 14:21:20 -05:00
Kieran R. Prasch e8d77710be rust-python docker build docs 2021-12-13 18:00:03 -08:00
Kieran R. Prasch 0dfcb22822 Use rust-python docker conatiner as CI execution env. 2021-12-13 18:00:03 -08:00
Kieran R. Prasch 4d51bca6ea Include rust-python dockerfile. 2021-12-13 18:00:03 -08:00
Derek Pierre daa6693306
Apply RFCs from #2833
Co-authored-by: Arjun Hassard <arjunhassard@gmail.com>
2021-12-13 13:43:58 -05:00
derekpierre ce15ffcd02 Add newsfragment for #2833. 2021-12-09 16:25:18 -05:00
derekpierre 8d867d0311 Update documentation to accomodate new treasure map con kFrags dynamic. Remove references to Ursulas storing kFrags and Arrangements. 2021-12-09 16:20:21 -05:00
derekpierre 9f2775c001 Update NuCypher process diagrams to account for TMapConKFrags paradigm. 2021-12-09 14:13:46 -05:00
Alex Tokar 49fce63f77 fixed broken test by handling both interactive = True and interactive = False in write_keystore 2021-11-29 14:20:37 -08:00
Alex Tokar 50b2b711a2 fixing test_alices_powers_are_persistent 2021-11-29 14:12:25 -08:00
Alex Tokar 2d1b37f9aa return tuple when interactive=False 2021-11-29 14:03:30 -08:00
Alex Tokar 55d009b667 fixing tests with argument change 2021-11-29 13:44:07 -08:00
Alex Tokar bdfcab706b changing name to to avoid overloading reporting concept 2021-11-29 13:42:21 -08:00
xela7 deeba59c78
make test more strict
Co-authored-by: KPrasch <kieranprasch@gmail.com>
2021-11-29 13:39:24 -08:00
xela7 c26ef941f5
allowing optional return type annotation.
Co-authored-by: KPrasch <kieranprasch@gmail.com>
2021-11-29 13:38:54 -08:00
KPrasch 3875f731f1
Merge pull request #2829 from fjarri/more-n-m-renaming
Fix some remaining occurrences of `n` instead of `shares`
2021-11-25 13:14:19 -08:00
KPrasch 9dab617bfa
Merge pull request #2820 from fjarri/memory-leak-fix
Fix a memory leak in Ursula
2021-11-24 16:40:44 -08:00
Bogdan Opanchuk ccfbedb311 Add a newsfragment for PR #2829 2021-11-24 14:18:51 -08:00
Bogdan Opanchuk 414293c1b2 Fix some remaining occurrences of `n` instead of `shares` 2021-11-24 14:18:50 -08:00
Kieran R. Prasch 7cefdf9f91 Bump version: 5.3.2 → 5.3.3 2021-11-24 12:55:15 -08:00
Bogdan Opanchuk 8a82231a99 Discard old archived states to prevent a memory leak 2021-11-24 12:42:54 -08:00
Bogdan Opanchuk d3fa3fa592 Add a newsfragment for PR #2820 2021-11-24 12:42:53 -08:00
Alex Tokar 2415436229 Keystore.generate can return optional mnemonic words 2021-11-24 11:56:26 -08:00
Bogdan Opanchuk 181e6bd3f1 Scrap `suspicious_activities_witnessed` from Ursula
We're not doing anything with it (until #567 is implemented),
and it's clogging the memory over time.
2021-11-06 00:03:37 -07:00
KPrasch cc51564966
Merge pull request #2819 from fjarri/timestamp-fix
Generate metadata if the timestamp is requested
2021-11-04 05:47:37 -07:00
Bogdan Opanchuk 0472881d3d Add a newsfragment for PR #2819 2021-11-03 12:01:09 -07:00
Bogdan Opanchuk caaa6a88e8 Generate metadata if the timestamp is requested 2021-11-03 11:58:18 -07:00
KPrasch 525ae8c106
Merge pull request #2815 from fjarri/version-errors
Remove the remnants of the old metadata versioning scheme
2021-11-02 09:09:11 -07:00
KPrasch c0fc5ebc3c
Merge pull request #2809 from fjarri/core-part2
Nucypher-Core part 2 (more ABI changes)
2021-11-02 07:29:32 -07:00
Bogdan Opanchuk c00a4299ef Add a newsfragment for PR #2815 2021-11-01 16:24:13 -07:00
Bogdan Opanchuk 12754f5f59 Remove the remnants of the old metadata versioning scheme 2021-11-01 16:17:34 -07:00
Bogdan Opanchuk c8a1d4095a Use a simple flag to denote optionality instead of VariableLengthBytestring 2021-11-01 13:31:31 -07:00
Bogdan Opanchuk 944d3373e7 Normalize the usage of VariableLengthBytestrings
Allow for every Versioned type to be able to deserialize itself from the bytestring.
2021-11-01 13:31:31 -07:00
Bogdan Opanchuk 1114891680 Fix an undefined variable usage 2021-11-01 13:31:31 -07:00
Bogdan Opanchuk 3c347c8e97 Remove Alice's SigningPower from Enrico in `from_alice()`
Enrico doesn't sign anything anymore.
2021-11-01 13:31:31 -07:00
Bogdan Opanchuk 06e17e8d1c Use constants from `http` module for HTTP status codes 2021-11-01 13:31:31 -07:00
Bogdan Opanchuk 7197d853d7 Move `signer` to the first position in the parameter list in various core constructors 2021-11-01 13:31:12 -07:00
Bogdan Opanchuk fe02c30fc7 Making names uniform throughout the codebase: policy_key -> policy_encrypting_key
Also change recipient_key to policy_encrypting_key in MessageKit.author(),
now that MessageKit is only used for reencryptable messages.
2021-11-01 13:31:12 -07:00
Bogdan Opanchuk 70b2a1d57b Remove `alice_verifying_key` from `ReencryptionRequest` 2021-11-01 13:31:12 -07:00
Bogdan Opanchuk c0cf12e065 Move ReencryptionResponse verification to core.py 2021-11-01 13:31:12 -07:00
Bogdan Opanchuk 004aa312f3 Remove signing from MessageKit
Now it's the user's responsibility
2021-11-01 13:31:12 -07:00
Bogdan Opanchuk 21cf2ba8eb Don't use Message kit in EncryptedTreasureMap and extract AuthorizedTreasureMap similarly to KeyFrag 2021-11-01 13:31:12 -07:00
Bogdan Opanchuk af404677c7 Make a separately versioned EncryptedKeyFrag instead of using a MessageKit 2021-11-01 13:31:11 -07:00
Bogdan Opanchuk 60dc147e78 Remove unused properties of `PolicyMessageKit` 2021-10-29 15:06:34 -07:00
Bogdan Opanchuk 238a2cfd2a Remove `hrac` from `EncryptedTreasureMap` 2021-10-29 15:06:34 -07:00
Bogdan Opanchuk 4bb6c82014 Stop bundling `publisher_verifying_key` with `EncryptedTreasureMap`
Instead:
- Add it as a parameter to `retrieve_cfrags()`
- Add it to `ReencryptionRequest`
- Remove `EncryptedTreasureMap._public_signature` and `hrac`
2021-10-29 15:06:34 -07:00
Bogdan Opanchuk cdbe0fb546 Fix _decrypt_kfrag() argument name
Kfrags are encrypted by the publisher, not by the kfrag author (Alice)
2021-10-29 15:06:34 -07:00
Bogdan Opanchuk f73d6f0efd Fix a bug in Enrico.from_alice()
Actually inherit Alice's signing power, as intended.
2021-10-29 15:06:34 -07:00