-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Downgrade onfido UI version to fix vulnerability #14414
Conversation
@PauloGasparSv Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
Reviewer Checklist
Screenshots/VideosWebWeb.movMobile Web - ChromeAndroid.Web.movMobile Web - Safariios.Web.moviOSios.movAndroidAndroid.mov |
Hey @tylerkaraszewski will start testing now. |
@PauloGasparSv - added the web recording. I must have just forgot to attach it. |
Also @tylerkaraszewski , I'm a bit confused with the test steps and the evidences. Do I need to go to the page with the country dropdown or can I just test if the Onfido screen opens correctly? I'm not sure how to get to the country dropdown page, can you help me on that? |
yes, you need to go to the page with the country dropdown. Here's a video showing all the steps from the beginning: full.mov |
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.
LGTM so I'm already approving.
Couldn't get to the Country page on the iOS and Android native tests but I checked and both this P.R. and the original only went to the Onfido camera screen so I did the same!
I'm still adding evidence for Android mWeb, for some reason it is failing on all my emulators saying the Chrome version is outdated so I'm creating a new device to test
@tylerkaraszewski can you test this on Chrome mobile Android? Spent some time on it but I still can't get to the country page there |
@PauloGasparSv Please refer to this comment here You need to run 'adb reverse tcp:8080 tcp:8080' And access it using localhost:8080 on mWeb/Chrome to test it locally |
Thks @tylerkaraszewski! I only looked in the original P.R. but not the issue for help on that, will try it here! |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
Performance Comparison Report 📊Significant Changes To DurationThere are no entries Meaningless Changes To DurationShow entries
Show details
|
🚀 Deployed to staging by https://github.com/PauloGasparSv in version: 1.2.58-0 🚀
|
🚀 Deployed to production by https://github.com/chiragsalian in version: 1.2.58-4 🚀
|
Details
Followup to here: #14353
That PR was accidentally merged with a failing security test. It specified onfido version 10.3.0, but too loosely. This change is just to specify the version more tightly.
Fixed Issues
$ #13262
PROPOSAL: GH_LINK_ISSUE(COMMENT)
Tests
Tests copied from the original PR:
Note:
For IOS and Android native, the screen that shows the offending dropdown box is skipped, and thus this change (and bug) have no effect there.
Offline tests
QA Steps
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)ScrollView
component to make it scrollable when more elements are added to the page.Screenshots/Videos
Web
web.mov
Mobile Web - Chrome
android-web.mov
Mobile Web - Safari
ios-web.mov
Desktop
desktop.mov
iOS
ios.mov
Android
android.mov