f6bd511599
* merging georgio/lp-psqv2-integration * use authenicator on the responder's side * nym-lp crate compiling * moved the e2e test to nym-lp * move key generation to peer * moved principal generation * update KKTResponder * encapsulation key parsing * Adding concrete types within KKT exchange * initiator side of the full handshake * responder side of the handshake and full e2e test * fixed unit-tests within nym-kkt * LpSession cleanup * helpers for Transport * revamp of the transport traits and initial work on client-side transport * compiling nym-crypto * 'working' client-entry dvpn reg * Fix key conversion * Slightly reduce use of rand08 * reverted back to libcrux repo refs * intial telescoping reg * removing dead code * wip * moved data encryption into the state machine * restoring nym-lp tests * update lp api model * Add receiver index derivation * Add receiver index derivation * use derived receiver index * feat: add kem key generation to nodes * generate fresh x25519, mlkem768 and mceliece keys on config migration * add lp peer config * nym-node startup cleanup * removed dependency on pre-rand09 from nym-lp * re-expose LP information on the http API * fixed tests compilation * add peer config happy path tests * formatting * add more tests and fix bug * better docs * clippy and formatting issues * return error on mceliece within NestedSession * wasm fixes * removed legacy nym-vpn-lib-wasm * fixing wasm for real this time * additional fixes * add payload to kkt * make clippy happy * moved LP to nym-node crate * cargo fmt * integrate lpconfig payload * fix response size trait impl * Migrate receiver index * Change receiver index to u32 and regorganize crates * clippy * hopefully final wasm fixes * simple conversion method from semver to ciphersuite * updated nym-node config template * chore: remove duplicated code --------- Co-authored-by: Georgio Nicolas <me@georgio.xyz>
62 lines
2.4 KiB
TOML
62 lines
2.4 KiB
TOML
[package]
|
|
name = "nym-crypto"
|
|
version.workspace = true
|
|
description = "Crypto library for the nym mixnet"
|
|
edition = { workspace = true }
|
|
authors = { workspace = true }
|
|
license = { workspace = true }
|
|
repository = { workspace = true }
|
|
|
|
[dependencies]
|
|
aes-gcm-siv = { workspace = true, optional = true }
|
|
aes = { workspace = true, optional = true }
|
|
aead = { workspace = true, optional = true }
|
|
base64.workspace = true
|
|
bs58 = { workspace = true }
|
|
blake3 = { workspace = true, features = ["traits-preview"], optional = true }
|
|
ctr = { workspace = true, optional = true }
|
|
curve25519-dalek = { workspace = true, optional = true }
|
|
digest = { workspace = true, optional = true }
|
|
generic-array = { workspace = true, optional = true }
|
|
hkdf = { workspace = true, optional = true }
|
|
hmac = { workspace = true, optional = true }
|
|
jwt-simple = { workspace = true, optional = true }
|
|
libcrux-psq = { workspace = true, optional = true }
|
|
libcrux-curve25519 = { workspace = true, optional = true }
|
|
cipher = { workspace = true, optional = true }
|
|
x25519-dalek = { workspace = true, features = ["static_secrets"], optional = true }
|
|
ed25519-dalek = { workspace = true, features = ["rand_core"], optional = true }
|
|
rand = { workspace = true, optional = true }
|
|
rand09 = { workspace = true, optional = true }
|
|
serde_bytes = { workspace = true, optional = true }
|
|
serde = { workspace = true, features = ["derive"], optional = true }
|
|
sha2 = { workspace = true, optional = true }
|
|
subtle-encoding = { workspace = true, features = ["bech32-preview"] }
|
|
thiserror = { workspace = true }
|
|
zeroize = { workspace = true, optional = true, features = ["zeroize_derive"] }
|
|
|
|
# internal
|
|
nym-sphinx-types = { workspace = true, optional = true }
|
|
nym-pemstore = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
anyhow = { workspace = true }
|
|
rand_chacha = { workspace = true }
|
|
nym-test-utils = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
|
|
|
|
[features]
|
|
default = []
|
|
aead = ["dep:aead", "aead/std", "aes-gcm-siv", "generic-array"]
|
|
naive_jwt = ["asymmetric", "jwt-simple"]
|
|
libcrux_x25519 = ["libcrux-psq", "libcrux-curve25519"]
|
|
serde = ["dep:serde", "serde_bytes", "ed25519-dalek/serde", "x25519-dalek/serde"]
|
|
asymmetric = ["x25519-dalek", "ed25519-dalek", "curve25519-dalek", "sha2", "zeroize"]
|
|
hashing = ["blake3", "digest", "hkdf", "hmac", "generic-array", "sha2", "zeroize", "rand09"]
|
|
stream_cipher = ["aes", "ctr", "cipher", "generic-array"]
|
|
sphinx = ["nym-sphinx-types", "nym-sphinx-types/sphinx"]
|
|
|
|
[lints]
|
|
workspace = true
|