Commit Graph

10663 Commits (6fb61baceca12d91a4aadbe43944b02dd9da11a4)

Author SHA1 Message Date
derekpierre 6fb61bacec Remove use of threshold decryption request when encrypting data - should not be returned when encrypting - it's use is for decrypting (variant and context).. 2023-07-09 10:41:02 -04:00
derekpierre ee91cca87b Add newsfragment for #3174. 2023-07-08 13:35:05 -04:00
derekpierre 085c3ccffa Set default ferveo variant to simple instead of pre-computed. 2023-07-08 13:29:27 -04:00
Justin Holmes b7cd77f4ea
Merge pull request #3143 from jMyles/mammoth-cake
Simplified tooling for local hacking, particularly python frontend dev
2023-07-07 19:11:13 +02:00
Justin Holmes 89f0108528 For the connoisseur of outdated and inaccurate metaphors
Co-authored-by: LunarBytes <kieranprasch@gmail.com>
2023-07-07 18:58:31 +02:00
jMyles 5d3bf6ad57 Better name for facility to serve as offline replacement for Coordinator. 2023-07-07 18:56:48 +02:00
jMyles 52f5dde8a3 Making black happy. 2023-07-07 18:56:48 +02:00
jMyles 48a6eaacfa Better showing of drop-in replacement Enrico. 2023-07-07 18:56:48 +02:00
jMyles 8b302cfaf7 Better names for higher-order cleartext objects. 2023-07-07 18:56:43 +02:00
derekpierre da8147f86b Only skip node if on `lynx`. 2023-07-06 10:37:34 -04:00
Justin Holmes 3d9446612b Type hints.
Co-authored-by: Derek Pierre <derek.pierre@gmail.com>
2023-07-06 14:38:36 +02:00
Justin Holmes 0eaf4f293d Ritual ID, not just arbitrary ritual data
Co-authored-by: Derek Pierre <derek.pierre@gmail.com>
2023-07-06 14:11:10 +02:00
jMyles e7304f21d9 Newsfragment. 2023-07-06 13:19:33 +02:00
jMyles 29de460187 Chaotic wasn't black enough. 2023-07-06 13:19:33 +02:00
jMyles 8d4210788b Passing variant through to make parameterized tests pass. Do we even want this though? 2023-07-06 13:19:33 +02:00
jMyles cb1cfe5da8 Updated a couple imports. 2023-07-06 13:19:33 +02:00
jMyles f31391164c Impossible condition passes with ThisBobAlwaysDecrypts. 2023-07-06 13:19:33 +02:00
jMyles 8ae0cb08e7 Test showing both success and failure tooling. 2023-07-06 13:19:33 +02:00
jMyles f8f7f75b21 Local demo now uses 'always successful' Bob variant. 2023-07-06 13:19:33 +02:00
jMyles 92f143c1be Test showing the 'always decrypts' variant. 2023-07-06 13:19:33 +02:00
jMyles 0f047bf2f9 Separate classes for passing and failing simulations. 2023-07-06 13:19:33 +02:00
jMyles a21b81b1f1 Logic separation to make passing and failing variants possible. 2023-07-06 13:19:33 +02:00
jMyles ef0668875c Turns out we don't even need to override anything on this Enrico except __init__, for the moment. 2023-07-06 13:19:33 +02:00
jMyles b4fab45eb1 Simple test showing the 'always decrypts' tool. 2023-07-06 13:19:33 +02:00
jMyles 3bf02094a0 Adding classes for tools the Bobs who always decrypt and always fail. 2023-07-06 13:19:33 +02:00
Justin Holmes 266c00a378 Stuck in the middle with you.
Co-authored-by: Owen Campbell <owen.campbell@tanti.org.uk>
2023-07-06 13:19:33 +02:00
Justin Holmes 96c616c3c2 No reason to have the default value here.
Co-authored-by: Owen Campbell <owen.campbell@tanti.org.uk>
2023-07-06 13:19:33 +02:00
Justin Holmes d91686c5e1 Yeah, why are we still using lambdas for this sort of thing?
Co-authored-by: Owen Campbell <owen.campbell@tanti.org.uk>
2023-07-06 13:19:33 +02:00
jMyles 2c3951bd35 Method for decrypting using an existing tdr - also allowing subclassing of _decrypt so that the behavior of this message can be customized. 2023-07-06 13:19:33 +02:00
jMyles edfb694263 Making variant also optional into Enrico. 2023-07-06 13:19:33 +02:00
jMyles 586b6b6d9b This is supposed to be precomputed anyway, right? 2023-07-06 13:19:33 +02:00
jMyles 5917fbcaa2 Moving sanity check into method. 2023-07-06 13:19:33 +02:00
jMyles 7db3b203fb Passing ValidatorMessages instead of tuples now. 2023-07-06 13:19:33 +02:00
jMyles 762e4508e9 LingoList -=> Lingo in example. 2023-07-06 13:19:33 +02:00
jMyles d279527af1 Not doing params anymore. 2023-07-06 13:19:33 +02:00
jMyles 32adb5cb72 Updating example to use prefix notation. 2023-07-06 13:19:33 +02:00
jMyles 8d90eb0d71 Bob needs a provider URI, but can be fake here. 2023-07-06 13:19:33 +02:00
jMyles db346b6fa1 Makes more sense to instantiate the power outside the loop. 2023-07-06 13:19:33 +02:00
jMyles 61c58ac6c9 Updating comments. 2023-07-06 13:19:33 +02:00
jMyles 6608f75597 No longer None - must actually pass (fraudulently discerned) public params. 2023-07-06 13:19:33 +02:00
jMyles 4d5fec8889 No need to override threshold_decrypt at all anymore. 2023-07-06 13:19:33 +02:00
jMyles c2a257f888 Using Simple as default for the moment. 2023-07-06 13:19:33 +02:00
jMyles ac43ea5eb7 After all, it's neither Fake nor a Ritual. 2023-07-06 13:19:33 +02:00
jMyles cb4847401a Confirmatory conculsion. 2023-07-06 13:19:33 +02:00
jMyles 863daeb4d4 Core of decryption logic replaced with local call. 2023-07-06 13:19:33 +02:00
jMyles 1d5dc6c51e Needing to overriding this method. 2023-07-06 13:19:33 +02:00
jMyles c0991e0b62 Casting to bytes for comparison. 2023-07-06 13:19:33 +02:00
jMyles b2c3a9070e Sharing secret seeds across the DKGOmnicient. 2023-07-06 13:19:33 +02:00
jMyles b0a0f3207c Each DKGInsight gets a FakeRitual. 2023-07-06 13:19:33 +02:00
jMyles 3bb675dcff Mechanics to provide information consistent with the Ursula and Ritual APIs for Bob's internals. 2023-07-06 13:19:33 +02:00