Skip to content

Commit

Permalink
change(pass-webauthn): complete tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pandres95 committed Oct 11, 2024
1 parent 8dedcfa commit dcac66e
Show file tree
Hide file tree
Showing 4 changed files with 263 additions and 17 deletions.
170 changes: 170 additions & 0 deletions Cargo.lock

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

14 changes: 13 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,22 @@ repository = "https://github.com/virto-network/webauthn"
[workspace.dependencies]
# WebAuthN Verifier
coset = { version = "0.3.0", default-features = false }
futures = { version = "0.3.31", default-features = false, features = [
"executor",
] }
p256 = { version = "0.13.2", default-features = false }
passkey-authenticator = { version = "0.3.0", default-features = false }
passkey-authenticator = { version = "0.3.0", default-features = false, features = [
"testable",
] }
passkey-client = { version = "0.3.0", default-features = false, features = [
"testable",
] }
passkey-types = { version = "0.3.0", default-features = false, features = [
"testable",
] }
sha2 = { version = "0.10.8", default-features = false }
rand = "0.8.5"
url = "2.5.2"

# FRAME
codec = { package = "parity-scale-codec", version = "3.6.12", default-features = false, features = [
Expand Down
6 changes: 6 additions & 0 deletions pass-webauthn/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,14 @@ verifier.workspace = true

[dev-dependencies]
frame-system.workspace = true
futures.workspace = true
pallet-balances.workspace = true
pallet-pass.workspace = true
passkey-authenticator.workspace = true
passkey-client.workspace = true
passkey-types.workspace = true
sp-io.workspace = true
url.workspace = true

[features]
default = ["std", "runtime"]
Expand All @@ -33,6 +38,7 @@ std = [
"codec/std",
"frame-support/std",
"frame-system/std",
"futures/std",
"pallet-balances/std",
"pallet-pass/std",
"scale-info/std",
Expand Down
Loading

0 comments on commit dcac66e

Please sign in to comment.