Hyle-org / webauthn-identity-provider

Hylé smart contract providing account abstraction using WebAuthn
0 stars 0 forks source link

Write a webAuthn Identity Provider #1

Open wraitii opened 1 month ago

wraitii commented 1 month ago

✋ this task is blocked by “add a halo2 verifier” ✋

The objective here is to deploy a smart contract which verifies proofs from WebAuthn signatures, using the secp256r1 curve.

WebAuthn is a standard allowing users to authenticate and sign messages using the secure enclaves of their smartphones. The sepc256r1 curve is used on Apple's Face/Touch ID devices, Intel secure enclaves, Yubikey authenticators, and more.

Hylé does not specify what an "account" is, or even what identity particularly means. This gives it unprecedented flexibility in handling identity, including: - EOAs like Ethereum native wallets - Smart accounts of any kind - Regular web2 identity - Passports & other national identity documents (read more here: https://docs.hyle.eu/use-cases/for-identity-providers/). Supporting the verification of these proofs on Hylé would mean users could sign transaction on Hylé simply by using Face ID.

There is a library showcasing how to generate a halo2 proof of a secp256r1 signature: https://github.com/zkwebauthn/webauthn-halo2.

jedstroke commented 1 week ago

@wraitii yo, let me take on this issue, and deliver timely 🙏🏽 Here's my portfolio: https://www.jedshock.com My OD Profile: https://app.onlydust.com/u/jedstroke

DevPelz commented 5 days ago

Hello, can i hop on this. I know how to execute this from prior experience and also i'll like to pick this up as my first contribution to this project if possible