Skip to content

DJopek/dead-mans-switch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

371 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dead Man's Switch

A service that enables people to upload secret files, which are encrypted using shamir secret sharing, this is split between trusted servers and while the user is paying subscription it's held there, when they stop paying, the secret is published after some time period, enabling relatives to retrieve it.

How to run locally?

You need to have ipfs node installed.

Create .env with default config for API endpoints to python backend for download & upload

$ cp ./react-web/.env.example ./react-web/.env

Run script to start react , python and ipfs servers

$ ./run.sh

This opens them in 3 new terminals

  • gnome-terminal for linux
  • (default) terminal for macOS

Then it should open http://localhost:3000/ in your browser automatically, if not, you can go there manually by entering that URL.

Run with Docker

Start Docker Engine/Docker Desktop. Open your terminal and run these commands:

$ cd /path/to/dead-mans-switch
$ docker-compose up

In your browser open http://localhost:3000/.