From 271a6284c2a21b5f08e69efb274f949fa53461ec Mon Sep 17 00:00:00 2001 From: Katharina Sabel Date: Thu, 10 May 2018 09:16:24 +0200 Subject: Updating README, breaking compilation --- README.md | 5 + assets/lockchain layout.svg | 488 ++++++++++++++++++++++++++++++++++++++++++ assets/lockchain-complete.png | Bin 0 -> 118669 bytes assets/lockchain-simple.png | Bin 0 -> 94236 bytes lockchain-files/src/fs.rs | 1 + lockchain-files/src/lib.rs | 5 - 6 files changed, 494 insertions(+), 5 deletions(-) create mode 100644 assets/lockchain layout.svg create mode 100644 assets/lockchain-complete.png create mode 100644 assets/lockchain-simple.png diff --git a/README.md b/README.md index 654584e..8f6a8fa 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,11 @@ This enables a few different configurations. Additionally there is `lockchain-http` which provides an easy to use RESTful API to use for browser extentions or client-side logic which can't rely on local cryptography. +**There are some graphical representations below** + +![](./assets/lockchain-simple.png) +![](./assets/lockchain-complete.png) + ## Security notice diff --git a/assets/lockchain layout.svg b/assets/lockchain layout.svg new file mode 100644 index 0000000..9ff658e --- /dev/null +++ b/assets/lockchain layout.svg @@ -0,0 +1,488 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + http + + + + + + + files + + + + + + blocks + + + + + + + server + + + + + Vault trait API + + + + + Serves encrypted records + + + + + + client + + + + + + + crypto + + + + + + + Rust API for cleartext files + + + + optional + + + + browser + + + + + http + + + + + + server + + + + + Vault trait API + + + + + Serves decrypted records + + + + + diff --git a/assets/lockchain-complete.png b/assets/lockchain-complete.png new file mode 100644 index 0000000..ab6f85d Binary files /dev/null and b/assets/lockchain-complete.png differ diff --git a/assets/lockchain-simple.png b/assets/lockchain-simple.png new file mode 100644 index 0000000..7d9f84f Binary files /dev/null and b/assets/lockchain-simple.png differ diff --git a/lockchain-files/src/fs.rs b/lockchain-files/src/fs.rs index 9c5340f..7c9d44a 100644 --- a/lockchain-files/src/fs.rs +++ b/lockchain-files/src/fs.rs @@ -3,6 +3,7 @@ use std::path::PathBuf; use std::fs::{self, OpenOptions}; use lcc::traits::AutoEncoder; +use lcc::Record; pub struct Filesystem { name: String, diff --git a/lockchain-files/src/lib.rs b/lockchain-files/src/lib.rs index 3caa99a..d42c222 100644 --- a/lockchain-files/src/lib.rs +++ b/lockchain-files/src/lib.rs @@ -3,11 +3,6 @@ //! #![feature(non_modrs_mods)] -extern crate serde; -#[macro_use] -extern crate serde_derive; -extern crate serde_json; - extern crate lockchain_core as lcc; use lcc::traits::{AutoEncoder, Body, Vault}; -- cgit v1.2.3