google / google-authenticator-android

Open source fork of the Google Authenticator Android app
https://play.google.com/store/apps/details?id=com.google.android.apps.authenticator2
Apache License 2.0
1.58k stars 470 forks source link

Handle scanning of malformed QR codes #101

Closed MrPickles closed 5 years ago

MrPickles commented 5 years ago

When the app scans a QR code without a secret key, the app will crash. This is because we don't catch the IllegalArgumentException properly.

This should fix google/google-authenticator#677.