google / exposure-notifications-android

Exposure Notifications Android Reference Design
https://www.google.com/covid19/exposurenotifications
Apache License 2.0
527 stars 116 forks source link

Unsupported key file signature #45

Open missilen opened 4 years ago

missilen commented 4 years ago

I received this error message when testing the Android app downloading keys from our EN keys server:
com.google.android.gms.common.api.ApiException: 8: Internal error verifying key file signature: unsupported signature OID: SHA256withECDSA.

All of my test phones failed except the Samsung S9.

Is there a guideline on this?

Thank You

gurayAlsac commented 4 years ago

Be sure to use the actual object identifier of the algorithm in dot notation. In this case, you should set signature_algorithm to "1.2.840.10045.4.3.2": http://oid-info.com/get/1.2.840.10045.4.3.2 https://developers.google.com/android/exposure-notifications/exposure-key-file-format#binary-format

On Tue, Jul 28, 2020 at 7:33 AM Tim Nguyen notifications@github.com wrote:

I received this error message when testing the Android app downloading keys from our EN keys server: com.google.android.gms.common.api.ApiException: 8: Internal error verifying key file signature: unsupported signature OID: SHA256withECDSA.

All of my test phones failed except the Samsung S9.

  • Samsung S9 (Android 10) worked
  • Pixel 4 (Android 10 with Play services 20.26.14) not working,
  • Moto X4 (Android 9) - not working,
  • LG Astro (Android 8) - not working
  • Moto G (Android 5) - not working

Is there a guideline on this?

Thank You

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/google/exposure-notifications-android/issues/45, or unsubscribe https://github.com/notifications/unsubscribe-auth/APMTEJRUFMFKKV7ZG3ZQKB3R53OURANCNFSM4PKSYORA .