Skip to content

Commit 9bb54ef

Browse files
codabrinkcameronvoellnplasterermchenani
authored
Passkey Signature Validation (#1716)
* passkey member identifier * nit * incremental progress * move public identifiers into its own file * adapt association log * external identifier * enforce permissions via data structures * wip * wip * more cleanup * wip * cleanup * more cleanup * cleanup verified signature * cleanup id/mod.rs * cleanup serialization, update protos * more cleanup * more cleanup * continue making improvements * cleanup * checking in progress * continue cleanup * cleaner approach * more cleanup * cleanup * fix the query * cleanup * database adjustments * rename wallet entry to identity cache * consent record to root identifier * cleanup builder.rs * update consent * update consent save * update a few more methods * two errors left * xmtp_mls is done, now for the bindings * continue cleanup * work on the ffi more * Update the InboxOwner trait * rename to PublicIdentifier * wip * refactor ffi progress * mls cleanup * cleanup * update the cli example * continue cleanup * continue updating * finish with node/client.rs * update node consent state * consent state in node * more cleaning up * continue cleanup * fix typo * cleanup wasm client * cleanup * proto * fix a test * revert signature text * update migration * update migration * update migration one more time * fix * rework migration approach * schema gen * fix * checking in * turn off for now * default ident kind to Ethereum * update proto * update nomenclature * fix consent * test fix * test fix * cleanup * tweak udl * taplo * adjust ffi * update the udl * cleanup * sign * put the udl in the namespace * relying partner * ffi relying partner * node relying partner * wasm relying partner * udl * remove udl * java kts file * api fix * ignore faulty test * cleanup * cleanup * test fix * lint * test fix * lint * fix bench * prettier * lint * lint * fix bench * lint * lint * lint * cleanup * update kotlin gen script * todo done * re-add udl file to get android build working (#1678) Co-authored-by: cameronvoell <cameronvoell@users.noreply.github.com> * remove ffirootidentifier * remove wasm root identifier * remove node root identifier * lint * cleanup * fixes for the new tests * cleanup * use an env var * drop address from consent * lint * fix * lint * lint * legacy interop tests (#1694) * legacy interop tests * test group * cleanup * revert bindings_node * revert bindings_node * update comment * Update xmtp_mls/src/client.rs Co-authored-by: Mojtaba Chenani <chenani@outlook.com> * Update xmtp_mls/src/identity_updates.rs Co-authored-by: Mojtaba Chenani <chenani@outlook.com> * Update xmtp_mls/src/client.rs Co-authored-by: Cameron Voell <1103838+cameronvoell@users.noreply.github.com> * Update xmtp_mls/src/client.rs Co-authored-by: Cameron Voell <1103838+cameronvoell@users.noreply.github.com> * undo comment * update can_message * lint * fix node tests * ffi public identifier -> ffi identifier * cleanup * cleanup * just identifier * signature validation - no error handling * ffi and proto update * add webauthn * wip * cleanup validation * cleanup * working on a test * cleanup * credential is found * verifying a signature * cleanup * comment * relying partner -> party * get the origin * taplo * lint * cargo update * fix node tests * fix deny * wasm_fix * required by uniffi * remove trace * check with bad sig * swap order * fix node test * tiny fix * cleanup * check for the signature_text * cleanup * feedback * lint --------- Co-authored-by: Cameron Voell <1103838+cameronvoell@users.noreply.github.com> Co-authored-by: cameronvoell <cameronvoell@users.noreply.github.com> Co-authored-by: Naomi Plasterer <naomi@xmtp.com> Co-authored-by: Mojtaba Chenani <chenani@outlook.com>
1 parent 68cff49 commit 9bb54ef

26 files changed

+1606
-885
lines changed

Cargo.lock

+168-8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ chrono = "0.4.38"
4040
console_error_panic_hook = "0.1"
4141
const_format = "0.2"
4242
criterion = { version = "0.5", features = ["html_reports", "async_tokio"] }
43+
p256 = { version = "0.13.2", features = ["ecdsa"] }
4344
ctor = "0.2"
4445
diesel = { version = "2.2", default-features = false }
4546
diesel_migrations = { version = "2.2", default-features = false }

bindings_ffi/Cargo.toml

+5
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,11 @@ xmtp_api_grpc = { workspace = true, features = ["test-utils"] }
6161
xmtp_mls = { workspace = true, features = ["test-utils"] }
6262
xmtp_proto = { workspace = true, features = ["test-utils"] }
6363
xmtp_common = { workspace = true, features = ["test-utils"] }
64+
# passkey testing
65+
passkey = "0.4"
66+
coset = "0.3"
67+
url.workspace = true
68+
async-trait.workspace = true
6469

6570
[features]
6671
bench = ["xmtp_mls/bench", "xmtp_common/bench", "dep:criterion", "dep:fdlimit"]

0 commit comments

Comments
 (0)