cwa-app-android
cwa-app-android copied to clipboard
Implausible screenshot certificate technical expiration dates
Avoid duplicates
- [X] Bug is not mentioned in the FAQ
- [X] Bug is specific for Android only, for general issues / questions that apply to iOS and Android please raise them in the documentation repository
- [X] Bug is not already reported in another issue
Technical details
- Device: Android Tablet for screenshot capture
- First reported on App version: 2.9.0
- Reviewed as not yet fixed in App version: 2.26.0-RC1
- Android version: 11
Describe the bug
Certificate screenshots shown on https://www.coronawarn.app/en/screenshots/ use implausible and expired technical expiry dates in the past.
https://www.coronawarn.app/en/screenshots/#android_test_certificate:
- TestCertificateDetailsFragment__2.png shows a Technical Expiration Date of 5/12/21, 7:00 PM
https://www.coronawarn.app/en/screenshots/#android_vaccination_certificate:
- VaccinationDetailsFragment_immune_2.png shows a Technical Expiration Date of 5/15/21, 5:00 PM
https://www.coronawarn.app/en/screenshots/#android_recovery_certificate:
- RecoveryCertificateDetailsFragment_recovered_2.png shows a Technical Expiration Date of 6/22/22, 7:13 AM
Edit: Links and dates/times updated for CWA 2.25.0
Steps to reproduce the issue
(Set device to small font to capture complete certificate)
- In Android Studio
- Run TestCertificateDetailsFragmentTest.kt
- Run VaccinationDetailsFragmentTest.kt
- Run RecoveryCertificateDetailFragmentTest.kt
- View > Tools Windows > Device File Explorer
- Go to /data/data/de.rki.coronawarnapp.test/screenshots
- View screenshots
Expected behavior
According to https://www.coronawarn.app/en/faq/#eu_dcc "Currently, in Germany, the digital vaccination, test and recovery certificates of the EU are usually issued with a technical validity of one year from the date of issue."
EU Digital COVID Certificates were not introduced until mid 2021 (see https://ec.europa.eu/info/live-work-travel-eu/coronavirus-response/safe-covid-19-vaccines-europeans/eu-digital-covid-certificate_en#timeline), so if the technical validity is one year, then none of the certificates can have a technical expiration date before mid 2022.
Pharmacies started to issue vaccination certificates on Monday, June 14, 2021 (see https://www.abda.de/aktuelles-und-presse/pressemitteilungen/).
Although the published screenshots do not show other certificate details, if screenshots are captured on a tablet with small font size, it can be seen that the expiration date is also inconsistent with the corresponding event.
Dates and times below from 2.26.0-RC1:
| File | Event | Technical Expiration | Duration of Validity |
|---|---|---|---|
| TestCertificate | 12.05.2021 19:00 | 5/12/21, 7:00 PM | 0 minutes! |
| VaccinationCertificate | 2021-02-18 | 5/16/21, 2:00 AM | 3 months! |
| RecoveryCertificate | 2021-05-24 | Current date and time | > 1 year! |
Possible Fix
Ensure that the technical expiration date for certificate screenshots corresponds to real use certificates.
Internal Tracking-ID: EXPOSUREAPP-9299
Hey @MikeMcC399 ,
Thank you for your report. We have notified the dev team about the issue. They will look into it now.
Corona-Warn-App Open Source Team
@MikeMcC399 This issue seems fixed. Non of the screenshot paragraphs you mention still show a screenshot with a technical expiration date.
@Ein-Tim
This issue seems fixed.
The issue only looks fixed if you inspect the current screenshots on the website, however these screenshots do not show the whole of the certificate so the problem is still there, but it is hidden.
The way to check for the underlying problem is to go through the steps to reproduce with a tablet for instance.
The test certificate date and time of expiry is exactly the same as the date and time of sample collection. This is an implausible example because the test certificate is never valid if the length of time of validity is 0 minutes.

- PR #5461 resolves this issue. Each of the certificate screenshots has a technical validity of one year:
Dates and times below from 2.27.0-RC0 (https://github.com/corona-warn-app/cwa-app-android/commit/7710cc9c73593716952e9f9143699bae72147194):
| File | Event | Technical Expiration | Duration of Validity |
|---|---|---|---|
| TestCertificate | 12.05.2021 19:00 | 5/12/22, 7:00 PM | 1 year |
| VaccinationCertificate | 2021-02-18 | 2/18/22, 3:00 PM | 1 year |
| RecoveryCertificate | 2021-05-24 | 5/24/22 3:00 PM | 1 year |
This issue has been fixed, so any related screenshots which are generated in advance for the 2.27 should be correct. Closing therefore.