diff --git a/nym-vpn-core/Cargo.lock b/nym-vpn-core/Cargo.lock index 57b239e0d6..065515ce5c 100644 --- a/nym-vpn-core/Cargo.lock +++ b/nym-vpn-core/Cargo.lock @@ -3230,7 +3230,7 @@ dependencies = [ [[package]] name = "nym-api-requests" version = "0.1.0" -source = "git+https://github.com/nymtech/nym?branch=release%2F2025.2-hu#1aec8be85e3ba9acb653ae4ead833082652a62e3" +source = "git+https://github.com/nymtech/nym?branch=feature%2Fephemeral_cred_client#b2db77e4cfcf85c674c46ff1133201924082262b" dependencies = [ "bs58", "cosmrs", @@ -3300,7 +3300,7 @@ dependencies = [ [[package]] name = "nym-authenticator-requests" version = "0.1.0" -source = "git+https://github.com/nymtech/nym?branch=release%2F2025.2-hu#1aec8be85e3ba9acb653ae4ead833082652a62e3" +source = "git+https://github.com/nymtech/nym?branch=feature%2Fephemeral_cred_client#b2db77e4cfcf85c674c46ff1133201924082262b" dependencies = [ "base64 0.22.1", "bincode", @@ -3321,7 +3321,7 @@ dependencies = [ [[package]] name = "nym-bandwidth-controller" version = "0.1.0" -source = "git+https://github.com/nymtech/nym?branch=release%2F2025.2-hu#1aec8be85e3ba9acb653ae4ead833082652a62e3" +source = "git+https://github.com/nymtech/nym?branch=feature%2Fephemeral_cred_client#b2db77e4cfcf85c674c46ff1133201924082262b" dependencies = [ "bip39", "log", @@ -3343,7 +3343,7 @@ dependencies = [ [[package]] name = "nym-bin-common" version = "0.6.0" -source = "git+https://github.com/nymtech/nym?branch=release%2F2025.2-hu#1aec8be85e3ba9acb653ae4ead833082652a62e3" +source = "git+https://github.com/nymtech/nym?branch=feature%2Fephemeral_cred_client#b2db77e4cfcf85c674c46ff1133201924082262b" dependencies = [ "const-str", "log", @@ -3357,7 +3357,7 @@ dependencies = [ [[package]] name = "nym-client-core" version = "1.1.15" -source = "git+https://github.com/nymtech/nym?branch=release%2F2025.2-hu#1aec8be85e3ba9acb653ae4ead833082652a62e3" +source = "git+https://github.com/nymtech/nym?branch=feature%2Fephemeral_cred_client#b2db77e4cfcf85c674c46ff1133201924082262b" dependencies = [ "async-trait", "base64 0.22.1", @@ -3418,7 +3418,7 @@ dependencies = [ [[package]] name = "nym-client-core-config-types" version = "0.1.0" -source = "git+https://github.com/nymtech/nym?branch=release%2F2025.2-hu#1aec8be85e3ba9acb653ae4ead833082652a62e3" +source = "git+https://github.com/nymtech/nym?branch=feature%2Fephemeral_cred_client#b2db77e4cfcf85c674c46ff1133201924082262b" dependencies = [ "humantime-serde", "nym-config", @@ -3434,7 +3434,7 @@ dependencies = [ [[package]] name = "nym-client-core-gateways-storage" version = "0.1.0" -source = "git+https://github.com/nymtech/nym?branch=release%2F2025.2-hu#1aec8be85e3ba9acb653ae4ead833082652a62e3" +source = "git+https://github.com/nymtech/nym?branch=feature%2Fephemeral_cred_client#b2db77e4cfcf85c674c46ff1133201924082262b" dependencies = [ "async-trait", "cosmrs", @@ -3453,7 +3453,7 @@ dependencies = [ [[package]] name = "nym-client-core-surb-storage" version = "0.1.0" -source = "git+https://github.com/nymtech/nym?branch=release%2F2025.2-hu#1aec8be85e3ba9acb653ae4ead833082652a62e3" +source = "git+https://github.com/nymtech/nym?branch=feature%2Fephemeral_cred_client#b2db77e4cfcf85c674c46ff1133201924082262b" dependencies = [ "async-trait", "dashmap", @@ -3470,7 +3470,7 @@ dependencies = [ [[package]] name = "nym-coconut-bandwidth-contract-common" version = "0.1.0" -source = "git+https://github.com/nymtech/nym?branch=release%2F2025.2-hu#1aec8be85e3ba9acb653ae4ead833082652a62e3" +source = "git+https://github.com/nymtech/nym?branch=feature%2Fephemeral_cred_client#b2db77e4cfcf85c674c46ff1133201924082262b" dependencies = [ "cosmwasm-schema", "cosmwasm-std", @@ -3480,7 +3480,7 @@ dependencies = [ [[package]] name = "nym-coconut-dkg-common" version = "0.1.0" -source = "git+https://github.com/nymtech/nym?branch=release%2F2025.2-hu#1aec8be85e3ba9acb653ae4ead833082652a62e3" +source = "git+https://github.com/nymtech/nym?branch=feature%2Fephemeral_cred_client#b2db77e4cfcf85c674c46ff1133201924082262b" dependencies = [ "cosmwasm-schema", "cosmwasm-std", @@ -3504,7 +3504,7 @@ dependencies = [ [[package]] name = "nym-compact-ecash" version = "0.1.0" -source = "git+https://github.com/nymtech/nym?branch=release%2F2025.2-hu#1aec8be85e3ba9acb653ae4ead833082652a62e3" +source = "git+https://github.com/nymtech/nym?branch=feature%2Fephemeral_cred_client#b2db77e4cfcf85c674c46ff1133201924082262b" dependencies = [ "bincode", "bls12_381", @@ -3527,7 +3527,7 @@ dependencies = [ [[package]] name = "nym-config" version = "0.1.0" -source = "git+https://github.com/nymtech/nym?branch=release%2F2025.2-hu#1aec8be85e3ba9acb653ae4ead833082652a62e3" +source = "git+https://github.com/nymtech/nym?branch=feature%2Fephemeral_cred_client#b2db77e4cfcf85c674c46ff1133201924082262b" dependencies = [ "dirs", "handlebars", @@ -3559,7 +3559,7 @@ dependencies = [ [[package]] name = "nym-contracts-common" version = "0.5.0" -source = "git+https://github.com/nymtech/nym?branch=release%2F2025.2-hu#1aec8be85e3ba9acb653ae4ead833082652a62e3" +source = "git+https://github.com/nymtech/nym?branch=feature%2Fephemeral_cred_client#b2db77e4cfcf85c674c46ff1133201924082262b" dependencies = [ "bs58", "cosmwasm-schema", @@ -3574,7 +3574,7 @@ dependencies = [ [[package]] name = "nym-country-group" version = "0.1.0" -source = "git+https://github.com/nymtech/nym?branch=release%2F2025.2-hu#1aec8be85e3ba9acb653ae4ead833082652a62e3" +source = "git+https://github.com/nymtech/nym?branch=feature%2Fephemeral_cred_client#b2db77e4cfcf85c674c46ff1133201924082262b" dependencies = [ "serde", "tracing", @@ -3583,7 +3583,7 @@ dependencies = [ [[package]] name = "nym-credential-proxy-requests" version = "0.1.0" -source = "git+https://github.com/nymtech/nym?branch=release%2F2025.2-hu#1aec8be85e3ba9acb653ae4ead833082652a62e3" +source = "git+https://github.com/nymtech/nym?branch=feature%2Fephemeral_cred_client#b2db77e4cfcf85c674c46ff1133201924082262b" dependencies = [ "async-trait", "nym-credentials", @@ -3603,7 +3603,7 @@ dependencies = [ [[package]] name = "nym-credential-storage" version = "0.1.0" -source = "git+https://github.com/nymtech/nym?branch=release%2F2025.2-hu#1aec8be85e3ba9acb653ae4ead833082652a62e3" +source = "git+https://github.com/nymtech/nym?branch=feature%2Fephemeral_cred_client#b2db77e4cfcf85c674c46ff1133201924082262b" dependencies = [ "async-trait", "bincode", @@ -3621,7 +3621,7 @@ dependencies = [ [[package]] name = "nym-credential-utils" version = "0.1.0" -source = "git+https://github.com/nymtech/nym?branch=release%2F2025.2-hu#1aec8be85e3ba9acb653ae4ead833082652a62e3" +source = "git+https://github.com/nymtech/nym?branch=feature%2Fephemeral_cred_client#b2db77e4cfcf85c674c46ff1133201924082262b" dependencies = [ "log", "nym-bandwidth-controller", @@ -3640,7 +3640,7 @@ dependencies = [ [[package]] name = "nym-credentials" version = "0.1.0" -source = "git+https://github.com/nymtech/nym?branch=release%2F2025.2-hu#1aec8be85e3ba9acb653ae4ead833082652a62e3" +source = "git+https://github.com/nymtech/nym?branch=feature%2Fephemeral_cred_client#b2db77e4cfcf85c674c46ff1133201924082262b" dependencies = [ "bincode", "bls12_381", @@ -3663,7 +3663,7 @@ dependencies = [ [[package]] name = "nym-credentials-interface" version = "0.1.0" -source = "git+https://github.com/nymtech/nym?branch=release%2F2025.2-hu#1aec8be85e3ba9acb653ae4ead833082652a62e3" +source = "git+https://github.com/nymtech/nym?branch=feature%2Fephemeral_cred_client#b2db77e4cfcf85c674c46ff1133201924082262b" dependencies = [ "bls12_381", "nym-compact-ecash", @@ -3680,7 +3680,7 @@ dependencies = [ [[package]] name = "nym-crypto" version = "0.4.0" -source = "git+https://github.com/nymtech/nym?branch=release%2F2025.2-hu#1aec8be85e3ba9acb653ae4ead833082652a62e3" +source = "git+https://github.com/nymtech/nym?branch=feature%2Fephemeral_cred_client#b2db77e4cfcf85c674c46ff1133201924082262b" dependencies = [ "aead", "aes", @@ -3743,7 +3743,7 @@ dependencies = [ [[package]] name = "nym-ecash-contract-common" version = "0.1.0" -source = "git+https://github.com/nymtech/nym?branch=release%2F2025.2-hu#1aec8be85e3ba9acb653ae4ead833082652a62e3" +source = "git+https://github.com/nymtech/nym?branch=feature%2Fephemeral_cred_client#b2db77e4cfcf85c674c46ff1133201924082262b" dependencies = [ "bs58", "cosmwasm-schema", @@ -3757,7 +3757,7 @@ dependencies = [ [[package]] name = "nym-ecash-time" version = "0.1.0" -source = "git+https://github.com/nymtech/nym?branch=release%2F2025.2-hu#1aec8be85e3ba9acb653ae4ead833082652a62e3" +source = "git+https://github.com/nymtech/nym?branch=feature%2Fephemeral_cred_client#b2db77e4cfcf85c674c46ff1133201924082262b" dependencies = [ "nym-compact-ecash", "time", @@ -3766,7 +3766,7 @@ dependencies = [ [[package]] name = "nym-exit-policy" version = "0.1.0" -source = "git+https://github.com/nymtech/nym?branch=release%2F2025.2-hu#1aec8be85e3ba9acb653ae4ead833082652a62e3" +source = "git+https://github.com/nymtech/nym?branch=feature%2Fephemeral_cred_client#b2db77e4cfcf85c674c46ff1133201924082262b" dependencies = [ "serde", "serde_json", @@ -3778,7 +3778,7 @@ dependencies = [ [[package]] name = "nym-explorer-api-requests" version = "0.1.0" -source = "git+https://github.com/nymtech/nym?branch=release%2F2025.2-hu#1aec8be85e3ba9acb653ae4ead833082652a62e3" +source = "git+https://github.com/nymtech/nym?branch=feature%2Fephemeral_cred_client#b2db77e4cfcf85c674c46ff1133201924082262b" dependencies = [ "nym-api-requests", "nym-contracts-common", @@ -3790,7 +3790,7 @@ dependencies = [ [[package]] name = "nym-explorer-client" version = "0.1.0" -source = "git+https://github.com/nymtech/nym?branch=release%2F2025.2-hu#1aec8be85e3ba9acb653ae4ead833082652a62e3" +source = "git+https://github.com/nymtech/nym?branch=feature%2Fephemeral_cred_client#b2db77e4cfcf85c674c46ff1133201924082262b" dependencies = [ "nym-explorer-api-requests", "reqwest 0.12.4", @@ -3803,7 +3803,7 @@ dependencies = [ [[package]] name = "nym-gateway-client" version = "0.1.0" -source = "git+https://github.com/nymtech/nym?branch=release%2F2025.2-hu#1aec8be85e3ba9acb653ae4ead833082652a62e3" +source = "git+https://github.com/nymtech/nym?branch=feature%2Fephemeral_cred_client#b2db77e4cfcf85c674c46ff1133201924082262b" dependencies = [ "futures", "getrandom 0.2.15", @@ -3883,6 +3883,7 @@ dependencies = [ "nym-client-core", "nym-config", "nym-connection-monitor", + "nym-credentials-interface", "nym-crypto", "nym-gateway-directory", "nym-ip-packet-client", @@ -3909,7 +3910,7 @@ dependencies = [ [[package]] name = "nym-gateway-requests" version = "0.1.0" -source = "git+https://github.com/nymtech/nym?branch=release%2F2025.2-hu#1aec8be85e3ba9acb653ae4ead833082652a62e3" +source = "git+https://github.com/nymtech/nym?branch=feature%2Fephemeral_cred_client#b2db77e4cfcf85c674c46ff1133201924082262b" dependencies = [ "bs58", "futures", @@ -3935,7 +3936,7 @@ dependencies = [ [[package]] name = "nym-group-contract-common" version = "0.1.0" -source = "git+https://github.com/nymtech/nym?branch=release%2F2025.2-hu#1aec8be85e3ba9acb653ae4ead833082652a62e3" +source = "git+https://github.com/nymtech/nym?branch=feature%2Fephemeral_cred_client#b2db77e4cfcf85c674c46ff1133201924082262b" dependencies = [ "cosmwasm-schema", "cw-controllers", @@ -3960,7 +3961,7 @@ dependencies = [ [[package]] name = "nym-http-api-client" version = "0.1.0" -source = "git+https://github.com/nymtech/nym?branch=release%2F2025.2-hu#1aec8be85e3ba9acb653ae4ead833082652a62e3" +source = "git+https://github.com/nymtech/nym?branch=feature%2Fephemeral_cred_client#b2db77e4cfcf85c674c46ff1133201924082262b" dependencies = [ "async-trait", "http 1.2.0", @@ -3977,7 +3978,7 @@ dependencies = [ [[package]] name = "nym-http-api-common" version = "0.1.0" -source = "git+https://github.com/nymtech/nym?branch=release%2F2025.2-hu#1aec8be85e3ba9acb653ae4ead833082652a62e3" +source = "git+https://github.com/nymtech/nym?branch=feature%2Fephemeral_cred_client#b2db77e4cfcf85c674c46ff1133201924082262b" dependencies = [ "axum 0.7.9", "axum-client-ip", @@ -3996,7 +3997,7 @@ dependencies = [ [[package]] name = "nym-id" version = "0.1.0" -source = "git+https://github.com/nymtech/nym?branch=release%2F2025.2-hu#1aec8be85e3ba9acb653ae4ead833082652a62e3" +source = "git+https://github.com/nymtech/nym?branch=feature%2Fephemeral_cred_client#b2db77e4cfcf85c674c46ff1133201924082262b" dependencies = [ "nym-credential-storage", "nym-credentials", @@ -4026,7 +4027,7 @@ dependencies = [ [[package]] name = "nym-ip-packet-requests" version = "0.1.0" -source = "git+https://github.com/nymtech/nym?branch=release%2F2025.2-hu#1aec8be85e3ba9acb653ae4ead833082652a62e3" +source = "git+https://github.com/nymtech/nym?branch=feature%2Fephemeral_cred_client#b2db77e4cfcf85c674c46ff1133201924082262b" dependencies = [ "bincode", "bytes", @@ -4044,7 +4045,7 @@ dependencies = [ [[package]] name = "nym-metrics" version = "0.1.0" -source = "git+https://github.com/nymtech/nym?branch=release%2F2025.2-hu#1aec8be85e3ba9acb653ae4ead833082652a62e3" +source = "git+https://github.com/nymtech/nym?branch=feature%2Fephemeral_cred_client#b2db77e4cfcf85c674c46ff1133201924082262b" dependencies = [ "dashmap", "lazy_static", @@ -4055,7 +4056,7 @@ dependencies = [ [[package]] name = "nym-mixnet-client" version = "0.1.0" -source = "git+https://github.com/nymtech/nym?branch=release%2F2025.2-hu#1aec8be85e3ba9acb653ae4ead833082652a62e3" +source = "git+https://github.com/nymtech/nym?branch=feature%2Fephemeral_cred_client#b2db77e4cfcf85c674c46ff1133201924082262b" dependencies = [ "dashmap", "futures", @@ -4077,7 +4078,7 @@ dependencies = [ [[package]] name = "nym-mixnet-contract-common" version = "0.6.0" -source = "git+https://github.com/nymtech/nym?branch=release%2F2025.2-hu#1aec8be85e3ba9acb653ae4ead833082652a62e3" +source = "git+https://github.com/nymtech/nym?branch=feature%2Fephemeral_cred_client#b2db77e4cfcf85c674c46ff1133201924082262b" dependencies = [ "bs58", "cosmwasm-schema", @@ -4099,7 +4100,7 @@ dependencies = [ [[package]] name = "nym-multisig-contract-common" version = "0.1.0" -source = "git+https://github.com/nymtech/nym?branch=release%2F2025.2-hu#1aec8be85e3ba9acb653ae4ead833082652a62e3" +source = "git+https://github.com/nymtech/nym?branch=feature%2Fephemeral_cred_client#b2db77e4cfcf85c674c46ff1133201924082262b" dependencies = [ "cosmwasm-schema", "cosmwasm-std", @@ -4115,7 +4116,7 @@ dependencies = [ [[package]] name = "nym-network-defaults" version = "0.1.0" -source = "git+https://github.com/nymtech/nym?branch=release%2F2025.2-hu#1aec8be85e3ba9acb653ae4ead833082652a62e3" +source = "git+https://github.com/nymtech/nym?branch=feature%2Fephemeral_cred_client#b2db77e4cfcf85c674c46ff1133201924082262b" dependencies = [ "cargo_metadata 0.18.1", "dotenvy", @@ -4130,7 +4131,7 @@ dependencies = [ [[package]] name = "nym-node-requests" version = "0.1.0" -source = "git+https://github.com/nymtech/nym?branch=release%2F2025.2-hu#1aec8be85e3ba9acb653ae4ead833082652a62e3" +source = "git+https://github.com/nymtech/nym?branch=feature%2Fephemeral_cred_client#b2db77e4cfcf85c674c46ff1133201924082262b" dependencies = [ "async-trait", "celes", @@ -4153,7 +4154,7 @@ dependencies = [ [[package]] name = "nym-nonexhaustive-delayqueue" version = "0.1.0" -source = "git+https://github.com/nymtech/nym?branch=release%2F2025.2-hu#1aec8be85e3ba9acb653ae4ead833082652a62e3" +source = "git+https://github.com/nymtech/nym?branch=feature%2Fephemeral_cred_client#b2db77e4cfcf85c674c46ff1133201924082262b" dependencies = [ "tokio", "tokio-stream", @@ -4183,7 +4184,7 @@ dependencies = [ [[package]] name = "nym-ordered-buffer" version = "0.1.0" -source = "git+https://github.com/nymtech/nym?branch=release%2F2025.2-hu#1aec8be85e3ba9acb653ae4ead833082652a62e3" +source = "git+https://github.com/nymtech/nym?branch=feature%2Fephemeral_cred_client#b2db77e4cfcf85c674c46ff1133201924082262b" dependencies = [ "log", "thiserror 1.0.69", @@ -4192,7 +4193,7 @@ dependencies = [ [[package]] name = "nym-outfox" version = "0.1.0" -source = "git+https://github.com/nymtech/nym?branch=release%2F2025.2-hu#1aec8be85e3ba9acb653ae4ead833082652a62e3" +source = "git+https://github.com/nymtech/nym?branch=feature%2Fephemeral_cred_client#b2db77e4cfcf85c674c46ff1133201924082262b" dependencies = [ "blake3", "chacha20", @@ -4210,7 +4211,7 @@ dependencies = [ [[package]] name = "nym-pemstore" version = "0.3.0" -source = "git+https://github.com/nymtech/nym?branch=release%2F2025.2-hu#1aec8be85e3ba9acb653ae4ead833082652a62e3" +source = "git+https://github.com/nymtech/nym?branch=feature%2Fephemeral_cred_client#b2db77e4cfcf85c674c46ff1133201924082262b" dependencies = [ "pem", ] @@ -4241,7 +4242,7 @@ dependencies = [ [[package]] name = "nym-sdk" version = "0.1.0" -source = "git+https://github.com/nymtech/nym?branch=release%2F2025.2-hu#1aec8be85e3ba9acb653ae4ead833082652a62e3" +source = "git+https://github.com/nymtech/nym?branch=feature%2Fephemeral_cred_client#b2db77e4cfcf85c674c46ff1133201924082262b" dependencies = [ "anyhow", "async-trait", @@ -4291,7 +4292,7 @@ dependencies = [ [[package]] name = "nym-serde-helpers" version = "0.1.0" -source = "git+https://github.com/nymtech/nym?branch=release%2F2025.2-hu#1aec8be85e3ba9acb653ae4ead833082652a62e3" +source = "git+https://github.com/nymtech/nym?branch=feature%2Fephemeral_cred_client#b2db77e4cfcf85c674c46ff1133201924082262b" dependencies = [ "base64 0.22.1", "bs58", @@ -4303,7 +4304,7 @@ dependencies = [ [[package]] name = "nym-service-provider-requests-common" version = "0.1.0" -source = "git+https://github.com/nymtech/nym?branch=release%2F2025.2-hu#1aec8be85e3ba9acb653ae4ead833082652a62e3" +source = "git+https://github.com/nymtech/nym?branch=feature%2Fephemeral_cred_client#b2db77e4cfcf85c674c46ff1133201924082262b" dependencies = [ "serde", ] @@ -4311,7 +4312,7 @@ dependencies = [ [[package]] name = "nym-service-providers-common" version = "0.1.0" -source = "git+https://github.com/nymtech/nym?branch=release%2F2025.2-hu#1aec8be85e3ba9acb653ae4ead833082652a62e3" +source = "git+https://github.com/nymtech/nym?branch=feature%2Fephemeral_cred_client#b2db77e4cfcf85c674c46ff1133201924082262b" dependencies = [ "async-trait", "log", @@ -4325,7 +4326,7 @@ dependencies = [ [[package]] name = "nym-socks5-client-core" version = "0.1.0" -source = "git+https://github.com/nymtech/nym?branch=release%2F2025.2-hu#1aec8be85e3ba9acb653ae4ead833082652a62e3" +source = "git+https://github.com/nymtech/nym?branch=feature%2Fephemeral_cred_client#b2db77e4cfcf85c674c46ff1133201924082262b" dependencies = [ "anyhow", "dirs", @@ -4358,7 +4359,7 @@ dependencies = [ [[package]] name = "nym-socks5-proxy-helpers" version = "0.1.0" -source = "git+https://github.com/nymtech/nym?branch=release%2F2025.2-hu#1aec8be85e3ba9acb653ae4ead833082652a62e3" +source = "git+https://github.com/nymtech/nym?branch=feature%2Fephemeral_cred_client#b2db77e4cfcf85c674c46ff1133201924082262b" dependencies = [ "bytes", "futures", @@ -4373,7 +4374,7 @@ dependencies = [ [[package]] name = "nym-socks5-requests" version = "0.1.0" -source = "git+https://github.com/nymtech/nym?branch=release%2F2025.2-hu#1aec8be85e3ba9acb653ae4ead833082652a62e3" +source = "git+https://github.com/nymtech/nym?branch=feature%2Fephemeral_cred_client#b2db77e4cfcf85c674c46ff1133201924082262b" dependencies = [ "bincode", "log", @@ -4389,7 +4390,7 @@ dependencies = [ [[package]] name = "nym-sphinx" version = "0.1.0" -source = "git+https://github.com/nymtech/nym?branch=release%2F2025.2-hu#1aec8be85e3ba9acb653ae4ead833082652a62e3" +source = "git+https://github.com/nymtech/nym?branch=feature%2Fephemeral_cred_client#b2db77e4cfcf85c674c46ff1133201924082262b" dependencies = [ "log", "nym-crypto", @@ -4415,7 +4416,7 @@ dependencies = [ [[package]] name = "nym-sphinx-acknowledgements" version = "0.1.0" -source = "git+https://github.com/nymtech/nym?branch=release%2F2025.2-hu#1aec8be85e3ba9acb653ae4ead833082652a62e3" +source = "git+https://github.com/nymtech/nym?branch=feature%2Fephemeral_cred_client#b2db77e4cfcf85c674c46ff1133201924082262b" dependencies = [ "nym-crypto", "nym-pemstore", @@ -4432,7 +4433,7 @@ dependencies = [ [[package]] name = "nym-sphinx-addressing" version = "0.1.0" -source = "git+https://github.com/nymtech/nym?branch=release%2F2025.2-hu#1aec8be85e3ba9acb653ae4ead833082652a62e3" +source = "git+https://github.com/nymtech/nym?branch=feature%2Fephemeral_cred_client#b2db77e4cfcf85c674c46ff1133201924082262b" dependencies = [ "nym-crypto", "nym-sphinx-types", @@ -4443,7 +4444,7 @@ dependencies = [ [[package]] name = "nym-sphinx-anonymous-replies" version = "0.1.0" -source = "git+https://github.com/nymtech/nym?branch=release%2F2025.2-hu#1aec8be85e3ba9acb653ae4ead833082652a62e3" +source = "git+https://github.com/nymtech/nym?branch=feature%2Fephemeral_cred_client#b2db77e4cfcf85c674c46ff1133201924082262b" dependencies = [ "bs58", "nym-crypto", @@ -4461,7 +4462,7 @@ dependencies = [ [[package]] name = "nym-sphinx-chunking" version = "0.1.0" -source = "git+https://github.com/nymtech/nym?branch=release%2F2025.2-hu#1aec8be85e3ba9acb653ae4ead833082652a62e3" +source = "git+https://github.com/nymtech/nym?branch=feature%2Fephemeral_cred_client#b2db77e4cfcf85c674c46ff1133201924082262b" dependencies = [ "dashmap", "log", @@ -4479,7 +4480,7 @@ dependencies = [ [[package]] name = "nym-sphinx-cover" version = "0.1.0" -source = "git+https://github.com/nymtech/nym?branch=release%2F2025.2-hu#1aec8be85e3ba9acb653ae4ead833082652a62e3" +source = "git+https://github.com/nymtech/nym?branch=feature%2Fephemeral_cred_client#b2db77e4cfcf85c674c46ff1133201924082262b" dependencies = [ "nym-crypto", "nym-sphinx-acknowledgements", @@ -4497,7 +4498,7 @@ dependencies = [ [[package]] name = "nym-sphinx-forwarding" version = "0.1.0" -source = "git+https://github.com/nymtech/nym?branch=release%2F2025.2-hu#1aec8be85e3ba9acb653ae4ead833082652a62e3" +source = "git+https://github.com/nymtech/nym?branch=feature%2Fephemeral_cred_client#b2db77e4cfcf85c674c46ff1133201924082262b" dependencies = [ "nym-outfox", "nym-sphinx-addressing", @@ -4509,7 +4510,7 @@ dependencies = [ [[package]] name = "nym-sphinx-framing" version = "0.1.0" -source = "git+https://github.com/nymtech/nym?branch=release%2F2025.2-hu#1aec8be85e3ba9acb653ae4ead833082652a62e3" +source = "git+https://github.com/nymtech/nym?branch=feature%2Fephemeral_cred_client#b2db77e4cfcf85c674c46ff1133201924082262b" dependencies = [ "bytes", "log", @@ -4526,7 +4527,7 @@ dependencies = [ [[package]] name = "nym-sphinx-params" version = "0.1.0" -source = "git+https://github.com/nymtech/nym?branch=release%2F2025.2-hu#1aec8be85e3ba9acb653ae4ead833082652a62e3" +source = "git+https://github.com/nymtech/nym?branch=feature%2Fephemeral_cred_client#b2db77e4cfcf85c674c46ff1133201924082262b" dependencies = [ "nym-crypto", "nym-sphinx-types", @@ -4537,7 +4538,7 @@ dependencies = [ [[package]] name = "nym-sphinx-routing" version = "0.1.0" -source = "git+https://github.com/nymtech/nym?branch=release%2F2025.2-hu#1aec8be85e3ba9acb653ae4ead833082652a62e3" +source = "git+https://github.com/nymtech/nym?branch=feature%2Fephemeral_cred_client#b2db77e4cfcf85c674c46ff1133201924082262b" dependencies = [ "nym-sphinx-addressing", "nym-sphinx-types", @@ -4547,7 +4548,7 @@ dependencies = [ [[package]] name = "nym-sphinx-types" version = "0.2.0" -source = "git+https://github.com/nymtech/nym?branch=release%2F2025.2-hu#1aec8be85e3ba9acb653ae4ead833082652a62e3" +source = "git+https://github.com/nymtech/nym?branch=feature%2Fephemeral_cred_client#b2db77e4cfcf85c674c46ff1133201924082262b" dependencies = [ "nym-outfox", "sphinx-packet", @@ -4557,7 +4558,7 @@ dependencies = [ [[package]] name = "nym-statistics-common" version = "0.1.0" -source = "git+https://github.com/nymtech/nym?branch=release%2F2025.2-hu#1aec8be85e3ba9acb653ae4ead833082652a62e3" +source = "git+https://github.com/nymtech/nym?branch=feature%2Fephemeral_cred_client#b2db77e4cfcf85c674c46ff1133201924082262b" dependencies = [ "futures", "log", @@ -4580,7 +4581,7 @@ dependencies = [ [[package]] name = "nym-task" version = "0.1.0" -source = "git+https://github.com/nymtech/nym?branch=release%2F2025.2-hu#1aec8be85e3ba9acb653ae4ead833082652a62e3" +source = "git+https://github.com/nymtech/nym?branch=feature%2Fephemeral_cred_client#b2db77e4cfcf85c674c46ff1133201924082262b" dependencies = [ "cfg-if", "futures", @@ -4597,7 +4598,7 @@ dependencies = [ [[package]] name = "nym-ticketbooks-merkle" version = "0.1.0" -source = "git+https://github.com/nymtech/nym?branch=release%2F2025.2-hu#1aec8be85e3ba9acb653ae4ead833082652a62e3" +source = "git+https://github.com/nymtech/nym?branch=feature%2Fephemeral_cred_client#b2db77e4cfcf85c674c46ff1133201924082262b" dependencies = [ "nym-credentials-interface", "nym-serde-helpers", @@ -4612,7 +4613,7 @@ dependencies = [ [[package]] name = "nym-topology" version = "0.1.0" -source = "git+https://github.com/nymtech/nym?branch=release%2F2025.2-hu#1aec8be85e3ba9acb653ae4ead833082652a62e3" +source = "git+https://github.com/nymtech/nym?branch=feature%2Fephemeral_cred_client#b2db77e4cfcf85c674c46ff1133201924082262b" dependencies = [ "async-trait", "nym-api-requests", @@ -4633,7 +4634,7 @@ dependencies = [ [[package]] name = "nym-validator-client" version = "0.1.0" -source = "git+https://github.com/nymtech/nym?branch=release%2F2025.2-hu#1aec8be85e3ba9acb653ae4ead833082652a62e3" +source = "git+https://github.com/nymtech/nym?branch=feature%2Fephemeral_cred_client#b2db77e4cfcf85c674c46ff1133201924082262b" dependencies = [ "async-trait", "base64 0.22.1", @@ -4683,7 +4684,7 @@ dependencies = [ [[package]] name = "nym-vesting-contract-common" version = "0.7.0" -source = "git+https://github.com/nymtech/nym?branch=release%2F2025.2-hu#1aec8be85e3ba9acb653ae4ead833082652a62e3" +source = "git+https://github.com/nymtech/nym?branch=feature%2Fephemeral_cred_client#b2db77e4cfcf85c674c46ff1133201924082262b" dependencies = [ "cosmwasm-schema", "cosmwasm-std", @@ -5059,7 +5060,7 @@ dependencies = [ [[package]] name = "nym-wireguard-types" version = "0.1.0" -source = "git+https://github.com/nymtech/nym?branch=release%2F2025.2-hu#1aec8be85e3ba9acb653ae4ead833082652a62e3" +source = "git+https://github.com/nymtech/nym?branch=feature%2Fephemeral_cred_client#b2db77e4cfcf85c674c46ff1133201924082262b" dependencies = [ "base64 0.22.1", "log", @@ -8162,7 +8163,7 @@ checksum = "943aab3fdaaa029a6e0271b35ea10b72b943135afe9bffca82384098ad0e06a6" [[package]] name = "wasm-utils" version = "0.1.0" -source = "git+https://github.com/nymtech/nym?branch=release%2F2025.2-hu#1aec8be85e3ba9acb653ae4ead833082652a62e3" +source = "git+https://github.com/nymtech/nym?branch=feature%2Fephemeral_cred_client#b2db77e4cfcf85c674c46ff1133201924082262b" dependencies = [ "futures", "getrandom 0.2.15", diff --git a/nym-vpn-core/Cargo.toml b/nym-vpn-core/Cargo.toml index 7818f3e2c5..8c0f7530a7 100644 --- a/nym-vpn-core/Cargo.toml +++ b/nym-vpn-core/Cargo.toml @@ -170,27 +170,27 @@ windows-sys = "0.52" x25519-dalek = "2.0" zeroize = "1.6.0" -nym-authenticator-requests = { git = "https://github.com/nymtech/nym", branch = "release/2025.2-hu" } -nym-bandwidth-controller = { git = "https://github.com/nymtech/nym", branch = "release/2025.2-hu" } -nym-bin-common = { git = "https://github.com/nymtech/nym", branch = "release/2025.2-hu" } -nym-client-core = { git = "https://github.com/nymtech/nym", branch = "release/2025.2-hu" } -nym-compact-ecash = { git = "https://github.com/nymtech/nym", branch = "release/2025.2-hu" } -nym-config = { git = "https://github.com/nymtech/nym", branch = "release/2025.2-hu" } -nym-contracts-common = { git = "https://github.com/nymtech/nym", branch = "release/2025.2-hu" } -nym-credential-proxy-requests = { git = "https://github.com/nymtech/nym", branch = "release/2025.2-hu" } -nym-credential-storage = { git = "https://github.com/nymtech/nym", branch = "release/2025.2-hu" } -nym-credentials = { git = "https://github.com/nymtech/nym", branch = "release/2025.2-hu" } -nym-credentials-interface = { git = "https://github.com/nymtech/nym", branch = "release/2025.2-hu" } -nym-crypto = { git = "https://github.com/nymtech/nym", branch = "release/2025.2-hu" } -nym-ecash-time = { git = "https://github.com/nymtech/nym", branch = "release/2025.2-hu" } -nym-http-api-client = { git = "https://github.com/nymtech/nym", branch = "release/2025.2-hu" } -nym-ip-packet-requests = { git = "https://github.com/nymtech/nym", branch = "release/2025.2-hu" } -nym-node-requests = { git = "https://github.com/nymtech/nym", branch = "release/2025.2-hu" } -nym-pemstore = { git = "https://github.com/nymtech/nym", branch = "release/2025.2-hu" } -nym-service-provider-requests-common = { git = "https://github.com/nymtech/nym", branch = "release/2025.2-hu" } -nym-sdk = { git = "https://github.com/nymtech/nym", branch = "release/2025.2-hu" } -nym-statistics-common = { git = "https://github.com/nymtech/nym", branch = "release/2025.2-hu" } -nym-task = { git = "https://github.com/nymtech/nym", branch = "release/2025.2-hu" } -nym-topology = { git = "https://github.com/nymtech/nym", branch = "release/2025.2-hu" } -nym-validator-client = { git = "https://github.com/nymtech/nym", branch = "release/2025.2-hu" } -nym-wireguard-types = { git = "https://github.com/nymtech/nym", branch = "release/2025.2-hu" } +nym-authenticator-requests = { git = "https://github.com/nymtech/nym", branch = "feature/ephemeral_cred_client" } +nym-bandwidth-controller = { git = "https://github.com/nymtech/nym", branch = "feature/ephemeral_cred_client" } +nym-bin-common = { git = "https://github.com/nymtech/nym", branch = "feature/ephemeral_cred_client" } +nym-client-core = { git = "https://github.com/nymtech/nym", branch = "feature/ephemeral_cred_client" } +nym-compact-ecash = { git = "https://github.com/nymtech/nym", branch = "feature/ephemeral_cred_client" } +nym-config = { git = "https://github.com/nymtech/nym", branch = "feature/ephemeral_cred_client" } +nym-contracts-common = { git = "https://github.com/nymtech/nym", branch = "feature/ephemeral_cred_client" } +nym-credential-proxy-requests = { git = "https://github.com/nymtech/nym", branch = "feature/ephemeral_cred_client" } +nym-credential-storage = { git = "https://github.com/nymtech/nym", branch = "feature/ephemeral_cred_client" } +nym-credentials = { git = "https://github.com/nymtech/nym", branch = "feature/ephemeral_cred_client" } +nym-credentials-interface = { git = "https://github.com/nymtech/nym", branch = "feature/ephemeral_cred_client" } +nym-crypto = { git = "https://github.com/nymtech/nym", branch = "feature/ephemeral_cred_client" } +nym-ecash-time = { git = "https://github.com/nymtech/nym", branch = "feature/ephemeral_cred_client" } +nym-http-api-client = { git = "https://github.com/nymtech/nym", branch = "feature/ephemeral_cred_client" } +nym-ip-packet-requests = { git = "https://github.com/nymtech/nym", branch = "feature/ephemeral_cred_client" } +nym-node-requests = { git = "https://github.com/nymtech/nym", branch = "feature/ephemeral_cred_client" } +nym-pemstore = { git = "https://github.com/nymtech/nym", branch = "feature/ephemeral_cred_client" } +nym-service-provider-requests-common = { git = "https://github.com/nymtech/nym", branch = "feature/ephemeral_cred_client" } +nym-sdk = { git = "https://github.com/nymtech/nym", branch = "feature/ephemeral_cred_client" } +nym-statistics-common = { git = "https://github.com/nymtech/nym", branch = "feature/ephemeral_cred_client" } +nym-task = { git = "https://github.com/nymtech/nym", branch = "feature/ephemeral_cred_client" } +nym-topology = { git = "https://github.com/nymtech/nym", branch = "feature/ephemeral_cred_client" } +nym-validator-client = { git = "https://github.com/nymtech/nym", branch = "feature/ephemeral_cred_client" } +nym-wireguard-types = { git = "https://github.com/nymtech/nym", branch = "feature/ephemeral_cred_client" } diff --git a/nym-vpn-core/crates/nym-gateway-probe/Cargo.toml b/nym-vpn-core/crates/nym-gateway-probe/Cargo.toml index 4d2517c1af..a6b9d6bd86 100644 --- a/nym-vpn-core/crates/nym-gateway-probe/Cargo.toml +++ b/nym-vpn-core/crates/nym-gateway-probe/Cargo.toml @@ -47,6 +47,7 @@ nym-client-core.workspace = true nym-crypto.workspace = true nym-config.workspace = true nym-connection-monitor = { path = "../nym-connection-monitor" } +nym-credentials-interface.workspace = true nym-gateway-directory = { path = "../nym-gateway-directory" } nym-ip-packet-client = { path = "../nym-ip-packet-client" } nym-authenticator-client = { path = "../nym-authenticator-client" } diff --git a/nym-vpn-core/crates/nym-gateway-probe/src/lib.rs b/nym-vpn-core/crates/nym-gateway-probe/src/lib.rs index 5e305af85b..9499c5b1b0 100644 --- a/nym-vpn-core/crates/nym-gateway-probe/src/lib.rs +++ b/nym-vpn-core/crates/nym-gateway-probe/src/lib.rs @@ -21,6 +21,7 @@ use nym_config::defaults::{ NymNetworkDetails, }; use nym_connection_monitor::self_ping_and_wait; +use nym_credentials_interface::TicketType; use nym_gateway_directory::{ AuthAddress, Config as GatewayDirectoryConfig, EntryPoint, GatewayClient as GatewayDirectoryClient, GatewayList, GatewayMinPerformance, @@ -88,6 +89,15 @@ pub struct NetstackArgs { netstack_ping_ips_v6: Vec, } +#[derive(Args)] +pub struct CredentialArgs { + #[arg(long)] + enable_credentials_mode: bool, + + #[arg(long, required_if_eq("enable_credentials_mode", "true"))] + mnemonic: Option, +} + #[derive(Default, Debug)] pub enum TestedNode { #[default] @@ -155,6 +165,7 @@ pub struct Probe { tested_node: TestedNode, amnezia_args: String, netstack_args: NetstackArgs, + credentials_args: CredentialArgs, } impl Probe { @@ -162,12 +173,14 @@ impl Probe { entrypoint: EntryPoint, tested_node: TestedNode, netstack_args: NetstackArgs, + credentials_args: CredentialArgs, ) -> Self { Self { entrypoint, tested_node, amnezia_args: "".into(), netstack_args, + credentials_args, } } pub fn with_amnezia(&mut self, args: &str) -> &Self { @@ -209,16 +222,34 @@ impl Probe { ); // Connect to the mixnet via the entry gateway - let mixnet_client = MixnetClientBuilder::new_ephemeral() + let disconnected_mixnet_client = MixnetClientBuilder::new_ephemeral() .request_gateway(mixnet_entry_gateway_id.to_string()) .network_details(NymNetworkDetails::new_from_env()) .debug_config(mixnet_debug_config( min_gateway_performance, ignore_egress_epoch_role, )) - .build()? - .connect_to_mixnet() - .await; + .credentials_mode(self.credentials_args.enable_credentials_mode) + .build()?; + + if self.credentials_args.enable_credentials_mode { + let mnemonic = self + .credentials_args + .mnemonic + .expect("Mnemonic should be required if credentials mode is enabled"); + + for ticketbook_type in [ + TicketType::V1MixnetEntry, + TicketType::V1WireguardEntry, + TicketType::V1WireguardExit, + ] { + let bw_client = disconnected_mixnet_client + .create_bandwidth_client(mnemonic.clone(), ticketbook_type) + .await?; + bw_client.acquire().await?; + } + } + let mixnet_client = disconnected_mixnet_client.connect_to_mixnet().await; let mixnet_client = match mixnet_client { Ok(mixnet_client) => mixnet_client, diff --git a/nym-vpn-core/crates/nym-gateway-probe/src/run.rs b/nym-vpn-core/crates/nym-gateway-probe/src/run.rs index 664cbd9c72..1b670f667c 100644 --- a/nym-vpn-core/crates/nym-gateway-probe/src/run.rs +++ b/nym-vpn-core/crates/nym-gateway-probe/src/run.rs @@ -6,7 +6,7 @@ use clap::Parser; use nym_bin_common::bin_info; use nym_config::defaults::setup_env; use nym_gateway_directory::{EntryPoint, GatewayMinPerformance}; -use nym_gateway_probe::{NetstackArgs, ProbeResult, TestedNode}; +use nym_gateway_probe::{CredentialArgs, NetstackArgs, ProbeResult, TestedNode}; use nym_sdk::mixnet::NodeIdentity; use std::path::PathBuf; use std::sync::OnceLock; @@ -62,6 +62,10 @@ struct CliArgs { /// Arguments to manage netstack downloads #[command(flatten)] netstack_args: NetstackArgs, + + /// Arguments to manage credentials + #[command(flatten)] + credential_args: CredentialArgs, } fn setup_logging() { @@ -103,7 +107,8 @@ pub(crate) async fn run() -> anyhow::Result { TestedNode::SameAsEntry }; - let mut trial = nym_gateway_probe::Probe::new(entry, test_point, args.netstack_args); + let mut trial = + nym_gateway_probe::Probe::new(entry, test_point, args.netstack_args, args.credential_args); if let Some(awg_args) = args.amnezia_args { trial.with_amnezia(&awg_args); }