nucypher/examples/finnegans_wake_demo
Kieran Prasch 093e65a19c
Port @ongrid's docs to the latest demo; Thanks!
2018-11-10 14:02:39 -08:00
..
README.md Port @ongrid's docs to the latest demo; Thanks! 2018-11-10 14:02:39 -08:00
download_finnegans_wake.sh Pin eth-utils version 2018-11-10 13:41:10 -08:00
finnegans-wake-concise-demo.py Forced explicit https usage of teacher URI 2018-11-10 21:28:50 +01:00
finnegans-wake-verbose-demo.py Fix nucypher/nucypher#487 unexpected qwarg in federated demo 2018-11-10 13:55:23 -08:00
run_federated_ursula.py Add GPLv3 -- nucypher is free as in freedom 2018-11-04 13:16:42 -07:00

README.md

Ursula exchange example over live network

This is an illustration of NuCypher Decentralized Key Management System (KMS) allowing Alice to share a data with Bob using proxy re-encryption paradigm. This enables the private sharing of data between participants in public consensus networks, without revealing data keys to intermediary entities.

  1. Alice sets a Policy on the NuCypher network (2/3) and grants access to Bob
  2. Label and Alice's key public key provided to Bob
  3. Bob joins the policy by Label and Alice's public key
  4. DataSource created for the policy
  5. Each plaintext message gets encapsulated through the DataSource to messageKit
  6. Bob receives and reconstructs the DataSource from Policy public key and DataSource public key
  7. Bob retrieves the original message form DataSource and MessageKit

Install Nucypher

git clone https://github.com/nucypher/nucypher.git  # clone NuCypher repository
cd nucypher
git checkout federated  # We need a federated branch which isn't using blockchain
pipenv install --dev --three --skip-lock --pre
pipenv shell

Download the Book!

./download_finnegans_wake.sh

Run

python3 finnegans-wake-concise-demo.py