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

Use Account Storage for Shared WebAuthn Signer #419

Closed
wants to merge 1 commit into from

Conversation

nlordell
Copy link
Collaborator

Fixes #408

This PR reworks the WebAuthn singleton signer to use the account storage instead of its own storage for signer configuration (x, y, and verifiers configuration values). This allows the shared signer to work without a staked factory 🎉!

We also rename the methods a bit to be more consistent with our signer factory implementation, and adjust the E2E test accordingly (noting that a staked factory is no longer needed).

This also required some small adjustments to the 4337-passkeys-singleton-signer example for the new code (but overall simplification - no need for a staked factory anymore).


This is a duplicate of #412, which was accidentally merged into the wrong branch 🙈

@nlordell nlordell requested a review from a team as a code owner May 13, 2024 11:13
@nlordell nlordell requested review from akshay-ap, mmv08 and remedcu and removed request for a team May 13, 2024 11:13
This PR reworks the WebAuthn singleton signer to use the account storage
instead of its own storage for signer configuration (x, y, and verifiers
configuration values). This allows the shared signer to work **without**
a staked factory 🎉!

We also rename the methods a bit to be more consistent with our signer
factory implementation, and adjust the E2E test accordingly (noting that
a staked factory is no longer needed).
@coveralls
Copy link

Pull Request Test Coverage Report for Build 9061958517

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 86.264%

Totals Coverage Status
Change from base Build 9031345321: 0.0%
Covered Lines: 121
Relevant Lines: 132

💛 - Coveralls

@nlordell
Copy link
Collaborator Author

Merged with #413

@nlordell nlordell closed this May 13, 2024
@github-actions github-actions bot locked and limited conversation to collaborators May 13, 2024
@nlordell nlordell deleted the 408/use-self-storage-2 branch May 13, 2024 11:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use Self-Storage for Passkey Singleton Signer
3 participants