-
Notifications
You must be signed in to change notification settings - Fork 25
Downloading diagnosis keys
Artur Słomowski edited this page Jun 2, 2020
·
2 revisions
A regularly scheduled background task is executed to download files with batch of Temporary Exposure Keys (TEK) of positively diagnosed, called Diagnosis Keys files. Each of the batch file has unique timestamp. The timestamp that identifying when a certain Diagnosis Keys file was created is used to select only not yet analyzed files for download.
Steps:
- The app gets a list of available Diagnosis Keys (
index.txt
) files from CDN:- Moya Target endpoint:
case get
- Service function:
DiagnosisKeysDownloadServiceProtocol.download() -> Promise<[URL]>
- Moya Target endpoint:
- Only files with the timestamp older than the latest successfully provided to analyze batch are selected for download
- Files are downloaded over HTTPS protocol to internal device storage
- Downloaded zip archives are decompressed to provide flat array of URL pairs:
-
export.bin
- the binary containing Diagnosis Keys -
export.sig
- the raw signature and information needed for verification
-
iOS Documentation
- README
- Controlling exposure notification
- Receiving exposures information
- Providing diagnosis keys
- Downloading diagnosis keys
- Removing historical data
- Reporting risk level
- Temporary exposure keys upload
About ProteGo
- Introduction
- SARS-CoV-2 infection risk groups
- Anonymity and security
- Further principles
- Version 2.0 functionalities scope
- Version 3.0 functionalities scope
- Version 4.0 functionalities scope
- ProteGO Safe and it’s documentation is licensed under
- Dictionary
Contributing
- How to contribute
- Code of conduct
- Feature request template
- Pull request template
- Issue template
- Security
- Support
- Contributors
- License
ProteGo Repositories