Commit Graph

280 Commits (0608608460e031eb1973a4fa7a3d0abf8373ea33)

Author SHA1 Message Date
Kieran Prasch b7145c0ab4 Remove core shims; Refactor for mk-embedded conditions. 2022-10-18 20:08:51 +02:00
Kieran Prasch 0aea2256a2 bird run 2022-10-18 20:07:58 +02:00
derekpierre 8a482d9389 Ensure delimiter is used as a single byte, and not a bunch of 0 bytes. Fixed test. 2022-10-18 20:07:58 +02:00
Kieran Prasch 72c6bd5295 Refactoring for interop with nucypher-ts 2022-10-18 20:07:58 +02:00
Kieran Prasch 74a0465cf3 Track lingos and capsules as packets; First working e2e flow. 2022-10-18 20:07:58 +02:00
Kieran Prasch 249c74eb31 Updates tests 2022-10-18 20:07:58 +02:00
Kieran Prasch d9f67f30ce Install nucypher core shims for conditions 2022-10-18 20:07:57 +02:00
Kieran Prasch 2948a198c0 Unit and acceptance tests for condition serialization and evaluation 2022-10-18 20:07:10 +02:00
Kieran Prasch 8d2045a118 conditions expression and evaluation prototype 2022-10-18 20:07:10 +02:00
Kieran Prasch 9e763dad86 expand test vectors 2022-10-18 20:07:10 +02:00
Kieran Prasch 5d4d409b82 Consolidates evm based reencryption conditions to eventually encapsulate payment methods; Reduce scope of conditions to a module 2022-10-18 20:07:10 +02:00
Kieran Prasch 58f4b6e50a Begin sanitization of return test comparators 2022-10-18 20:06:39 +02:00
Kieran Prasch 34bd940976 Establish unit tests for conditions 2022-10-18 20:06:39 +02:00
derekpierre 7689b446a7 Add web controller tests for handling of WorkerPoolException.
Improve efficiency of Porter tests by reducing execution timeout.
2022-04-13 11:05:03 -04:00
derekpierre a8aa869c2d Ursula runs a background task, OperatorBondedTracker, which ensures that it shuts down if no the operator address is no longer bonded to a staking provider. 2022-03-25 10:38:48 -04:00
derekpierre 276b334941 Ensure that worktracker stops on first startup once operator is confirmed. 2022-03-24 20:31:04 -04:00
derekpierre 5f6bee537c Enforce consistency of IP address and port when testing external ip utilities. 2022-03-23 11:43:35 -07:00
Kieran R. Prasch aad511ba30 test adjustments to handle policy registry, in-memory node storage and polygon mocks. 2022-03-22 15:54:36 -07:00
Kieran R. Prasch 99ac4693c2 Handle remote certificate mocks and storage in middleware. 2022-03-22 15:54:36 -07:00
Bogdan Opanchuk 06be01be84 certificate_bytes was renamed to certificate_der 2022-03-13 16:56:09 -07:00
Bogdan Opanchuk 8428ae825a decentralized_identity_evidence was renamed to operator_signature 2022-03-13 16:38:59 -07:00
Bogdan Opanchuk b8199e37ee staker_address was renamed to staking_provider_address 2022-03-13 16:18:41 -07:00
Bogdan Opanchuk 2e5dd70e51 nucypher-core had address parameter names normalized 2022-02-20 23:35:26 -08:00
vzotova 856abe4892 Renames `provider_uri` to `eth_provider_uri` 2022-02-18 11:27:15 +03:00
derekpierre b46432ab6d Purge Aragon/NuCypher DAO specific code. 2022-02-08 15:13:51 -05:00
Kieran Prasch b193465f98 adjust tests 2022-02-08 11:03:50 -08:00
Kieran Prasch 1c34045a81 Prepares economics and deployment constants for use with threshold network. 2022-02-08 11:02:17 -08:00
Kieran Prasch 0e148fbfa8 Skip tests 2022-02-08 11:02:02 -08:00
Kieran Prasch ab2798d819 patch SimplePREApplicationDeployer for ruse in IRL. 2022-02-08 11:01:24 -08:00
KPrasch e8f174e6f0
Merge pull request #2828 from xela7/keystore-generate-mnemonic-id
Keystore.generate can return optional mnemonic words
2022-01-14 12:32:43 -08:00
Bogdan Opanchuk a276cfec25 Disband umbral_adapter 2022-01-08 15:29:22 -08:00
Bogdan Opanchuk 8cb8f16370 Clean up Python parts moved to Rust
And some unused imports
2022-01-08 15:29:22 -08: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
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
xela7 deeba59c78
make test more strict
Co-authored-by: KPrasch <kieranprasch@gmail.com>
2021-11-29 13:39:24 -08:00
Alex Tokar 2415436229 Keystore.generate can return optional mnemonic words 2021-11-24 11:56:26 -08: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 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 70b2a1d57b Remove `alice_verifying_key` from `ReencryptionRequest` 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 238a2cfd2a Remove `hrac` from `EncryptedTreasureMap` 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
Kieran Prasch 00a6a67b9a Deprecation of Arrangement datastore. 2021-10-29 07:56:20 -07:00
Bogdan Opanchuk 130308fbf8 Use a mapping for `assigned_kfrags` in `TreasureMap.construct_by_publisher()` 2021-10-15 15:35:35 -07:00
Bogdan Opanchuk 12f601c949 Add `Ursula._decrypt_kfrag()` and dissolve `decrypt_internal()` 2021-10-15 15:19:19 -07:00
Bogdan Opanchuk ca2ae89ba6 Get rid of passing a Callable to EncryptedTreasureMap.decrypt() 2021-10-15 15:19:19 -07:00
Bogdan Opanchuk ef0e619684 Bundle policy encrypting key with TreasureMap 2021-10-15 15:19:19 -07:00
Bogdan Opanchuk e5e598952a Extract NodeMetadata into the core 2021-10-15 15:19:19 -07:00