google / google-authenticator

Open source version of Google Authenticator (except the Android app)
Apache License 2.0
5.19k stars 966 forks source link

Cannot transfer account without a name to a new device #712

Open paulmdavies opened 3 years ago

paulmdavies commented 3 years ago

Found a bug in the iPhone or Blackberry app? Thanks for reporting it! To help us out, fill out this template to the best of your ability.

Please note that the code in this repository is an open source fork of the app in the App Store, so there is no guarantee that both apps will be in sync. Please check which version of the app your bug applies to below.

Describe the bug When transferring accounts to a new device, if an account doesn't have a name (displays in the app as " ()"), the transfer will fails

To Reproduce Steps to reproduce the behavior:

  1. Add an account with no name
  2. Go to export, selecting just that account for export
  3. On another device, scan the QR code in import
  4. Transfer will fail with "Could not interpret QR code" or similar

Expected behavior The account should be transferred correctly.

Smartphone (please complete the following information):

Additional context Adding a name will make the transfer succeed