Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
662 changes: 628 additions & 34 deletions Cargo.lock

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ members = [
"tinycloud-verifier-wasm",
"tinycloud-sdk-rs",
"tinycloud-core",
"tinycloud-at-rest-escrow",
"tinycloud-threshold",
"dependencies/siwe",
"dependencies/siwe-recap",
Expand Down
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ COPY ./rust-toolchain.toml ./
COPY ./tinycloud-node-server/ ./tinycloud-node-server/
COPY ./tinycloud-auth/ ./tinycloud-auth/
COPY ./tinycloud-core/ ./tinycloud-core/
COPY ./tinycloud-at-rest-escrow/ ./tinycloud-at-rest-escrow/
COPY ./tinycloud-threshold/ ./tinycloud-threshold/
COPY ./tinycloud-sdk-rs/ ./tinycloud-sdk-rs/
COPY ./tinycloud-sdk-wasm/ ./tinycloud-sdk-wasm/
Expand Down
5 changes: 5 additions & 0 deletions release-plz.toml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,11 @@ name = "tinycloud-sdk-rs"
release = false
publish = false

[[package]]
name = "tinycloud-at-rest-escrow"
release = false
publish = false

[[package]]
name = "tinycloud-sdk-wasm"
release = false
Expand Down
34 changes: 34 additions & 0 deletions tinycloud-at-rest-escrow/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[package]
name = "tinycloud-at-rest-escrow"
version = "0.1.0"
edition = "2021"
publish = false
description = "Escrow of the TinyCloud at-rest root key: 2-of-3 Shamir shares sealed to pinned age recipients (TC-887)"

[dependencies]
# Pinned exactly: share and bundle formats depend on these crates' behaviour.
age = { version = "=0.12.1", default-features = false, features = ["armor"] }
vsss-rs = { version = "=5.4.0", default-features = false, features = ["std", "zeroize"] }
# age-plugin-yubikey's `piv-p256` stanza (see src/piv.rs); same versions age uses.
age-core = "=0.12.0"
p256 = { version = "0.13", features = ["ecdh"] }
base64 = { workspace = true }
hkdf = "0.12"
hmac = "0.12"
sha2 = "0.10"
subtle = "2.6"
zeroize = { version = "1", features = ["derive"] }
rand = "0.8"
serde = { workspace = true }
serde_json = { workspace = true }
hex = { workspace = true }
thiserror = { workspace = true }
# Strict app-compose reading (src/compose.rs); pinned: what it accepts is a
# security property.
yaml-rust2 = "=0.13.0"

[dev-dependencies]
# Software P-256 identities that open `p256tag` and `piv-p256` stanzas, so
# tests can round-trip shares sealed to hardware-key recipients.
hpke = { version = "0.12", default-features = false, features = ["alloc", "p256"] }
bech32 = "0.11"
Loading
Loading