nucypher/examples/finnegans_wake_demo
..
README.md
download_finnegans_wake.sh
finnegans-wake-concise-demo.py
finnegans-wake-verbose-demo.py
run_federated_ursula.py

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