feat: Update SAL Vault examples and documentation
- Renamed examples directory to `_archive` to reflect legacy status. - Updated README.md to reflect current status of vault module, including migration from Sameh's implementation to Lee's. - Temporarily disabled Rhai scripting integration for the vault. - Added notes regarding current and future development steps.
This commit is contained in:
@@ -3,45 +3,28 @@ name = "sal-vault"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
authors = ["PlanetFirst <info@incubaid.com>"]
|
||||
description = "SAL Vault - Cryptographic functionality including key management, digital signatures, symmetric encryption, Ethereum wallets, and encrypted key-value store"
|
||||
description = "SAL Vault - Secure key management and cryptographic operations"
|
||||
repository = "https://git.threefold.info/herocode/sal"
|
||||
license = "Apache-2.0"
|
||||
keywords = ["vault", "crypto", "keys", "security", "sal"]
|
||||
categories = ["cryptography", "api-bindings"]
|
||||
|
||||
[features]
|
||||
# native = ["kv/native"]
|
||||
# wasm = ["kv/web"]
|
||||
# Features temporarily disabled due to external dependency issues
|
||||
|
||||
[dependencies]
|
||||
# Core cryptographic dependencies
|
||||
getrandom = { version = "0.3.3", features = ["wasm_js"] }
|
||||
rand = "0.9.1"
|
||||
# We need to pull v0.2.x to enable the "js" feature for wasm32 builds
|
||||
getrandom_old = { package = "getrandom", version = "0.2.16", features = ["js"] }
|
||||
serde = { version = "1.0.219", features = ["derive"] }
|
||||
serde_json = "1.0.140"
|
||||
chacha20poly1305 = "0.10.1"
|
||||
k256 = { version = "0.13.4", features = ["ecdsa", "ecdh"] }
|
||||
sha2 = "0.10.7"
|
||||
rand = "0.8.5"
|
||||
|
||||
# Ethereum dependencies
|
||||
ethers = { version = "2.0.7", features = ["legacy"] }
|
||||
hex = "0.4"
|
||||
|
||||
# Serialization and data handling
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
serde_json = "1.0"
|
||||
base64 = "0.22.1"
|
||||
|
||||
# Error handling
|
||||
thiserror = "2.0.12"
|
||||
|
||||
# Async runtime and utilities
|
||||
tokio = { version = "1.45.0", features = ["full"] }
|
||||
once_cell = "1.18.0"
|
||||
|
||||
# File system utilities
|
||||
dirs = "6.0.0"
|
||||
|
||||
# Rhai scripting support
|
||||
rhai = { version = "1.12.0", features = ["sync"] }
|
||||
|
||||
# UUID generation
|
||||
uuid = { version = "1.16.0", features = ["v4"] }
|
||||
|
||||
# Logging
|
||||
log = "0.4"
|
||||
|
||||
[dev-dependencies]
|
||||
tempfile = "3.5"
|
||||
tokio-test = "0.4.4"
|
||||
k256 = { version = "0.13.4", features = ["ecdh"] }
|
||||
sha2 = "0.10.9"
|
||||
# kv = { git = "https://git.ourworld.tf/samehabouelsaad/sal-modular", package = "kvstore", rev = "9dce815daa" }
|
||||
# Temporarily disabled due to broken external dependencies
|
||||
bincode = { version = "2.0.1", features = ["serde"] }
|
||||
pbkdf2 = "0.12.2"
|
||||
|
Reference in New Issue
Block a user