-
Notifications
You must be signed in to change notification settings - Fork 209
feat: adds webauthn session key support #1563
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
Merged
Merged
Changes from all commits
Commits
Show all changes
117 commits
Select commit
Hold shift + click to select a range
5153cd6
chore: adds wip of webauthn client tests
linnall c25704c
chore: updates webauthn test to use mocked window.credentials.get res…
linnall 6cfbae2
chore: adds credential and mock response from self generated credenti…
linnall 2e39c73
fix: rename webAuthnCredentials to webAuthnAccountParams
linnall 72b971a
chore: adds to do
linnall 4beb371
feat: add ability to create a webauthn ModularAccountV2 without a signer
linnall 1124c0e
chore: removes unused code
linnall 7925ded
fix: ensures presence of signer is explicit
linnall 60f0f5e
fix: refactor to not destructure
linnall eec1736
feat: adds account functions for webauthn
linnall 9e0696b
feat: add webauthn gas estimator
howydev 2b028e7
chore: fix lint, change to use type narrowing instead
howydev b3c1c3c
feat: add webauthn signer
howydev 803ca66
chore: update dummy sig
howydev 9fdcbe2
feat: modifies mav2 smart account client and mav2 client tests to wor…
linnall b8d0d55
fix: add documenting comment for webauthn gas estimator usage
linnall 225c1be
fix: adds documentation comment for webauthnGasEstimator usage
linnall b52d014
chore: wip deploy webauthn account then sign message
linnall 409707b
fix: prepend signatures with 0xff
linnall af790a9
fix: prepend signature regardless of deferred actions data presence
linnall d86e283
chore: wip debugging
linnall 03a5fb4
fix: debug
howydev fc502fa
chore: adds updated mock authenticator response
linnall 60856a1
fix: prefixes signature with offset
linnall 97991a9
chore: update credentials and mocked authenticator response
linnall 378c121
chore: updates credentials and authenticator response
linnall 5b9879f
chore: fix merge issues with main
linnall ab8f4e3
test: update tests using mock webauthn device (#1639)
moldy530 1de9126
chore: wip format message to be EIP-712 and add lint fixes
linnall c786483
fix: inline documentation
linnall 5ccba79
chore: removes debugging statements and linting fixes
linnall 5d4c0d5
chore: rename types
linnall 69204ef
fix: refactor
linnall 809dcf7
chore: remove debug statement
linnall 0e434ba
fix: update return type
linnall 01fdde3
fix: adds strongly typed errors
linnall 64d47ef
chore: removes debug statements
linnall 7d8c780
fix: fixes example in docs
linnall 0a42ce8
chore: add todo comment, removes debug statement
linnall 2bdb611
chore: remove lint warnings
linnall c375b00
refactor: encode sign parameters as a struct
linnall c9b9e82
feat: enables installValidation to take a Modular Account with no sig…
linnall e490ee8
chore: lint
linnall 4ba28ff
Merge branch 'main' into linna/webauth-tests
linnall 8592aa6
feat: export WebAuthnValidationModule
linnall db6c8ce
Merge branch 'main' into linna/webauth-tests
linnall 10bf11f
fix: typing for install validation decorator
moldy530 40b9932
fix: typing on creation of clients to support alchemy configs
moldy530 976778d
fix: updates tests to retry transaction, updates hook with new Instal…
linnall 12083d4
chore: removes unused import
linnall 92bc665
fix: uses session key provider
linnall 9517d21
fix: narrow account type to a modular account v2
linnall 01aec4c
Merge branch 'main' into linna/webauth-tests
linnall a511372
Merge branch 'main' into linna/webauth-tests
linnall 80b1e11
chore: adds wip of webauthn client tests
linnall 4a31074
chore: updates webauthn test to use mocked window.credentials.get res…
linnall db4082d
chore: adds credential and mock response from self generated credenti…
linnall 10bdfb4
fix: rename webAuthnCredentials to webAuthnAccountParams
linnall 27c16a4
chore: adds to do
linnall 1015a44
feat: add ability to create a webauthn ModularAccountV2 without a signer
linnall eaca5d3
chore: removes unused code
linnall f89caac
fix: ensures presence of signer is explicit
linnall 1a714c1
fix: refactor to not destructure
linnall f4fce6e
feat: adds account functions for webauthn
linnall 6fef890
feat: add webauthn gas estimator
howydev aef8ab6
chore: fix lint, change to use type narrowing instead
howydev 43cd540
feat: add webauthn signer
howydev dbed1f5
chore: update dummy sig
howydev bae0dd4
feat: modifies mav2 smart account client and mav2 client tests to wor…
linnall d39c857
fix: add documenting comment for webauthn gas estimator usage
linnall 968d3f2
fix: adds documentation comment for webauthnGasEstimator usage
linnall 12df485
chore: wip deploy webauthn account then sign message
linnall 25c586e
fix: prepend signatures with 0xff
linnall ac5ccb7
fix: prepend signature regardless of deferred actions data presence
linnall b1db3f8
chore: wip debugging
linnall 33b99a6
fix: debug
howydev 5374d09
chore: adds updated mock authenticator response
linnall 9b1746b
fix: prefixes signature with offset
linnall db25235
chore: update credentials and mocked authenticator response
linnall e09190c
chore: updates credentials and authenticator response
linnall f32de73
chore: fix merge issues with main
linnall d4b7755
test: update tests using mock webauthn device (#1639)
moldy530 ec69fc2
chore: wip format message to be EIP-712 and add lint fixes
linnall 95c1a3b
fix: inline documentation
linnall 8cbe5f8
chore: removes debugging statements and linting fixes
linnall 602ade8
chore: rename types
linnall 7b682c7
fix: refactor
linnall ce67fe6
chore: remove debug statement
linnall e7f1f03
fix: update return type
linnall d74cf3d
fix: adds strongly typed errors
linnall 85a0a93
chore: removes debug statements
linnall b6f3259
fix: fixes example in docs
linnall 3729c8e
chore: add todo comment, removes debug statement
linnall 4c85c6c
chore: remove lint warnings
linnall 8a83a38
refactor: encode sign parameters as a struct
linnall 806fc68
feat: export WebAuthnValidationModule
linnall 402aba9
fix: typing on creation of clients to support alchemy configs
moldy530 65c24e0
fix: cleans up tests
linnall de71a93
chore: removes unused import
linnall 83afbfa
fix: webauthn session key test
linnall 3ecb290
Merge branch 'main' into linna/webauth-tests
linnall 09f7c16
Merge branch 'linna/webauthn-account-sdk' into linna/webauth-tests
linnall 114a620
fix: removes duplicate identifier
linnall 63d8b53
fix: remove unnecessary arg
linnall 21237b8
chore: merges in main
linnall 897a484
chore: merges in main
linnall 6b76785
chore: removes to do comment
linnall a4236ee
chore: removes unnecessary account type check
linnall bf40fec
chore: merges in main
linnall bbbdbea
chore: updates yarn.lock and docs.yml
linnall e98e304
fix: add back necessary account type checks
linnall 22d4899
Merge branch 'main' into linna/webauth-tests
linnall 637ec19
fix: restore yarn.lock file
linnall 2c39ce0
fix: adds more granular errors
linnall e222383
chore: updates error docs
linnall 682383d
Merge branch 'main' into linna/webauth-tests
linnall 4400a87
fix: refactor
linnall File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.