From 8df716216dee92e23cd5539e2348dc53fa30a6e8 Mon Sep 17 00:00:00 2001 From: Andreas Coroiu Date: Mon, 8 Jul 2024 09:34:37 +0200 Subject: [PATCH] chore: update passkey-rs version in core --- Cargo.lock | 112 +++---------------------------- crates/bitwarden-core/Cargo.toml | 2 +- 2 files changed, 11 insertions(+), 103 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 5b6ac7f55..976235308 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -437,7 +437,7 @@ dependencies = [ "hmac", "log", "p256", - "passkey 0.3.1 (git+https://github.com/bitwarden/passkey-rs?rev=c48c2ddfd6b884b2d754432576c66cb2b1985a3a)", + "passkey", "rand", "rand_chacha", "reqwest", @@ -522,7 +522,7 @@ dependencies = [ "itertools 0.13.0", "log", "p256", - "passkey 0.3.1 (git+https://github.com/bitwarden/passkey-rs?rev=ae08e2cb7dd3d44d915caed395c0cdc56b50fa27)", + "passkey", "reqwest", "schemars", "serde", @@ -2596,21 +2596,10 @@ name = "passkey" version = "0.3.1" source = "git+https://github.com/bitwarden/passkey-rs?rev=ae08e2cb7dd3d44d915caed395c0cdc56b50fa27#ae08e2cb7dd3d44d915caed395c0cdc56b50fa27" dependencies = [ - "passkey-authenticator 0.3.0 (git+https://github.com/bitwarden/passkey-rs?rev=ae08e2cb7dd3d44d915caed395c0cdc56b50fa27)", - "passkey-client 0.3.1 (git+https://github.com/bitwarden/passkey-rs?rev=ae08e2cb7dd3d44d915caed395c0cdc56b50fa27)", - "passkey-transports 0.1.0 (git+https://github.com/bitwarden/passkey-rs?rev=ae08e2cb7dd3d44d915caed395c0cdc56b50fa27)", - "passkey-types 0.2.1 (git+https://github.com/bitwarden/passkey-rs?rev=ae08e2cb7dd3d44d915caed395c0cdc56b50fa27)", -] - -[[package]] -name = "passkey" -version = "0.3.1" -source = "git+https://github.com/bitwarden/passkey-rs?rev=c48c2ddfd6b884b2d754432576c66cb2b1985a3a#c48c2ddfd6b884b2d754432576c66cb2b1985a3a" -dependencies = [ - "passkey-authenticator 0.3.0 (git+https://github.com/bitwarden/passkey-rs?rev=c48c2ddfd6b884b2d754432576c66cb2b1985a3a)", - "passkey-client 0.3.1 (git+https://github.com/bitwarden/passkey-rs?rev=c48c2ddfd6b884b2d754432576c66cb2b1985a3a)", - "passkey-transports 0.1.0 (git+https://github.com/bitwarden/passkey-rs?rev=c48c2ddfd6b884b2d754432576c66cb2b1985a3a)", - "passkey-types 0.2.1 (git+https://github.com/bitwarden/passkey-rs?rev=c48c2ddfd6b884b2d754432576c66cb2b1985a3a)", + "passkey-authenticator", + "passkey-client", + "passkey-transports", + "passkey-types", ] [[package]] @@ -2622,20 +2611,7 @@ dependencies = [ "coset", "log", "p256", - "passkey-types 0.2.1 (git+https://github.com/bitwarden/passkey-rs?rev=ae08e2cb7dd3d44d915caed395c0cdc56b50fa27)", - "rand", -] - -[[package]] -name = "passkey-authenticator" -version = "0.3.0" -source = "git+https://github.com/bitwarden/passkey-rs?rev=c48c2ddfd6b884b2d754432576c66cb2b1985a3a#c48c2ddfd6b884b2d754432576c66cb2b1985a3a" -dependencies = [ - "async-trait", - "coset", - "log", - "p256", - "passkey-types 0.2.1 (git+https://github.com/bitwarden/passkey-rs?rev=c48c2ddfd6b884b2d754432576c66cb2b1985a3a)", + "passkey-types", "rand", ] @@ -2647,41 +2623,19 @@ dependencies = [ "ciborium", "coset", "idna", - "passkey-authenticator 0.3.0 (git+https://github.com/bitwarden/passkey-rs?rev=ae08e2cb7dd3d44d915caed395c0cdc56b50fa27)", - "passkey-types 0.2.1 (git+https://github.com/bitwarden/passkey-rs?rev=ae08e2cb7dd3d44d915caed395c0cdc56b50fa27)", - "public-suffix 0.1.1 (git+https://github.com/bitwarden/passkey-rs?rev=ae08e2cb7dd3d44d915caed395c0cdc56b50fa27)", + "passkey-authenticator", + "passkey-types", + "public-suffix", "serde", "serde_json", "url", ] -[[package]] -name = "passkey-client" -version = "0.3.1" -source = "git+https://github.com/bitwarden/passkey-rs?rev=c48c2ddfd6b884b2d754432576c66cb2b1985a3a#c48c2ddfd6b884b2d754432576c66cb2b1985a3a" -dependencies = [ - "ciborium", - "coset", - "idna", - "passkey-authenticator 0.3.0 (git+https://github.com/bitwarden/passkey-rs?rev=c48c2ddfd6b884b2d754432576c66cb2b1985a3a)", - "passkey-types 0.2.1 (git+https://github.com/bitwarden/passkey-rs?rev=c48c2ddfd6b884b2d754432576c66cb2b1985a3a)", - "public-suffix 0.1.1 (git+https://github.com/bitwarden/passkey-rs?rev=c48c2ddfd6b884b2d754432576c66cb2b1985a3a)", - "serde", - "serde_json", - "typeshare", - "url", -] - [[package]] name = "passkey-transports" version = "0.1.0" source = "git+https://github.com/bitwarden/passkey-rs?rev=ae08e2cb7dd3d44d915caed395c0cdc56b50fa27#ae08e2cb7dd3d44d915caed395c0cdc56b50fa27" -[[package]] -name = "passkey-transports" -version = "0.1.0" -source = "git+https://github.com/bitwarden/passkey-rs?rev=c48c2ddfd6b884b2d754432576c66cb2b1985a3a#c48c2ddfd6b884b2d754432576c66cb2b1985a3a" - [[package]] name = "passkey-types" version = "0.2.1" @@ -2700,25 +2654,6 @@ dependencies = [ "strum 0.25.0", ] -[[package]] -name = "passkey-types" -version = "0.2.1" -source = "git+https://github.com/bitwarden/passkey-rs?rev=c48c2ddfd6b884b2d754432576c66cb2b1985a3a#c48c2ddfd6b884b2d754432576c66cb2b1985a3a" -dependencies = [ - "bitflags 2.6.0", - "ciborium", - "coset", - "data-encoding", - "getrandom", - "indexmap 2.2.6", - "rand", - "serde", - "serde_json", - "sha2", - "strum 0.25.0", - "typeshare", -] - [[package]] name = "password-hash" version = "0.5.0" @@ -2917,11 +2852,6 @@ name = "public-suffix" version = "0.1.1" source = "git+https://github.com/bitwarden/passkey-rs?rev=ae08e2cb7dd3d44d915caed395c0cdc56b50fa27#ae08e2cb7dd3d44d915caed395c0cdc56b50fa27" -[[package]] -name = "public-suffix" -version = "0.1.1" -source = "git+https://github.com/bitwarden/passkey-rs?rev=c48c2ddfd6b884b2d754432576c66cb2b1985a3a#c48c2ddfd6b884b2d754432576c66cb2b1985a3a" - [[package]] name = "pyo3" version = "0.21.2" @@ -4196,28 +4126,6 @@ version = "1.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825" -[[package]] -name = "typeshare" -version = "1.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "04f17399b76c2e743d58eac0635d7686e9c00f48cd4776f00695d9882a7d3187" -dependencies = [ - "chrono", - "serde", - "serde_json", - "typeshare-annotation", -] - -[[package]] -name = "typeshare-annotation" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a615d6c2764852a2e88a4f16e9ce1ea49bb776b5872956309e170d63a042a34f" -dependencies = [ - "quote", - "syn", -] - [[package]] name = "unicase" version = "2.7.0" diff --git a/crates/bitwarden-core/Cargo.toml b/crates/bitwarden-core/Cargo.toml index f0ba792fb..12211a6a2 100644 --- a/crates/bitwarden-core/Cargo.toml +++ b/crates/bitwarden-core/Cargo.toml @@ -44,7 +44,7 @@ getrandom = { version = ">=0.2.9, <0.3", features = ["js"] } hmac = ">=0.12.1, <0.13" log = ">=0.4.18, <0.5" p256 = { version = ">=0.13.2, <0.14", optional = true } -passkey = { git = "https://github.com/bitwarden/passkey-rs", rev = "c48c2ddfd6b884b2d754432576c66cb2b1985a3a", optional = true } +passkey = { git = "https://github.com/bitwarden/passkey-rs", rev = "ae08e2cb7dd3d44d915caed395c0cdc56b50fa27", optional = true } rand = ">=0.8.5, <0.9" reqwest = { version = ">=0.12.5, <0.13", features = [ "http2",