admin-ch / CovidCertificate-App-Android

CovidCertificate Apps for Android

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Doesn't have a valid signature?

BarisGURENC opened this issue · comments

Hi,

At my build, I get "The COVID certificate does not have a valid signature" message on the result screen.

Same QR Code, but there is no that kind of alert/error message on the official android app.

@goebelUB , @benz-ubique
Is there a point I missed?

We need more information, otherwise it's hard to tell what is going wrong. E.g. what error code do you get (e.g. G|NWF)?
Since you are building it yourself, you could build the debug flavour (./gradlew wallet:assembleProdDebug) to get extra log output. Also make sure you are also building the prod flavour, since the dev and abn flavours use different signing keys against which certs are checked.

We need more information, otherwise it's hard to tell what is going wrong. E.g. what error code do you get (e.g. G|NWF)?
Since you are building it yourself, you could build the debug flavour (./gradlew wallet:assembleProdDebug) to get extra log output. Also make sure you are also building the prod flavour, since the dev and abn flavours use different signing keys against which certs are checked.

@goebelUB

Actually i don't get error on Android Studio.
My apk doesn't verify the informations which i got from QR. But Official APP does.
Please check the linked image : https://ibb.co/NYnB79K

How did you build your app? Opened it in Android Studio and hit "run"?
If you click on the (i) in the top right and scroll down, what does it say here? Does it say "prod"?

I had similar problem and noticed that if "certificates.json" is not up to date, it says certificate does not have valid signature. Verifier app tries to update trustlist files every time the main activity is resumed. I am gonna put onCompletionCallback and onErrorCallback to see what is happening when refreshTrustList() function called.