Commit Graph

300 Commits (main)

Author SHA1 Message Date
damon ddf90ef0cc fix finnegans wake in circle context 2021-02-13 18:39:36 -08:00
Kieran Prasch c1eed47459 Lynx-based Finnegans's wake demo documentation mentions. 2021-02-13 18:35:31 -08:00
Kieran Prasch 3ed1e8d0b5 Repond to RFCs on PR #2560; Expand and clarify Alice and Bob usage in the finnegans wake 'lynx' example. 2021-02-13 18:35:31 -08:00
Kieran Prasch c8ca20adeb Remove demo book downloading script from CI; Additional commentary. 2021-02-13 18:35:31 -08:00
Kieran Prasch ce07346eba Respond to RFCs in PR #2560 2021-02-13 18:35:31 -08:00
Kieran Prasch 00c4f3c530 Alternate finnegans wake demo for Lynx testnet. 2021-02-12 23:46:40 -08:00
Bogdan Opanchuk bbc4390f68 Generalize NodeEngagementMutex 2021-01-14 11:19:35 -08:00
David Núñez f42de3ae11 Some janitorial stuff 2020-09-24 20:28:31 +02:00
David Núñez 0fb2cad64a Relocate keypairs.py from datastore to crypto 2020-09-24 20:28:27 +02:00
David Núñez 4cf7dcadc3 We're done with multiple domains, for the moment.
Closes #2144. Closes #1580.
2020-09-24 20:27:13 +02:00
David Núñez 2d2a7a7cde Janitorial stuff 2020-09-24 20:27:13 +02:00
derekpierre f207b69a20 Overall cleanup of paths to scripts depending on where the document is. 2020-09-17 15:24:30 -04:00
derekpierre 46ecc6ca1d Update demo documentation about the use of the demo fleet in the examples/ directory. 2020-09-16 16:25:54 -04:00
Kieran R. Prasch bee1f7f5f8
Adds missing newline to mainnet registry 2020-09-08 13:09:27 -07:00
jMyles cde9738930 Using TEMPORARY_DOMAIN constant again in Finnegan's. 2020-09-01 21:10:46 -07:00
jMyles 78936b1ba1 Block for a while to wait even longer for fleet to spin up (because 'War, What is it Good For' isn't long enough) 2020-08-27 19:48:09 -07:00
Justin Holmes a178e44837 Use Pathlib for example Ursula launch.
Co-authored-by: Derek Pierre <derek.pierre@gmail.com>
2020-08-20 18:07:09 -07:00
jMyles 58c8f07dce Heartbeat also using block_until_complete(). 2020-08-18 05:20:54 -07:00
jMyles 64d6e1ec11 Moving demo Ursula DBs to APP_DIRS. 2020-08-18 05:14:06 -07:00
jMyles cd0d88a730 Finnegan's now blocking until enactment is complete (which is essentially zero anyway). This stops the threadpool. 2020-08-18 05:14:06 -07:00
jMyles 3351af943f Return of demo fleet Ursulas spinup script. 2020-08-10 12:52:31 -07:00
Kieran Prasch 5909c37dd1 Apply API and interface updates to for enrico file handling. 2020-06-18 08:55:21 -07:00
derekpierre 668f25bc38 Add pre-commit hook to ensure that AGPL license is included in python source files 2020-05-22 08:55:06 -04:00
derekpierre c1d93d8941 Add "end-of-file-fixer" to pre-commit hooks 2020-05-19 14:28:29 -04:00
Kieran Prasch ecb773291a
Post rebase cleanup (#1959) 2020-05-15 09:05:09 -07:00
Kieran Prasch a935dc8e2d
Annihilate the sandbox 2020-05-15 08:33:38 -07:00
Bernardo Vieira 7aa6ff8695 fix doctor.retrieve param in heartbeat_demo example 2020-04-10 02:24:58 +01:00
Kieran Prasch 489c048712
KeyStore -> Datastore 2020-03-09 14:50:18 -07:00
Kieran R. Prasch 663a7b2b3c Example demonstrating a cli for encrypting directories with NuCypher. 2020-02-08 04:27:35 -08:00
Kieran R. Prasch 9296d1db83 Forging a new example: encrypt a directory for a single policy and label. 2020-02-08 04:27:35 -08:00
jMyles 7ac8374c07 Passing ciphertext(s) as positional. 2020-02-08 04:27:34 -08:00
jMyles 74fa1803ab Fixing up retrieve() params, adding type hints. 2020-02-08 01:18:50 -08:00
Kieran R. Prasch e5ae1094d2 Respond to RFCs in PR #1225: UX/UI fixes; Account and Stake Selection interface connectivity. Keep lazy interfaces lazy! Fixes straggler factory refactors. 2019-08-27 09:56:41 -07:00
Kieran R. Prasch 64d40a7f80 Whoops! Restores 'address' and respectively 2019-08-27 09:56:41 -07:00
Kieran Prasch 324c2805f5 Checkpoint #2 - Refactor Policy, and Blockchain / Registry Reflow. 2019-08-27 09:54:14 -07:00
Bogdan Opanchuk b473c0f4bd
Hide registering/unregistering observers and Sentry init inside utilities/logging
Also add a check that Sentry SDK is only initialized once
2019-07-25 15:18:29 -07:00
Kieran Prasch 97eabc8dee delete obsolete files from the codebase 2019-07-04 11:22:39 +02:00
Kieran Prasch 09c8847c14 Dehydration and cleanup of keyring attachment and checksum address selection. Touch ups. 2019-07-04 11:22:39 +02:00
jMyles ac12c461e6 Setting log level as debug for Finnegan's. 2019-06-28 20:10:21 -07:00
MacLane Wilkison 3acd253b7f Fix typos, outdated commands, PEP8 2019-06-14 19:18:37 -07:00
Damon C e497522f03 docker version of heartbeat demo 2019-06-06 12:16:52 -07:00
Damon C 41cc9e359f docker version of finnegan's wake demo 2019-06-06 12:16:04 -07:00
David Núñez 6398198324
Testing dirty hack for finnegans wake demo on CI 2019-06-03 22:52:22 +03:00
Kieran R. Prasch 58302eb7db
Adding domains to Alice and Bob in examples, to aviod using the production defaults. 2019-06-03 22:52:22 +03:00
Kieran R. Prasch cb6c76867a
Removes 'pubkey_sig' from the codebase, In favor of 'verifying_key'. 2019-06-03 22:52:22 +03:00
David Núñez 4d0e34d545 Improved API for Character.from_public_bytes(). 2019-05-16 16:12:07 +02:00
jMyles 1dd0817ec3
Change CircleCI config and python deps from coveralls to codecov. 2019-04-05 21:34:20 -07:00
Tux eb13d35d08
Merge pull request #782 from mallek/postmancollection
Add postman collection and README for general workflow
2019-03-15 13:33:37 -06:00
David Núñez 6a40e8d368
Update examples/postman/README.md
Co-Authored-By: mallek <travis@haleycomputersolutions.com>
2019-03-15 13:11:42 -06:00
Travis Haley 82a38156c5 Updated to use verifying_key also added EOF as requested 2019-03-10 11:38:59 -06:00
Travis Haley ee4e4a5f57 Add postman collection and README for general workflow 2019-03-10 11:34:49 -06:00
Kieran R. Prasch 10a1fa42bc
Bug fixes and API updates for Domains, Heartbeat Demo, and CLI flags. 2019-03-09 17:29:54 -08:00
Kieran Prasch 6df4dfd506
Automated demo testing, reorganized nucypher entry point scripts; Testing scripts are now pwd agnostic. 2019-03-06 16:29:28 -08:00
Kieran R. Prasch 7af03c0d88
Heartbeat Demo Bash Script: one-click demo run 2019-03-06 13:52:45 -08:00
MacLane Wilkison 86116706ff Change license notices in module headers to AGPL 2019-03-04 18:55:28 -08:00
David Núñez e5a187adef Update Enrico.from_public_keys calls to new API 2019-02-16 19:27:02 +01:00
David Núñez 0e5b5584ac Bye bye, DataSource. 2019-02-16 18:54:30 +01:00
jMyles 8d538f07aa Don't need label in heart monitor anymore. 2019-02-15 00:35:13 -07:00
jMyles 59b085b2d3 Updates heartbeat demo to label-less enrico (courtesy of @tuxxy) 2019-02-15 00:30:48 -07:00
jMyles 023a0cef67 Temp fix for failed CLI jobs on CI only. 2019-02-15 00:30:48 -07:00
Kieran R. Prasch 66a4ef1803 Touch-ups for Enrico exmaples style; Adds secondary custom install path test constant; Fixup ci config. 2019-02-15 00:28:53 -07:00
Kieran R. Prasch 0da9d5cadd Fix filename spelling error in examples 2019-02-15 00:28:53 -07:00
jMyles 22cc4f4b85 Output process ending message instead of just failing. 2019-02-15 00:28:53 -07:00
jMyles fd435c1a32 Single entry into log setup. 2019-02-15 00:28:53 -07:00
jMyles 3204427d4e Remaining formatting, reprs, imports, and cleanups from my work following @tuxxy's rebase. 2019-02-15 00:28:53 -07:00
jMyles 188c0773b4 Enrico is now a lawful Character. Fixes #241. 2019-02-15 00:28:53 -07:00
jMyles 7faf3f7a14 Adhering cert to node in both storage flows (forgetful and file-based). Fixes #669. Fixes #727. 2019-02-08 10:06:23 -07:00
David Núñez 428d80e73a Update heartbeat demo's README and docs 2019-02-07 15:00:15 +01:00
David Núñez ea7cbfba49 Naive approach for a CircleCI workflow to test the heartbeat demo 2019-02-07 11:04:15 +01:00
Kieran Prasch cb0ebd6982
Remove stale demo files 2019-01-21 15:17:34 -08:00
Kieran Prasch 06d689f45b
Allow ephemeral node and node storage default in Finnegans Wake demo. 2019-01-21 15:15:14 -08:00
K Prasch 1663eb78d6
Merge pull request #670 from tuxxy/locale-fix
Use en_US.UTF-8 instead of Debian specific C.UTF-8
2019-01-21 12:21:13 -08:00
tuxxy 8e433add05 Use en_US.UTF-8 instead of Debian specific C.UTF-8 2019-01-17 16:27:40 -07:00
David Núñez d148d075cb
Adapt demo's doctor.py to latest changes; Use default temporary node storage in examples 2019-01-16 11:21:32 -08:00
Kieran Prasch 4c8fb1496e
Use common rendezvous teacher node when spinning up local fleets 2019-01-16 09:48:09 -08:00
Kieran Prasch 5be6363d8c
Split up singles from couples, so many Ursulas! 2019-01-16 09:48:03 -08:00
K Prasch cfa7cec50a
Merge pull request #638 from KPrasch/demo_ursulas
Run Demo Ursulas Script (Local Testing Fleet)
2019-01-15 12:56:11 -08:00
jMyles f93f3f1987 Heart monitor data source uses new method. 2019-01-15 15:20:17 -05:00
jMyles 990ae276d3 Bringing Alicia up to speed with logic changes. 2019-01-15 15:20:17 -05:00
jMyles 39a097b100 Simple produce from the config. No more need to pass in a passphrase for the demo. 2019-01-15 15:20:17 -05:00
jMyles 56927408ea Removing several kwargs from demo config; we'll use the defaults here too. 2019-01-15 15:20:17 -05:00
jMyles ce9adbf199 We're going ot use the default storage for demos now. 2019-01-15 15:20:17 -05:00
jMyles 62e7b140e4 Simple script to run a single demo Ursula. 2019-01-15 15:20:17 -05:00
Kieran Prasch b49bd8c44f
Multi-proc local ursula fleet script 2019-01-05 12:10:35 -08:00
jMyles e94e20397c
Simple script to run a single demo Ursula. 2019-01-05 12:10:35 -08:00
jMyles 1de63a2068 Some changes to alicia to account for changes on master. 2018-12-17 16:36:34 -08:00
jMyles 9ba2d0950d Fix up run_federated_ursula for latest changes. 2018-12-17 16:36:34 -08:00
David Núñez b89a82fc50 Use msgpack instead of pickle in the Heartbeat demo 2018-12-17 15:36:18 -08:00
Derek Pierre 356e18079a Fix typo in heartbeat demo README
Co-Authored-By: cygnusv <david@nucypher.com>
2018-12-17 15:36:18 -08:00
David Núñez 0887d004fd Heartbeat Demo readme 2018-12-17 15:36:18 -08:00
David Núñez 48dc1b9e08 Comments and code reorganization 2018-12-17 15:36:18 -08:00
David Núñez 405560ba34 Plotting heart rate in Bob's console 2018-12-17 15:36:18 -08:00
David Núñez 77ca47753f First working version of Heartbeat Demo 2018-12-17 15:36:18 -08:00
David Núñez 61821ea7ae Getting policy pubkey in advance in Finnegan's wake demo 2018-12-17 15:36:18 -08:00
Kieran Prasch 646816d481
Keeps finnegans wake up to date with db_filepath changes 2018-12-05 15:58:20 -08:00
David Núñez 4ab7ad1252 DataSource.encapsulate_single_message() --> DataSource.encrypt_message() 2018-12-03 12:07:33 +01:00
Kieran Prasch 093e65a19c
Port @ongrid's docs to the latest demo; Thanks! 2018-11-10 14:02:39 -08:00
Kirill Varlamov 7fee625771
Fix nucypher/nucypher#487 unexpected qwarg in federated demo 2018-11-10 13:55:23 -08:00
Kieran Prasch 01dda169d2
Pin eth-utils version 2018-11-10 13:41:10 -08:00
Kieran Prasch ac43a5e462 Forced explicit https usage of teacher URI 2018-11-10 21:28:50 +01:00
Kieran Prasch 4685f3e627
remove lisence text from demo modules 2018-11-09 07:43:40 -08:00
Kieran Prasch d316796aff
Use conventional top-level package structures 2018-11-09 07:43:31 -08:00
jMyles 9f642a4437 Updated logging setup. 2018-11-06 23:17:46 +01:00
tuxxy 7feabb6cb2 Add GPLv3 -- nucypher is free as in freedom 2018-11-04 13:16:42 -07:00
Kieran Prasch 7523d7bf0e Further streamline Finnegans Wake Demo 2018-11-04 20:40:45 +01:00
jMyles d2125fe744 Concise demo for Prague meetup. 2018-11-03 22:46:20 +01:00
jMyles 50997e5740 Finnegan's Wake demo working with federated test net. 2018-11-02 15:51:16 -07:00
jMyles d868eaf300 Transition to Twisted logger. 2018-10-30 19:21:03 +01:00
Kieran Prasch 3affe90d34 Allow existing metadata files to be loaded into a development node with CLI flag; Update demo args to use metadata file. 2018-10-05 23:28:21 -07:00
Kieran Prasch 293f9c158c Deprecate CLI demo module; Respond to RFC & cleanup 2018-09-24 18:42:42 -07:00
Kieran Prasch 13764517ac Reflect character initialization logic in NodeConfiguration subclasses; Integrate with local filesystem paths in dev and non-dev modes. 2018-09-22 15:43:35 -07:00
jMyles a09c3d8858 Reintroducing demo entry modules. 2018-09-21 21:52:57 +02:00
Kieran Prasch 79ab28712c Remove examples dir, relocate remaining valuable parts to cli.demos update gitignore: ursula's db 2018-08-31 11:33:46 -07:00
Kieran Prasch f8e5d58f89 Project-wide automated import optimization, followed-up with some hand-tweaking 2018-08-31 11:24:08 -07:00
Kieran Prasch faf67efe0f modify finnegans wake demo for decentralized simulation 2018-08-31 11:16:07 -07:00
jMyles 820ddee838 Small fixes to restore federated demo. 2018-08-09 17:30:28 -04:00
jMyles 27fce61668 Updated Finnegan's Wake logic. 2018-07-18 20:20:20 -07:00
jMyles a9752fa755 Federated demo up to date with the new stuff. 2018-07-13 12:14:16 -07:00
jMyles d34191ba56 Follow and peek functions can now either take a map or map id. 2018-07-13 11:32:50 -07:00
jMyles 36b86eb6bb Implementing InterfaceInfo. 2018-06-20 10:13:26 -07:00
Kieran Prasch 7a35c4b24b Hack together MockRestMiddleware, temp fix until implementing node learning. 2018-06-20 10:12:50 -07:00
Kieran Prasch e2eb556e10 Middleware -> RestMiddleware 2018-06-20 10:12:27 -07:00
jMyles 533874ffe8 Freshening up SandboxNetworkMiddleware. 2018-06-20 10:12:26 -07:00
jMyles 8c360bbde9 Allowing explicit federated_only condition. 2018-06-20 10:12:26 -07:00
jMyles 5328bda6fe Passing Alice's pubkey to verify CFrags in Finnegan's Wake demo. 2018-06-20 10:12:26 -07:00
jMyles 7d8b07d8c3 from_rest_url now needs Middleware. Sensible. 2018-06-20 10:12:26 -07:00
jMyles e57b65be35 Moving Finnegan's Wake demo to make it more obvious. 2018-06-20 10:12:00 -07:00
Kieran Prasch d2f0b4a062 Refreshes MinerEscrow's node datastore for use with dht_keys/ursula_id 2018-06-20 10:11:34 -07:00
Kieran Prasch 6e751f6775 Renames(mostly) NetworkyStuff to NetworkMiddleware. 2018-06-20 10:11:28 -07:00
jMyles 41805d5d06 Removing references to 'KMS' 2018-05-08 13:02:18 -07:00
jMyles 7890dcc2b2 Several touchups to Finnegan's Wake logic and the high-level APIs that power it. 2018-04-18 23:23:47 -07:00
jMyles 4e6a0409ce Finnegan's Wake demo updated:
* No longer uses the DHT for Alice and Bob
* Uses new higher-level methods (and is much shorter).
2018-04-17 01:53:46 -07:00
jMyles 13ff2e642c Actors can now discover all known nodes from a given node. Fixes #175. 2018-04-17 01:52:30 -07:00
jMyles d289ac31e8 Updated Finnegan's Wake demo to use TLS. 2018-03-06 17:52:23 -08:00
jMyles fa28e75772 Pass Finnegan's Wake as an argument on the command line. 2018-02-28 17:38:10 -08:00
jMyles 7e567c24f6 Introducing named DBs per Ursula. 2018-02-28 17:37:27 -08:00
jMyles 93ada655ce Better launch logic - attach the server exactly once. 2018-02-28 17:37:27 -08:00
jMyles 929ece9d49 Script for Alice to grant access to Bob and then use the policy to re-encrypt a file, line-by-line. 2018-02-28 17:37:27 -08:00
jMyles 554ccd0f31 Ursula running on localhost, with NetworkyStuff to find her. 2018-02-28 17:37:27 -08:00
jMyles f89d13c4a0 Seal -=> SignatureStamp 2018-02-23 22:39:10 -08:00
jMyles 05f99b10fe Disclaimer for Alice example script (@tuxxy's idea, and *not* really stupid). 2018-02-06 17:08:13 -08:00
jMyles cc2bbbb422 Touchups on Alice one-off example. 2018-02-06 17:04:39 -08:00
jMyles 12f7990a09 Alice script properly sends a Contract and then, subsequently, sends a KFrag. 2018-02-06 03:08:23 -08:00
jMyles de3d9e6c01 Create an Ursula from a REST URL. Why not? 2018-02-05 23:30:01 -08:00
jMyles 7237299bf8 Shaving down the sample Alice a bit. 2018-02-05 23:07:47 -08:00
jMyles 3db71115f6 Characters can now be created from either a signing or encryption key. Fixes #156. 2018-02-05 11:25:17 -08:00
jMyles 4728acaae9 Example script to set Policy for Alice via requests and REST. 2018-02-04 23:39:00 -08:00
jMyles bdcce0daee First skeleton of mining node entry point for Ursula. 2018-02-04 23:38:42 -08:00
jMyles ab6cbaead6 Seed-only Server now (at least seems) to actually refuse to store data. Fixes #23. 2017-09-13 13:34:40 -07:00
jMyles 8f509533c5 First implementation of customized Server and Protocol classes for DHT. Pending PR 32 on kademlia. 2017-08-30 22:13:18 -07:00