Kieran Prasch
a060af6f93
Updates finnegans wake demo for mainnet/polygon (config and commentary).
2022-04-11 15:59:31 -07:00
Kieran Prasch
8cd43e6b4a
Remove stale demo; Rename the remaining one.
2022-04-11 15:59:31 -07:00
Kieran Prasch
18d24d1fe2
Responds to RFCs for PR #2873
2022-03-24 13:18:53 -07:00
Kieran Prasch
37980a269e
Removes temporary workarounds.
2022-03-22 15:54:36 -07:00
Kieran R. Prasch
1e6c50e2cf
modifies finnegans wake demo to work with local registries, handpicked ursulas, and polygon payments.
2022-03-22 15:54:36 -07:00
derekpierre
fdb6d4bcd2
Cleanup changes after rebasing over updates to threshold-network.
2022-02-22 15:08:07 -05:00
vzotova
856abe4892
Renames `provider_uri` to `eth_provider_uri`
2022-02-18 11:27:15 +03:00
Kieran Prasch
b36debae5c
Introduce PaymentMethod.Quote (calculate valid policy value for SubscriptionManager.createPolicy).
2022-02-08 11:01:24 -08:00
Kieran Prasch
ed64aa3ac4
Examples support of L2 payments.
2022-02-08 11:01:24 -08:00
Bogdan Opanchuk
a276cfec25
Disband umbral_adapter
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
ef0e619684
Bundle policy encrypting key with TreasureMap
2021-10-15 15:19:19 -07:00
Bogdan Opanchuk
256c93db58
Move [Encrypted]TreasureMap 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
Bogdan Opanchuk
55ef631673
Updates for umbral 0.3 API
2021-09-15 13:12:21 -07:00
Bogdan Opanchuk
66175a04da
Rename Bob.retrieve_cfrags()/retrieve() to avoid confusion with RetrievalClient.retrieve_cfrags()
2021-09-08 08:21:04 -07:00
Bogdan Opanchuk
da816586fa
Remove "enrico" as a parameter to Bob.retrieve(); make "policy_encrypting_key" mandatory.
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
1d3642d960
Retrieval rework
2021-09-08 08:21:03 -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
161bb8f06d
Use __bytes__ instead of to_bytes() in MessageKit
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
3b43eac717
Remove UmbralMessageKit alias
2021-09-07 11:58:55 -07:00
Kieran R. Prasch
d179d35b90
Pass the treasure map to Bob.retrieve in examples.
2021-08-20 16:59:41 -07:00
Kieran R. Prasch
024bcb1c5f
Finish deprecation of map storage from tests.
2021-08-20 16:58:58 -07:00
Kieran R. Prasch
edd5a5c2f9
Finish deprecatetion of Bob.join_plolicy (from examples).
2021-08-20 16:55:41 -07:00
Bogdan Opanchuk
6164137610
Rename m -> threshold, num_kfrags -> shares
2021-08-20 19:26:56 -04:00
Bogdan Opanchuk
e5c0bb079e
Fix the remainders of Alice/Publisher separation
2021-08-12 16:32:02 -07:00
Piotr Roslaniec
1a3a649f23
Address PR suggestions
2021-08-06 18:10:22 +02:00
Piotr Roslaniec
a8975ff41d
Fix tests
2021-08-06 18:10:22 +02:00
Piotr Roslaniec
662bc34439
Use Path methods instead of os module
2021-08-06 18:10:22 +02:00
Piotr Roslaniec
6a270c1713
Use pathlib
2021-08-06 18:10:20 +02:00
Kieran Prasch
8c12304944
Breakout Bob.retrieve logic into helper methods.
2021-07-03 17:54:43 -07:00
Kieran R. Prasch
f0080b3e2e
Minimally restore attachment of keystore
2021-06-28 14:33:31 -07:00
Bogdan Opanchuk
6090a755b0
Gate the choice of Umbral implementation in a single file
2021-06-22 18:31:08 -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
ghostmonk
7159751312
returned reactor.run.
2021-05-10 19:00:42 -04:00
ghostmonk
022135b347
Minor change
2021-05-01 11:34:21 -04:00
ghostmonk
4157e6e740
Cleaned up each DB on shutdown, and removed reactor.run to give user console control
2021-05-01 11:26:48 -04:00
ghostmonk
4290349a45
Added an exists check for the user cache folder
...
This is necessary for the run_demo_ursula_fleet.py script in the
examples folder. It's frustrating for new users to follow documentation
and have an error like this pop up. Additionally, the error made it
seem like sage.db is a file. Because there is a product called sage.db,
this caused even more confusion. Now the correct folder is created if
it does not already exist.
2021-04-28 20:05:28 -04:00
KPrasch
c6d0ade940
Merge pull request #2626 from piotr-roslaniec/fix/finnegans-demo-testnet
...
Fix missing provider_uri
2021-04-13 10:09:29 -07:00
Piotr Roslaniec
ec757bf4a9
Use constant for loopback address
2021-04-08 13:33:34 +02:00
Piotr Roslaniec
f72008a8f1
Make provider_uri optional for Bob
2021-04-08 10:16:56 +02:00
Piotr Roslaniec
31fa8d797b
Fix missing provider_uri
2021-04-07 16:47:21 +02:00
Kieran Prasch
72fb5dd591
A few more days...
2021-02-25 12:26:36 -08:00
Kieran Prasch
5d9cd50125
Remove try in doctpr.py; Closes #1874
2021-02-25 12:26:04 -08:00
Kieran Prasch
208e8cddfe
Further refine and lighten finnegan's wake for lynx, use implcit default seednodes..
2021-02-13 18:39:36 -08:00
Kieran Prasch
483c5e8732
Lowercase alice and bob, touch ups.
2021-02-13 18:39:36 -08:00
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