-
Notifications
You must be signed in to change notification settings - Fork 987
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
Keycard signing for dapp interactions #21785
Conversation
Jenkins BuildsClick to see older builds (41)
|
this PR should wait for #21753 , because auth on keycard has little bit changed |
src/status_im/common/standard_authentication/events_schema.cljs
Outdated
Show resolved
Hide resolved
src/status_im/contexts/wallet/wallet_connect/modals/common/footer/view.cljs
Outdated
Show resolved
Hide resolved
src/status_im/contexts/wallet/wallet_connect/events/session_responses.cljs
Show resolved
Hide resolved
50% of end-end tests have passed
Failed tests (4)Click to expandClass TestWalletMultipleDevice:
Class TestOneToOneChatMultipleSharedDevicesNewUi:
Class TestCommunityMultipleDeviceMerged:
Passed tests (4)Click to expandClass TestWalletOneDevice:
Class TestCommunityOneDeviceMerged:
|
0983e41
to
c5e6a89
Compare
7b40486
to
a2aa35c
Compare
src/status_im/contexts/wallet/wallet_connect/events/session_responses.cljs
Outdated
Show resolved
Hide resolved
src/status_im/contexts/wallet/wallet_connect/events/session_responses.cljs
Show resolved
Hide resolved
@flexsurfer please have a look again so I can move it to testing |
@status-im/mobile-qa this PR is ready for testing. LMK if smth is missing in the description. |
62% of end-end tests have passed
Failed tests (3)Click to expandClass TestCommunityMultipleDeviceMerged:
Class TestWalletOneDevice:
Class TestCommunityOneDeviceMerged:
Passed tests (5)Click to expandClass TestWalletOneDevice:
Class TestOneToOneChatMultipleSharedDevicesNewUi:
Class TestCommunityOneDeviceMerged:
Class TestWalletMultipleDevice:
|
88% of end-end tests have passed
Failed tests (1)Click to expandClass TestCommunityMultipleDeviceMerged:
Passed tests (7)Click to expandClass TestWalletOneDevice:
Class TestOneToOneChatMultipleSharedDevicesNewUi:
Class TestCommunityOneDeviceMerged:
Class TestWalletMultipleDevice:
|
So your issue and Olena's issue seem to be different. Yours was in how we detect whether we should use the keycard to sign based on the wallet address. In Olena's case, it seems to be a provider/proxy issue, so not sure why it works now tbh |
Yeah, I understand that issues are different. Just little bit confused why I have faced the issue and Olena didn't face the same issue. Cause we've basically been checking the same swap flow. Do I understand correctly that I have faced it cause I was connected to dapp by additional (non default) account? |
@clauxx Yes, my first issue not reproduce now. But my location hasn’t changed during the testing, so is there a chance that this issue might occur again for me or for other users? |
@pavloburykh Yes, it's related to the non-default account. I had a bug in how it's decided whether a derived account is supposed to use the keycard when signing, so it behaved as it did - prompted to scan the keycard (cause it's a keycard profile) but attempted to sign with the keycard password. Hence the error, since the keypair for the account is not stored on device. @Horupa-Olena Not sure, but I don't think it's an issue specific to the keycard, since it would've still been broken otherwise. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
review again after all changes
fyi this is the only commit (except develop merges) that was added after you reviewed |
Signed-off-by: Cristian Lungu <[email protected]>
Signed-off-by: Cristian Lungu <[email protected]>
Signed-off-by: Cristian Lungu <[email protected]>
Signed-off-by: Cristian Lungu <[email protected]>
Signed-off-by: Cristian Lungu <[email protected]>
Signed-off-by: Cristian Lungu <[email protected]>
Signed-off-by: Cristian Lungu <[email protected]>
Signed-off-by: Cristian Lungu <[email protected]>
Signed-off-by: Cristian Lungu <[email protected]>
Signed-off-by: Cristian Lungu <[email protected]>
Signed-off-by: Cristian Lungu <[email protected]>
Signed-off-by: Cristian Lungu <[email protected]>
83c2e0e
to
96f726a
Compare
@Horupa-Olena @pavloburykh can this be merged when CI is done? |
@clauxx let me perform manual smoke check first. I will let you know once it is ready for merge. Thank you. |
@clauxx please, take a look at the issue below ISSUE 3 Restored Profile Retains Previous Dapp Connections & Incorrectly Requires Keycard for SigningSteps:
Actual result:
Status-debug-logs - 2025-01-28T151648.979.zip Link to video |
@pavloburykh thanks for catching this one. Fixed in the last commit the issue with the signing. Regarding the dapps still showing up, I doubt it was caused by this PR or is related to the keycard. I think would be best to have it as a separate issue. |
@clauxx thank you for the fixes. PR is tested and ready for merge. What has been tested
|
fixes #21618
Summary
eth_sign
,eth_signTransaction
(previously could only be tested on test dapps and no prod. dapps usage)Steps to test
status: ready