Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

Improve keyfile checksum handling #1181

Merged
merged 1 commit into from
Sep 18, 2020
Merged

Conversation

d4rken
Copy link
Member

@d4rken d4rken commented Sep 18, 2020

Description

  • Make checksum retrieval the responsibility of DiagnosisKeyServer instead of KeyFileDownloader (cleaner)
  • Favor the servers MD5 over our own (but use it as fallback) (when we add key validation, we ideally want the server provided checksum)

How to test

  • Review code changes + tests (isn't easily testable on device)

Refactor MD5 extraction to be part of `DiagnosisKeyServer`'s responsibility.
@d4rken d4rken added maintainers Tag pull requests created by maintainers 1.5.0 labels Sep 18, 2020
@d4rken d4rken requested a review from a team September 18, 2020 10:13
chris-cwa
chris-cwa previously approved these changes Sep 18, 2020
Base automatically changed from feature/interoperability to release/1.5.x September 18, 2020 13:25
@d4rken d4rken dismissed chris-cwa’s stale review September 18, 2020 13:25

The base branch was changed.

@d4rken d4rken requested a review from janetback as a code owner September 18, 2020 13:25
@d4rken d4rken changed the base branch from release/1.5.x to release/1.4.x September 18, 2020 13:26
@d4rken d4rken changed the base branch from release/1.4.x to release/1.5.x September 18, 2020 13:27
@d4rken d4rken closed this Sep 18, 2020
@d4rken d4rken reopened this Sep 18, 2020
@d4rken d4rken changed the base branch from release/1.5.x to fix/interopsquash September 18, 2020 13:46
@d4rken d4rken changed the base branch from fix/interopsquash to release/1.5.x September 18, 2020 13:47
@d4rken d4rken changed the base branch from release/1.5.x to feature/interoperability-backend September 18, 2020 13:58
@d4rken d4rken changed the base branch from feature/interoperability-backend to release/1.5.x September 18, 2020 13:58
@d4rken d4rken merged commit fc5e57c into release/1.5.x Sep 18, 2020
@d4rken d4rken deleted the fix/checksum-storage branch September 18, 2020 19:03
@harambasicluka harambasicluka added this to the 1.5.0 milestone Oct 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
maintainers Tag pull requests created by maintainers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants