Skip to content

Remove WebAuthn libraries in favor of @openzeppelin/contracts^5.5.0 #208

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

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## XX-XX-XXXX

- Remove `WebAuthn`, `SignerWebAuthn`, `ERC7913WebAuthnVerifier`. These contracts were migrated to `@openzeppelin/contracts>=5.5.0`.

## 09-08-2025

- `ZKEmailUtils`: Simplify library implementation and remove `Verifier.sol` indirection for cleaner integration with a Groth16Verifier.
Expand Down
21 changes: 0 additions & 21 deletions contracts/mocks/account/AccountWebAuthnMock.sol

This file was deleted.

10 changes: 1 addition & 9 deletions contracts/utils/cryptography/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,17 @@ NOTE: This document is better viewed at https://docs.openzeppelin.com/community-
A collection of contracts and libraries that implement various signature validation schemes and cryptographic primitives. These utilities enable secure authentication, multisignature operations, and advanced cryptographic operations in smart contracts.

* {ZKEmailUtils}: Library for ZKEmail signature validation utilities, enabling email-based authentication through zero-knowledge proofs.
* {WebAuthn}: Library for verifying WebAuthn Authentication Assertions.
* {SignerZKEmail}: Implementation of an https://docs.openzeppelin.com/contracts/5.x/api/utils/cryptography#AbstractSigner[AbstractSigner] that enables email-based authentication through zero-knowledge proofs.
* {SignerWebAuthn}: Implementation of https://docs.openzeppelin.com/contracts/5.x/api/utils/cryptography#SignerP256[SignerP256] that supports WebAuthn authentication assertions.
* {ERC7913ZKEmailVerifier}, {ERC7913WebAuthnVerifier}: Ready to use ERC-7913 signature verifiers for ZKEmail and WebAuthn.
* {ERC7913ZKEmailVerifier}: Ready to use ERC-7913 signature verifiers for ZKEmail.

== Utils

{{ZKEmailUtils}}

{{WebAuthn}}

== Abstract Signers

{{SignerZKEmail}}

{{SignerWebAuthn}}

== Verifiers

{{ERC7913ZKEmailVerifier}}

{{ERC7913WebAuthnVerifier}}
260 changes: 0 additions & 260 deletions contracts/utils/cryptography/WebAuthn.sol

This file was deleted.

50 changes: 0 additions & 50 deletions contracts/utils/cryptography/signers/SignerWebAuthn.sol

This file was deleted.

Loading