admin-ch / CovidCertificate-App-Android

CovidCertificate Apps for Android
Mozilla Public License 2.0
178 stars 42 forks source link

Unable to generate transfer code #397

Open JozefJanovsky opened 2 years ago

JozefJanovsky commented 2 years ago

I have a Pixel 4 phone running an up-to-date Android 12 with the latest version of the Covid Cert app installed. When I attempt to generate a transfer code I get an error message: "Unable to generate transfer code. Please contact support." with a phone number. The person at the phone number could not help.

Other functions of the app seem to work fine.

Also, the app can generate transfer codes on a Pixel 3a running an up-to-date Android 12.

goebelUB commented 2 years ago

What is the exact error code? It looks something like this, circled in red here:

JozefJanovsky commented 2 years ago

Thanks for getting back to me so quickly! The code is: "I|KPG".

goebelUB commented 2 years ago

KPG stands for "keypair generation failed". So this is probably happening here in response to a failure here.

Can you try rebooting the device? We have seen issues (here and across other apps) involving the Keystore (aka Secure Enclave) where this has fixed it...

Also, if you happen to know some Android development, you can look at the logcat (before you reboot!) to see if anything interesting is being printed.

JozefJanovsky commented 2 years ago

Thanks for the pointers! Unfortunately, I know exactly 0 Android development :) Rebooting the phone did not help.