Kieran Prasch
33bcea650d
DKG encryption functionality for Enrico
2023-05-02 10:23:00 -07:00
Kieran Prasch
67619c7ee1
remove more blockchain language
2022-12-07 11:29:26 +00:00
Kieran Prasch
fda5c86db2
Removes "decentralized" and "blockchain" differentiation from "federated"
2022-12-07 11:29:26 +00:00
Kieran Prasch
7b7f2f071f
Atomically unfederate (most of) the tests; Restores "federated" functionality by way of mocking. Takes advantage of fixture overriding to intercept testerchain.
2022-12-07 11:28:40 +00:00
Kieran Prasch
6ca73c2849
remove lisence header from tests
2022-11-16 13:27:47 +00:00
Bogdan Opanchuk
e5620c3155
Changes to make the tests pass
2022-01-08 15:29:22 -08:00
Bogdan Opanchuk
02bb2e2f76
Import the standalone package instead of nucypher.core
2022-01-08 15:29:22 -08:00
Bogdan Opanchuk
af404677c7
Make a separately versioned EncryptedKeyFrag instead of using a MessageKit
2021-11-01 13:31:11 -07:00
Kieran Prasch
9d996ab965
Remove 'arrangement' language and naming (leaves onchain models).
2021-10-29 07:56:20 -07:00
Bogdan Opanchuk
ca2ae89ba6
Get rid of passing a Callable to EncryptedTreasureMap.decrypt()
2021-10-15 15:19:19 -07:00
Bogdan Opanchuk
98c78efbca
Move RevocationOrder to core.py
2021-10-15 15:19:19 -07:00
Bogdan Opanchuk
a3410cadfb
Move MessageKit to the temporary core module
2021-10-15 15:19:19 -07:00
Kieran Prasch
c90eaa76a1
Renames Revocation to RevocationOrder.
2021-09-23 16:01:25 -07:00
Bogdan Opanchuk
a9cc13e825
Move retrieval machinery to network/retrieval and revocation to policy/revocation
2021-09-08 08:21:04 -07:00
Bogdan Opanchuk
0f85435ac7
Require encrypted_treasure_map in retrieve()
2021-09-08 08:21:04 -07:00
Bogdan Opanchuk
a338ff1a69
Don't return the signature along with the MessageKit from MessageKit.author()
2021-09-07 11:58:55 -07:00
Bogdan Opanchuk
41ae6dbcca
Move message kits to policy submodule
2021-09-07 11:58:55 -07:00
Bogdan Opanchuk
3ef534b812
Rename PolicyMessageKit to MessageKit
2021-09-07 11:58:55 -07:00
Bogdan Opanchuk
6164137610
Rename m -> threshold, num_kfrags -> shares
2021-08-20 19:26:56 -04:00
Bogdan Opanchuk
c595850952
RFCs, part 2
2021-08-19 17:06:45 -04:00
Bogdan Opanchuk
ad2ad8e3c0
Make HRAC a class and use it as a policy ID
2021-08-19 17:06:45 -04:00
Bogdan Opanchuk
509b8c1bfc
Split treasure maps into decrypted and encrypted
2021-08-19 17:06:45 -04:00
Kieran R. Prasch
3367ac5a50
Post-rebase cleanup for PR #2701
2021-07-03 19:05:24 -07:00
Kieran Prasch
81ca745bfa
Fixes incorrect splitter in map versioning and grant test assertion.
2021-07-03 18:48:54 -07:00
Bogdan Opanchuk
7642300fe0
Rebase fixes for rebased-chili-limes ( #28 )
...
* Fix PRETask serialization
* Use a constant for encrypted kfrag length
* Fix argument order in Signature.verify()
* Remove a too brittle check in test_bob_handles_frags
What exactly are we ensuring here? If we want to check that the cfrag is fine,
we need to use it for decryption.
* Remove an unnecessary check
The result of `reencrypt()` is verified by default.
* Re-raise Umbral decryption errors as DecryptionFailed
* Fix an argument of _filter_work_orders_and_capsules()
* Fix an assertion in test_federated_grant_and_revoke
Assertion fails because now UmbralMessageKit has __len__,
so a bool() call is equivalent to len() == 0
(which it is, since there are no cfrags attached).
2021-07-03 18:48:26 -07:00
Kieran Prasch
e13fae0526
Combating freefriders and evil Bobs with a KFrag writ authorization.
2021-07-03 18:46:36 -07:00
David Núñez
fed1b4aba8
Let's go for the moment with TMaps with KFrags and Arrangement IDs
2021-07-03 17:50:43 -07:00
Kieran R. Prasch
6aef077172
bulk renaming of Keyring -> Keystore
2021-06-28 14:33:31 -07:00
Bogdan Opanchuk
15333ddca2
Dissolve umbral_adapter
2021-06-17 14:38:51 -07:00
Bogdan Opanchuk
e6fcdbbff6
Minimal fixes to make CI pass, using an adapter for Umbral
2021-06-17 14:38:51 -07:00
Bogdan Opanchuk
a2b99daa1d
Merge proposals and enactment into a single method, return EnactedPolicy
2021-01-14 11:19:35 -08:00
Bogdan Opanchuk
de0f933118
Make Arrangement stateless and get rid of BlockchainArrangement
2021-01-14 11:19:35 -08:00
tuxxy
846625d917
Replace as much old datastore logic as possible
2020-08-10 15:37:30 +02:00
Kieran Prasch
28cce2fccc
Reorganize tests into multiple suites.
2020-05-27 14:11:25 -07:00