-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
66 lines (60 loc) · 2.11 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
[package]
name = "msecret"
version = "0.1.2"
description = """
A reference implementation of MSecret key derivation, written in pure Rust.
Includes a helpful command-line utility.
"""
authors = ["Robert Quattlebaum"]
license = "Apache-2.0"
documentation = "https://docs.rs/msecret"
repository = "https://github.com/darconeous/msecret"
readme = "README.md"
categories = ["cryptography"]
rust-version = "1.70"
edition = "2021"
[features]
"share" = ["gf256", "crc"]
"bin" = ["rpassword", "shellwords", "rustyline", "mnemonic", "clap" ]
"longtest" = []
"default" = ["openssl", "share", "bin"]
[dependencies]
openssl = { version = ">=0.10.55", features = ["vendored"], optional = true }
gf256 = { version = "0.3", features = ["shamir", "thread-rng"], optional = true }
crc = { version = "3", optional = true }
anyhow = "1"
base64 = "0.21"
bs58 = "0.5"
digest = "0.10"
hex = "0.4"
hex-literal = "0.4"
hkdf = { version = "0.12" }
hmac = { version = "0.12" }
num-bigint-dig = { version = ">=0.8.4", features = ["prime"] }
num-integer = "0.1"
num-traits = "0.2"
p256 = { version = "0.13", features = ["ecdh","ecdsa"]}
rand = "0.8"
rsa = { version = "0.9", features = ["sha2"] }
pkcs8 = { version = "0.10", features = ["encryption", "pem"]}
rust-argon2 = "1"
sha2 = { version = "0.10" }
signature = { version = ">=2.0" }
typenum = "1"
elliptic-curve = { version = "0.13", default-features = false, features = ["hazmat", "sec1", "pem"] }
ed25519-dalek = { version = "2.0.0-rc.3", features = ["digest", "pkcs8", "pem", "zeroize"] }
x25519-dalek = { version = "2.0.0-rc.3", features = ["static_secrets"] }
zeroize = { version = "1.6", features = ["zeroize_derive"] }
# Needed for Bitcoin support.
ripemd = "0.1"
k256 = { version = "0.13", features = ["ecdh","ecdsa"]}
# Only needed for the binary.
rpassword = { version = "7", optional = true }
shellwords = { version = "1.0.0", optional = true }
rustyline = { version = "12", features = ["derive"], optional = true }
mnemonic = { version = "1", optional = true }
clap = { version = "4.3", features = ["derive"], optional = true }
[[bin]]
name = "msecretctl"
path = "src/tool/main.rs"
required-features = ["bin"]