Skip to content
This repository has been archived by the owner on May 24, 2022. It is now read-only.

Latest commit

 

History

History
60 lines (49 loc) · 4.48 KB

Secret-Store-Tutorial-overview.md

File metadata and controls

60 lines (49 loc) · 4.48 KB
title
Secret Store Tutorial Overview

In this tutorial, we will learn step by step how to setup a Secret Store with 3 nodes and use it for a simple use case:

Alice has a confidential document stored locally on her hard-drive. She will encrypt it and store the encryption key in a secure way. Later on, Alice will share this encrypted document with Bob making sure that he is the only one able to decrypt it.

To keep things simple we will work on a Private development chain but the Secret Store nodes are meant to be connected to and synchronize any blockchain (Private or Public).

The overall picture of this tutorial is the following:

  • 3 Secret Store nodes (each with an account)
  • 3 regular user accounts (Alice, Bob and Charlie) system overview
  • Each entity on this picture is running a node on the same blockchain. Interactions with the blockchain are not represented on this diagram.
  • The nodes part of the secret store are connected with each other using a secure connection (blue lines).
  • The Secret Store node 1 (SS1) exposes an HTTP API that Alice, Bob and Charlie can use to generate, store or retrieve encryption keys (orange lines).
  • Alice will send an encrypted document to Bob per email (gray line).
  • Charlie should not be able to decrypt the document.

Table of contents:

|Part 1 - Configuring each node → |