Fix 7 incomplete implementations found in the audit (plans/incomplete_implementations_audit.md): - NIP-06 (CRITICAL): Full BIP-32 HD path derivation (m/44'/1237'/0'/0/0) with SLIP-0010 ed25519 variant. Restores C/Rust key compatibility. 13 tests with official BIP-32 test vectors. - NIP-03 (HIGH): Real OpenTimestamps verification - OTS binary parser, Merkle proof execution, Bitcoin attestation comparison. 10 tests. - Validator (HIGH): All 8 AuthRuleType variants enforced (was 2/8). Added HashBlacklist, MimeWhitelist, MimeBlacklist, SizeLimit, RateLimit, Custom. 12 new tests. - Nsigner: 3 new transports (Serial, FD-pair, Qubes qrexec) + algorithm verbs (ed25519, x25519, ML-DSA-65, ML-KEM-768, OTP). Fixed derive_hmac algorithm config and role_path propagation. 23 tests. - Cashu: 5 new mint operations (melt quote, mint tokens, swap, check spent, restore keysets) with typed structs. 11 tests. - Blossom: head_blob, file-path upload/download, BlossomSigner trait for remote signers. 5 tests. Add versioning system: VERSION file, CHANGELOG.md, increment_and_push.sh script for semantic version bumps with git tagging and pushing. Total tests: 202 (was 143). Workspace version baseline set to 0.0.0.
59 lines
1.1 KiB
TOML
59 lines
1.1 KiB
TOML
[workspace]
|
|
resolver = "2"
|
|
members = [
|
|
"core",
|
|
"relay",
|
|
"nips",
|
|
"signer",
|
|
"services",
|
|
"nostr-core",
|
|
"examples/keypair_generator",
|
|
"examples/event_signer",
|
|
"tests",
|
|
]
|
|
|
|
[workspace.package]
|
|
version = "0.0.0"
|
|
edition = "2021"
|
|
license = "MIT"
|
|
|
|
[workspace.dependencies]
|
|
# Crypto
|
|
secp256k1 = { version = "0.29", features = ["rand-std", "hashes", "global-context"] }
|
|
sha2 = "0.10"
|
|
hmac = "0.12"
|
|
hex = "0.4"
|
|
chacha20poly1305 = "0.10"
|
|
aes = "0.8"
|
|
block-modes = "0.9"
|
|
rand = "0.8"
|
|
zeroize = { version = "1", features = ["zeroize_derive"] }
|
|
ed25519-dalek = { version = "2", features = ["rand_core"] }
|
|
|
|
# Serialization
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
|
|
# Networking
|
|
tokio = { version = "1", features = ["full"] }
|
|
tokio-tungstenite = "0.24"
|
|
tungstenite = "0.24"
|
|
reqwest = { version = "0.12", features = ["json", "native-tls"] }
|
|
url = "2"
|
|
|
|
# Encoding
|
|
base64 = "0.22"
|
|
bech32 = "0.11"
|
|
|
|
# Database
|
|
rusqlite = { version = "0.32", features = ["bundled"] }
|
|
|
|
# Utilities
|
|
thiserror = "2"
|
|
tracing = "0.1"
|
|
tracing-subscriber = "0.3"
|
|
chrono = "0.4"
|
|
futures-util = "0.3"
|
|
uuid = { version = "1", features = ["v4"] }
|
|
serialport = "4"
|