Skip to content
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

Improvement/update keychain lib #1780

Merged
merged 41 commits into from
Nov 6, 2020
Merged

Conversation

andrepimenta
Copy link
Member

Description

Update keychain library.

@ibrahimtaveras00 It's important to test updating the app from previous versions, and making sure the biometrics and 'remember me' still works. Also now we should support:

  • TouchId (iOS)
  • FaceId (iOS)
  • Fingerprint (Android)
  • Face (Android)
  • Iris (Android)

@andrepimenta andrepimenta requested a review from a team as a code owner August 18, 2020 15:14
@andrepimenta andrepimenta added the needs-qa Any New Features that needs a full manual QA prior to being added to a release. label Aug 18, 2020
Copy link
Contributor

@estebanmino estebanmino left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@ibrahimtaveras00 ibrahimtaveras00 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Issue 1:

When I come from a previous version (I tested coming from v0.2.19) that already has a password set (both with or w/o biometrics) when I attempt to log in the first time, I get the following error:

Screen Shot 2020-09-10 at 12 30 30 PM

Screen Shot 2020-09-10 at 12 57 50 PM

seen here = https://recordit.co/5qlqauXsuU (notice on the second attempt by just pressing log in it works)

Issue 2:

I am unable to get face recognition (android) nor iris scanner (android) to work; seen here = https://recordit.co/986vZPHcow

Basically the first time I try the scan is successful but it doesn't log me in and prompts me a second time. On the second attempt it's successful but then still doesn't log me in with this error

Screen Shot 2020-09-10 at 7 42 40 PM

Device I tested = Samsung Galaxy Note 9 SM N960U

Issue 3:

Continuing from above issue, I'm still able to log in when I manually type my password. However, when I go to Settings > Security & Privacy I seen "Sign in with Fingerprint?" even though I used Iris/Face recognition and don't have fingerprint enabled on the device; seen here = https://recordit.co/kjPBjQ9ASH

Issue 4:
Even though I have iris scanner or face recognition enabled (I have fingerprint disabled on a device level) it still shows me the finger print icon rather than the intended icon. Also the text says fingerprint still.

Seen here:
image

@ibrahimtaveras00 ibrahimtaveras00 added QA'd - Issues Found QA has been complete, however issues have been discovered that need to be addressed next release and removed needs-qa Any New Features that needs a full manual QA prior to being added to a release. labels Sep 10, 2020
@estebanmino
Copy link
Contributor

could potentially fix
#1811
#1607
#1496

@ibrahimtaveras00
Copy link
Contributor

In release mode, I was not able to reproduce issue 1, but all the other issues were still happening and couldn't see the following designs on Android with the exception of fingerprint

@andrepimenta andrepimenta removed their assignment Oct 15, 2020
@omnat omnat modified the milestones: v1.0.4, Sprint Nov2 Nov 2, 2020
@omnat omnat added needs-qa Any New Features that needs a full manual QA prior to being added to a release. and removed QA'd - Issues Found QA has been complete, however issues have been discovered that need to be addressed labels Nov 2, 2020
Copy link
Contributor

@ibrahimtaveras00 ibrahimtaveras00 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

New Issues I'm seeing:

  • when I came from an earlier version with PIN enabled it worked and asked for pin
    but when I go to security settings I don’t see the option to toggle it off or even enable faceID/touchID

  • If you have PIN enabled then log out, and log back in, PIN will be toggled off in Settings > Security and will not ask for PIN on subsequent launches unless the user re-enables it

@ibrahimtaveras00 ibrahimtaveras00 added QA'd - Issues Found QA has been complete, however issues have been discovered that need to be addressed and removed needs-qa Any New Features that needs a full manual QA prior to being added to a release. labels Nov 4, 2020
# Conflicts:
#	app/components/Views/ChoosePassword/index.js
#	app/components/Views/ImportFromSeed/index.js
#	app/components/Views/ImportWallet/index.js
#	app/components/Views/Settings/SecuritySettings/index.js
#	app/components/Views/SyncWithExtension/index.js
#	ios/MetaMask.xcodeproj/project.pbxproj
Copy link
Contributor

@ibrahimtaveras00 ibrahimtaveras00 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All fixes look good, QA Passed 👍

@ibrahimtaveras00 ibrahimtaveras00 added QA Passed A successful QA run through has been done and removed QA'd - Issues Found QA has been complete, however issues have been discovered that need to be addressed labels Nov 6, 2020
@andrepimenta andrepimenta merged commit 7d66b97 into develop Nov 6, 2020
@andrepimenta andrepimenta deleted the improvement/update-keychain-lib branch November 6, 2020 15:05
rickycodes pushed a commit that referenced this pull request Jan 31, 2022
* Update keychain

* Update accessible

* setUserAuthenticationValidityDurationSeconds

* pack

* proguard

* enable biometrics

* settings

* enterpasswordui

* enterpasswordui

* cleanup

* fixbiometrics

* wording

* Fix showing biometrics option when not enabled

* 535

* 1.0.5

* Refactor keychain access

* Fix passcode on android

* bump

* Fix disable biometrics by choice on import from seed

* Fix reset password with biometrics android

* Fallback to password for biometric error

* Dont reset state if reset password failed

* Catch biometric error

* Update comment

* ci

* unit

Co-authored-by: Ibrahim Taveras <[email protected]>
Co-authored-by: Esteban Miño <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
next release QA Passed A successful QA run through has been done
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants