mirror of
https://github.com/ratspeak/rsReticulum
synced 2026-11-22 23:10:33 +00:00
This repository is a port of Reticulum, which is licensed under the Reticulum License. The AGPL-3.0-or-later grant previously in LICENSE was never effective, because there was no right to place the derived code under AGPL terms. The Reticulum License now in LICENSE governs every revision in this repository's history, not only revisions from this commit forward. Additions and modifications by Ratspeak LLC remain its copyright and are licensed under the same terms.
52 lines
1.5 KiB
TOML
52 lines
1.5 KiB
TOML
[package]
|
|
name = "rns-ratkey"
|
|
description = "Hardware-backed identity (YubiKey/Nitrokey PIV) for Reticulum"
|
|
publish = false
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license-file.workspace = true
|
|
rust-version.workspace = true
|
|
|
|
[dependencies]
|
|
rns-crypto = { workspace = true, features = ["std"] }
|
|
rns-identity = { workspace = true }
|
|
serde = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
tracing = { workspace = true }
|
|
hex = { workspace = true }
|
|
zeroize = { workspace = true }
|
|
aes = { workspace = true }
|
|
des = { workspace = true }
|
|
toml = "0.8"
|
|
|
|
# X.509 attestation-chain verification (always compiled, not behind `hardware`).
|
|
x509-cert = { version = "0.2", features = ["pem"] }
|
|
rsa = "0.9"
|
|
# `oid` feature: lets RSA PKCS#1 v1.5 VerifyingKey<Sha256/Sha512> build the DigestInfo prefix.
|
|
sha2 = { workspace = true, features = ["oid"] }
|
|
der = "0.7"
|
|
const-oid = "0.9"
|
|
|
|
# BIP-39 recoverable backup: 12-word mnemonic -> deterministic Reticulum identity.
|
|
bip39 = "2"
|
|
hkdf = "0.12"
|
|
|
|
[dev-dependencies]
|
|
rns-crypto = { workspace = true, features = ["std"] }
|
|
rns-identity = { workspace = true }
|
|
rns-link = { workspace = true }
|
|
# Synthetic-chain test fixtures.
|
|
x509-cert = { version = "0.2", features = ["pem", "builder"] }
|
|
# `sha2` feature provides RsaSignatureAssociatedOid for the cert builder's signer.
|
|
rsa = { version = "0.9", features = ["sha2"] }
|
|
rand = { workspace = true }
|
|
|
|
[features]
|
|
default = []
|
|
# Enable real hardware PIV session (requires pcsc system library)
|
|
hardware = ["dep:pcsc"]
|
|
|
|
[dependencies.pcsc]
|
|
version = "2"
|
|
optional = true
|