Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebAuthn Owner PoC For Safe #187

Closed
nlordell opened this issue Dec 10, 2023 · 1 comment
Closed

WebAuthn Owner PoC For Safe #187

nlordell opened this issue Dec 10, 2023 · 1 comment
Assignees

Comments

@nlordell
Copy link
Collaborator

nlordell commented Dec 10, 2023

This issue captures the work for vendoring a PoC ISignatureValidator implementation that supports WebAuthn.

Specifically, this should verify a WebAuthn signature matches a public key for some input hash.

Note that WebAuthn doesn't allow signing raw hashes, but an "envelope" instead. This needs to be decoded and verified as part of the process.

Existing implementations evaluated in #172 contain

Expected Output

  1. Vendor a signer contract to the contracts/test directory
  2. Unit test that verifies a UserOperation with a WebAuthn signer works over the EntryPoint
  3. A test application that uses passkey to sign and execute a userop
@mmv08
Copy link
Member

mmv08 commented Dec 18, 2023

Just for the record, this issue has a lot of overlap with #173

We decided to pivot this PoC into a small web app that uses passkeys to learn more about WebAuthn as there are some peculiarities, such as it can only be used over HTTPS, you have to generate a user ID beforehand, etc.

mmv08 added a commit that referenced this issue Jan 24, 2024
This PR adds an example application where a Safe with a passkey owner is
deployed and minting an NFT. Implements
#188 and
#187

Demo recording:
https://www.loom.com/share/c44946ad137341daa9be08dce07cd886

Testing the application:
1. Follow the instructions in the README
@nlordell nlordell closed this as completed Feb 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants