-
Notifications
You must be signed in to change notification settings - Fork 378
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
[Wallet] Enable 8 digit code verification and ignore attestation services below 1.1.0 #6437
Conversation
c7b8805
to
e6f9d9d
Compare
@@ -495,6 +497,13 @@ export function* requestAndRetrieveAttestations( | |||
|
|||
// Check if we have a sufficient set now by fetching the new total set | |||
attestations = yield call(getActionableAttestations, attestationsWrapper, phoneHash, account) | |||
if (features.SHORT_VERIFICATION_CODES) { | |||
// we only support attestation service 1.1.0 and above for short codes | |||
attestations = attestations.filter( |
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.
What happens if one or two attestation services have an old version? We'd be missing attestations right? Should we ask for more in that case, is it unlikely to happen or is there somewhere else that's already handling that?
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.
Thanks for the question! If any of the services has older version we would ignore this attestation service and request more, cause outer while loop would not exit.
89cf289
to
0c80617
Compare
Hi @gnardini We have started verifying task using Android Internal Build V1.9.0(1004294331) & Test Flight Build V1.9.0(41) but we are blocked due to issue #3280 for "Verification error" popup while verifying phone number. Can you please do the needful as we are blocked to perform this task CC: @jeanregisser , @nityas |
Hi @gnardini I have verified this issue using latest Android Internal Build V1.9.1(1004294332) & Test Flight Build V1.9.1(42) & observed following: If user use SIM card:
If user use third party app:
Verified on devices: realme 6i(10.0),iPhone SE 2 (14.2) |
Description
Enable 8 digit code verification and ignore attestation services below 1.1.0 as they do not support 8 digit codes.
Other changes
Force EOA address as a signer to provide signature for attestation services.
Tested
Android manual input and auto-import using attestation service 1.2.0 on alfajores.
Related issues
Backwards compatibility
Yes