PersonalDataIO / CoronaRiskScoring

4 stars 2 forks source link

Where are the keys stored in CoronaWarn ? #9

Open pdehaye opened 4 years ago

pdehaye commented 4 years ago

The CoronaRiskScoring project is trying to assess how different contact tracing apps are being parametrized. For this purpose, we need to know how many TEKs get published per day, and their risk levels (all public information).

Project considered We are looking at CoronaWarn.

What we need We need to have a procedure describing how to pull down the keys reliably.

Nice to have We would like to find in the code where this code is downloaded from, which is generally around func detectExposures(configuration: ENExposureConfiguration, diagnosisKeyURLs: [URL], completionHandler: @escaping ENDetectExposuresHandler) -> Progress in the iOS app.

Excellent to have Ideally we would have a little code snippet to run and pull down the necessary data, or a URL to do this directly.

pdehaye commented 4 years ago

The code here seems to point to:

https://svc90.main.px.t-online.de/version/v1/diagnosis-keys/country/DE

pdehaye commented 4 years ago

Somehow the app config is supposed to be here, see here.

pdehaye commented 4 years ago

https://svc90.main.px.t-online.de/version/v1/diagnosis-keys/country/DE/date

gives the list.

corneliusroemer commented 4 years ago

This repo should contain all you need: https://github.com/mh-/diagnosis-keys Here is a visualisation of the current CWA key state: