FrodoKEM-640-SHAKE is ported from CIRCL v1.6.4 (the RustCrypto crate implements the incompatible ISO variant) and reproduces the reference NIST KAT digest. ML-KEM-768 comes from RustCrypto ml-kem. Derivation, encapsulation, implicit rejection, KEK, header MAC, header parsing, STREAM and Argon2id key files all match vectors from the Go oracle, Go's files decrypt in Rust, and Go decrypts Rust's. Co-Authored-By: Claude <noreply@anthropic.com>
38 lines
1.5 KiB
TOML
38 lines
1.5 KiB
TOML
[package]
|
|
name = "vault"
|
|
version = "0.6.0"
|
|
edition = "2024"
|
|
rust-version = "1.99"
|
|
license = "GPL-3.0-or-later"
|
|
description = "Post-quantum encrypted file vault with a decoy passphrase"
|
|
homepage = "https://dixon.cx/vault"
|
|
repository = "https://github.com/andydixon/vault"
|
|
publish = false
|
|
|
|
[dependencies]
|
|
argon2 = { version = "0.6", default-features = false, features = ["alloc", "zeroize"] }
|
|
chacha20poly1305 = { version = "0.11", default-features = false, features = ["alloc"] }
|
|
hkdf = "0.13"
|
|
hmac = "0.13"
|
|
sha2 = { version = "0.11", default-features = false }
|
|
sha3 = { version = "0.11", default-features = false }
|
|
ml-kem = { version = "0.3.2", features = ["zeroize", "hazmat"] }
|
|
zeroize = { version = "1.9", features = ["derive"] }
|
|
getrandom = "0.4"
|
|
base64 = "0.23"
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
jiff = "0.2"
|
|
tar = { version = "0.4.46", default-features = false }
|
|
flate2 = { version = "1.1", default-features = false, features = ["rust_backend"] }
|
|
ureq = { version = "3.4", default-features = false, features = ["rustls", "platform-verifier", "gzip"] }
|
|
|
|
[dev-dependencies]
|
|
aes = "0.9"
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
rustix = { version = "1.1.5", features = ["fs", "process", "mm", "termios", "event", "net", "stdio", "param"] }
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
windows-sys = { version = "0.61", features = ["Win32_Foundation", "Win32_Storage_FileSystem", "Win32_System_Console", "Win32_System_IO", "Win32_System_Memory", "Win32_Security"] }
|