Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot find DGCI: URN:UVCI:01DE/.... #70

Closed
hsanjuan opened this issue Jul 5, 2021 · 8 comments
Closed

Cannot find DGCI: URN:UVCI:01DE/.... #70

hsanjuan opened this issue Jul 5, 2021 · 8 comments
Labels
bug Something isn't working

Comments

@hsanjuan
Copy link

hsanjuan commented Jul 5, 2021

Describe the bug

Thank you for making an open source application that is avilable on F-Droid.

I am using version 1.0.7-tst.

When attempting to add my EU Digital Covid certificate issued in Germany I can scan the code and the application correctly reads the details. However, I get the above error when hitting "save".

Expected behaviour

It should be able to add the certificate just fine.

Is this because of a syncing issue or something else? My certificate was issued a few hours ago.

@hsanjuan hsanjuan added the bug Something isn't working label Jul 5, 2021
@hsanjuan
Copy link
Author

hsanjuan commented Jul 5, 2021

I forgot to say, the application requests a TAN. However, no TAN has been provided in any documents to me, so I just wrote something random.

@daniel-eder
Copy link
Member

Germany has not implemented the tan functionality into their toolchain, please refer to #66

@hsanjuan
Copy link
Author

hsanjuan commented Jul 6, 2021

Is the fact that no TAN is needed related to the DGCI being invalid? The certificate seems to be perfectly readable. Per #66 you seem to imply that:

I suspect the issue could be missing public keys

Has this been verified? Is there an issue to track missing public keys?

@daniel-eder
Copy link
Member

There are no missing keys at this point, so the certificate should be detected as valid with all official apps for each member state.

When building the verifier app from source or using a non-official build it is possible the app is not accessing the productive trustlist/public keys, as access to the trustlist is granted by the member states ( see eu-digital-green-certificates/dgc-participating-countries#10 ). In that case, the publisher of the app needs to get in touch with their ministry of health to organize access.

@hsanjuan
Copy link
Author

hsanjuan commented Jul 7, 2021

There are no missing keys at this point, so the certificate should be detected as valid with all official apps for each member state.

Yes, it works with the German app. But what about this wallet app (not the verifier app)? I have tested the app-acc-release-signed-1.0.7.apk and the app-tst-release-signed-1.0.7.apk provided in the releases page and get the Cannot find DGCI: URN:UVCI:01DE/... when adding, even though it can read the certificate details.

What does that error mean? Is it trying to verify certificates even if it's not the verifier app? Why cannot it just store it?

This app is for storing digital EU green certificates, and I am trying to store one, and it does not work, so perhaps we can acknowledge there is a problem?

@daniel-eder
Copy link
Member

The apps found here are only template apps to be used by the member states, not ready-to-use applications.

The apk releases are set up to work with the test (app-test) and acceptance (app-acc) environments in order to give member state developers a reference solution, but do not work with the productive environment, as wallet apps are in the sovereignty of the member states, not of the European Union/European Commission.

These template apps only work with productive certificates if a member state adjusts and configures them to work with their national backend (or provides a third party with the permission and required access to do so)

@hsanjuan
Copy link
Author

hsanjuan commented Jul 7, 2021

Thank you, I understand. An update to the README outlining this information would help, since the apks are circulated on a popular F-Droid repository and there is not much information on the app needing additional configuration or how to do that.

I would have obviously not asked about a working version of this app, had I known this implied invading the sovereignty of members states. My sincere apologies for the time wasted and my best congrats to the European Commission for ensuring no national contract to develop an equivalent app goes wasted.

@daniel-eder
Copy link
Member

That's a fair point, I added a brief statement to the readme's for the app repos (pending merge).

In all fairness I do need to point out that while the releases on here cannot be used due to not being connected to a production backend, the apps are functionally ready to use, and member states either use these apps with only minor modification (translation and branding) or copied/included the core functionality into existing covid-related apps so the work done here is generally not duplicated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants