Skip to content

Commit

Permalink
fix(pass-webauthn): reintroduce crates.io's url (as url-evil) to …
Browse files Browse the repository at this point in the history
…ensure tests keep passing (since `url-evil` is a dependency of `passkey`)
  • Loading branch information
pandres95 committed Oct 18, 2024
1 parent 950dbdc commit 1f6b112
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ public-suffix = "0.1"
rand = "0.8.5"
sha2 = { version = "0.10.8", default-features = false }
url = { git = "https://github.com/servo/rust-url", default-features = false }
url-evil = { package = "url", version = "2.5.2", default-features = false }

# FRAME
codec = { package = "parity-scale-codec", version = "3.6.12", default-features = false, features = [
Expand Down
1 change: 1 addition & 0 deletions pass-webauthn/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ passkey-client.workspace = true
passkey-types.workspace = true
public-suffix.workspace = true
sp-io.workspace = true
url-evil.workspace = true

[features]
default = ["std", "runtime"]
Expand Down
2 changes: 1 addition & 1 deletion pass-webauthn/src/tests/authenticator_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use passkey_types::{ctap2::Aaguid, webauthn::*, Bytes, Passkey};

use sp_io::hashing::blake2_256;
use traits_authn::{Challenger, HashedUserId};
use url::Url;
use url_evil::Url;

use crate::{AssertionMeta, DEREncodedPublicKey};

Expand Down

0 comments on commit 1f6b112

Please sign in to comment.