admin-ch/CovidCertificate-App-Android

Unable to generate transfer code

JozefJanovsky opened this issue · 4 comments

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.

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

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

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.

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