ericcornelissen / NervousFish

An app for your :iphone: to exchange public-keys in a secure manner.
GNU Lesser General Public License v3.0
2 stars 4 forks source link

Clear the password in the LoginActivity #294

Closed ericcornelissen closed 7 years ago

ericcornelissen commented 7 years ago

What

This Pull Request updates the code base so the password entered in the login screen is cleared once the app progresses to the MainActivity.

Why

This Pull Request is needed because it improves security. Now it is sometimes possible to get back to the LoginActivity, and then the password is still there 😕

How

It is pretty hard to test this future, unless you know a way to cause your phone to get to the LoginActivity in an unexpected fashion. On my device, if the app crashes I immediately go back to the LoginActivity and then the password would still be there.

Alternative implementation

Notes

None