Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Upgrade polkdot v1.11.0 #3144

Draft
wants to merge 14 commits into
base: dev
Choose a base branch
from
4,375 changes: 0 additions & 4,375 deletions common/primitives/core/Cargo.lock

This file was deleted.

18 changes: 9 additions & 9 deletions common/primitives/core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,22 @@ chrono = { version = "0.4", default-features = false, features = ["serde"] }
der = { version = "0.6.0", default-features = false }
hex = { version = "0.4", default-features = false }
hex-literal = { version = "0.4.1", default-features = false }
parity-scale-codec = { version = "3.6", default-features = false, features = ["derive", "max-encoded-len"] }
parity-scale-codec = { version = "3.7.0", default-features = false, features = ["derive", "max-encoded-len"] }
ring = { version = "0.16.20", default-features = false, features = ["alloc"] }
serde = { version = "1.0", default-features = false, features = ["derive", "alloc"] }
serde_json = { version = "=1.0.120", default-features = false }
serde_json = { version = "=1.0.128", default-features = false }
strum = { version = "0.26", default-features = false }
strum_macros = { version = "0.26", default-features = false }
webpki = { version = "=0.102.0-alpha.3", git = "https://github.com/rustls/webpki", rev = "da923ed", package = "rustls-webpki", default-features = false, features = ["alloc", "ring"] }
webpki = { version = "=0.102.2", git = "https://github.com/rustls/webpki", rev = "049e9d5", package = "rustls-webpki", default-features = false, features = ["alloc", "ring"] }
x509-cert = { version = "0.1.0", default-features = false, features = ["alloc"] }

frame-support = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false }
pallet-evm = { git = "https://github.com/paritytech/frontier", branch = "polkadot-v1.1.0", default-features = false }
frame-support = { version = "33.0.0", default-features = false }
pallet-evm = { git = "https://github.com/litentry/frontier", branch = "polkadot-v1.11.0", default-features = false }
scale-info = { version = "2.11", default-features = false, features = ["derive"] }
sp-core = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false }
sp-io = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false }
sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false }
sp-std = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false }
sp-core = { version = "32.0.0", default-features = false }
sp-io = { version = "35.0.0", default-features = false, features = ["improved_panic_error_reporting", "disable_panic_handler"] }
sp-runtime = { version = "36.0.0", default-features = false }
sp-std = { version = "14.0.0", default-features = false }

litentry-hex-utils = { path = "../../utils/hex", default-features = false }
litentry-macros = { path = "macros" }
Expand Down
4 changes: 3 additions & 1 deletion common/primitives/core/src/teebag/sgx_verify/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -531,6 +531,7 @@ pub fn verify_certificate_chain<'a>(
time,
webpki::KeyUsage::client_auth(),
None,
None,
)
.map_err(|_| "Invalid certificate chain")?;
Ok(())
Expand Down Expand Up @@ -808,8 +809,9 @@ pub fn verify_server_cert(
timestamp_valid_until,
webpki::KeyUsage::server_auth(),
None,
None,
) {
Ok(()) => Ok(()),
Ok(_) => Ok(()),
Err(_e) => Err("CA verification failed"),
}
}
Expand Down
Loading
Loading