build(deps): bump picky and sspi (#1028)
Some checks are pending
CI / Check formatting (push) Waiting to run
CI / Check typos (push) Waiting to run
CI / Checks [linux] (push) Blocked by required conditions
CI / Checks [macos] (push) Blocked by required conditions
CI / Checks [windows] (push) Blocked by required conditions
CI / Fuzzing (push) Blocked by required conditions
CI / Web Client (push) Blocked by required conditions
CI / FFI (push) Blocked by required conditions
CI / Success (push) Blocked by required conditions
Coverage / Coverage Report (push) Waiting to run
Release crates / Open release PR (push) Waiting to run
Release crates / Release crates (push) Waiting to run

This fixes build issues with some dependencies.
This commit is contained in:
Allan Zhang 2025-11-19 09:08:42 -05:00 committed by GitHub
parent bfb0cae2f8
commit 5bd319126d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 907 additions and 678 deletions

1566
Cargo.lock generated

File diff suppressed because it is too large Load diff

View file

@ -27,13 +27,13 @@ ironrdp-core = { path = "../ironrdp-core", version = "0.1" } # public
ironrdp-error = { path = "../ironrdp-error", version = "0.1" } # public
ironrdp-pdu = { path = "../ironrdp-pdu", version = "0.6", features = ["std"] } # public
arbitrary = { version = "1", features = ["derive"], optional = true } # public
sspi = "0.16" # public
sspi = { version = "0.18", features = ["scard"] }
url = "2.5" # public
rand = { version = "0.9", features = ["std"] } # TODO: dependency injection?
tracing = { version = "0.1", features = ["log"] }
picky-asn1-der = "0.5"
picky-asn1-x509 = "0.14"
picky = "7.0.0-rc.17"
picky-asn1-x509 = "0.15"
picky = "=7.0.0-rc.20" # FIXME: We are pinning with = because the candidate version number counts as the minor number by Cargo, and will be automatically bumped in the Cargo.lock.
[lints]
workspace = true

View file

@ -5,6 +5,7 @@ use picky_asn1_x509::{oids, Certificate, ExtensionView, GeneralName};
use sspi::credssp::{self, ClientState, CredSspClient};
use sspi::generator::{Generator, NetworkRequest};
use sspi::negotiate::ProtocolConfig;
use sspi::Secret;
use sspi::Username;
use tracing::debug;
@ -123,11 +124,13 @@ impl CredsspSequence {
certificate: cert,
reader_name: config.reader_name.clone(),
card_name: None,
container_name: config.container_name.clone(),
container_name: Some(config.container_name.clone()),
csp_name: config.csp_name.clone(),
pin: pin.as_bytes().to_vec().into(),
private_key_file_index: None,
private_key: Some(key.into()),
scard_type: sspi::SmartCardType::Emulated {
scard_pin: Secret::new(pin.as_bytes().to_vec()),
},
};
sspi::Credentials::SmartCard(Box::new(identity))
}

View file

@ -27,7 +27,7 @@ ironrdp-async = { path = "../ironrdp-async", version = "0.7" } # public
ironrdp-connector = { path = "../ironrdp-connector", version = "0.7", optional = true }
tokio = { version = "1", features = ["io-util"] }
reqwest = { version = "0.12", default-features = false, features = ["http2", "system-proxy"], optional = true }
sspi = { version = "0.16", features = ["network_client", "dns_resolver"], optional = true }
sspi = { version = "0.18", features = ["network_client", "dns_resolver"], optional = true }
url = { version = "2.5", optional = true }
[lints]

View file

@ -61,7 +61,7 @@ async-trait = "0.1"
image = { version = "0.25.6", default-features = false, features = ["png"] }
pico-args = "0.5"
x509-cert = { version = "0.2", default-features = false, features = ["std"] }
sspi = { version = "0.16", features = ["network_client"] }
sspi = { version = "0.18", features = ["network_client"] }
tracing = { version = "0.1", features = ["log"] }
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
tokio-rustls = "0.26"

View file

@ -19,7 +19,7 @@ ironrdp-cliprdr-native.path = "../crates/ironrdp-cliprdr-native"
ironrdp-dvc-pipe-proxy.path = "../crates/ironrdp-dvc-pipe-proxy"
ironrdp-core = { path = "../crates/ironrdp-core", features = ["alloc"] }
ironrdp-rdcleanpath.path = "../crates/ironrdp-rdcleanpath"
sspi = { version = "0.16", features = ["network_client"] }
sspi = { version = "0.18", features = ["network_client"] }
thiserror = "2"
tracing = { version = "0.1", features = ["log"] }
tracing-subscriber = { version = "0.3", features = ["env-filter"] }