aboutsummaryrefslogtreecommitdiff
path: root/lockchain-core
diff options
context:
space:
mode:
Diffstat (limited to 'lockchain-core')
-rw-r--r--lockchain-core/README.md6
-rw-r--r--lockchain-core/lockchain-crypto/Cargo.toml6
-rw-r--r--lockchain-core/lockchain-crypto/src/lib.rs7
-rw-r--r--lockchain-core/lockchain-files/Cargo.toml6
-rw-r--r--lockchain-core/lockchain-files/src/lib.rs7
-rw-r--r--lockchain-core/lockchain-files/src/vault.rs0
6 files changed, 32 insertions, 0 deletions
diff --git a/lockchain-core/README.md b/lockchain-core/README.md
index 32ebc7c..b79c82d 100644
--- a/lockchain-core/README.md
+++ b/lockchain-core/README.md
@@ -1,5 +1,11 @@
# lockchain-core
+This library ecosystem is made of three main parts.
+
+ - `lockchain-core` Common types shared between both `secret` and `default` operation modes.
+ - `lockchain-files` load vaults, decode files and work with encrypted streams.
+ - `lockchain-crypto` attach crypto handlers to vaults as a middleware to decrypt data.
+
If you're a Rust developer and interested in the `lockchain` crate, this README is for you. Lockchain is a document based, encrypted data vault. It provides you with an easy to use API to create, manage and update vaults and records. Build robust and user-friendly applications that deal with their data in a secure manner.
Most notibly, this crate is being used by the [lockchain]() password manager as well as the [poke]() linux ssh key manager.
diff --git a/lockchain-core/lockchain-crypto/Cargo.toml b/lockchain-core/lockchain-crypto/Cargo.toml
new file mode 100644
index 0000000..b598a42
--- /dev/null
+++ b/lockchain-core/lockchain-crypto/Cargo.toml
@@ -0,0 +1,6 @@
+[package]
+name = "lockchain-crypto"
+version = "0.1.0"
+authors = ["Katharina Fey <kookie@spacekookie.de>"]
+
+[dependencies]
diff --git a/lockchain-core/lockchain-crypto/src/lib.rs b/lockchain-core/lockchain-crypto/src/lib.rs
new file mode 100644
index 0000000..31e1bb2
--- /dev/null
+++ b/lockchain-core/lockchain-crypto/src/lib.rs
@@ -0,0 +1,7 @@
+#[cfg(test)]
+mod tests {
+ #[test]
+ fn it_works() {
+ assert_eq!(2 + 2, 4);
+ }
+}
diff --git a/lockchain-core/lockchain-files/Cargo.toml b/lockchain-core/lockchain-files/Cargo.toml
new file mode 100644
index 0000000..f15d981
--- /dev/null
+++ b/lockchain-core/lockchain-files/Cargo.toml
@@ -0,0 +1,6 @@
+[package]
+name = "lockchain-files"
+version = "0.1.0"
+authors = ["Katharina Fey <kookie@spacekookie.de>"]
+
+[dependencies]
diff --git a/lockchain-core/lockchain-files/src/lib.rs b/lockchain-core/lockchain-files/src/lib.rs
new file mode 100644
index 0000000..31e1bb2
--- /dev/null
+++ b/lockchain-core/lockchain-files/src/lib.rs
@@ -0,0 +1,7 @@
+#[cfg(test)]
+mod tests {
+ #[test]
+ fn it_works() {
+ assert_eq!(2 + 2, 4);
+ }
+}
diff --git a/lockchain-core/lockchain-files/src/vault.rs b/lockchain-core/lockchain-files/src/vault.rs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/lockchain-core/lockchain-files/src/vault.rs