Commit Graph

9473 Commits (0dfcb228229752d272503bc502604ebedd5f7d99)

Author SHA1 Message Date
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
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
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
Bogdan Opanchuk bb14e4eef0 Do not catch UnbondedWorker in `verify_node()` and let it propagate 2021-10-29 15:06:34 -07:00
Bogdan Opanchuk e1c0335cdc Sign the whole node metadata instead of just the interface 2021-10-29 15:06:34 -07:00
Bogdan Opanchuk 5e08c1d2e1 Remove some unused imports 2021-10-29 15:06:34 -07:00
Bogdan Opanchuk a60f563b62 Add a newsfragment for PR #2809 2021-10-29 15:06:34 -07:00
KPrasch 4e75b4f8f6
Merge pull request #2808 from KPrasch/remove-arrangements
Deprecate Arrangements
2021-10-29 15:04:40 -07:00
Kieran R. Prasch b6f09408d1 advance the policy probationary period. 2021-10-29 14:41:52 -07:00
Kieran R. Prasch 320eaa7de9 Reference issue #2813 2021-10-29 14:37:37 -07:00
Kieran R. Prasch 25425d55e5 Skip stale federated retrieval test. 2021-10-29 07:56:24 -07:00
Kieran R. Prasch 47d99a9f62 Respond to RFCs in PR #2808 2021-10-29 07:56:24 -07:00
Kieran Prasch 1fe16c6735 Additional docstrings for policy entities. Rewords error message for insufficient number of contacted nodes. 2021-10-29 07:56:20 -07:00
Kieran Prasch a0fd5998a2 Use NodeMetadata for availability tracker endpoints. Renames 'check_rest_availability' -> 'check_availabilty'. 2021-10-29 07:56:20 -07:00
Kieran Prasch 886dcebf9a Newsfragment for PR #2808 2021-10-29 07:56:20 -07:00
Kieran Prasch 8d621c127b Remove/disable unused Prometheus gauges. 2021-10-29 07:56:20 -07:00
Kieran Prasch 9d996ab965 Remove 'arrangement' language and naming (leaves onchain models). 2021-10-29 07:56:20 -07:00
Kieran Prasch a37e741fc8 Removes integration tests for treasure map storage. 2021-10-29 07:56:20 -07:00
Kieran Prasch de9b3ea2d4 Update Amonia 2021-10-29 07:56:20 -07:00