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

Inacurate start_index for reports originated from iOS app #134

Open
duskoo opened this issue Jul 26, 2020 · 2 comments
Open

Inacurate start_index for reports originated from iOS app #134

duskoo opened this issue Jul 26, 2020 · 2 comments

Comments

@duskoo
Copy link
Collaborator

duskoo commented Jul 26, 2020

Logic in TcnKeys::create_report calculates start_index assuming that new tcn is generated every 15 min. This is correct for Android implementation.
iOS implementation, on the other hand, generates tcns on each read request (which occurs randomly), making the start_index inaccurate.

We need a way to correlate the number of iOS tcn generations to elapsed time: how many generations has occurred in 14 days preceding the infection report?

@ivnsch
Copy link
Collaborator

ivnsch commented Jul 27, 2020

Additionally (as mentioned here), iOS sends a read request when the device UUID isn't cached. The lifetime of this UUID is unclear (at least per official docs). It may be long lived, up to the point of identifying a particular app installation.

@ivnsch
Copy link
Collaborator

ivnsch commented Jul 28, 2020

Thinking more about this, TCNs being long lived for a particular observer doesn't seem to be a problem. The problematic part seems rather when they change too quickly (e.g. user goes to mass gatherings and "consumes" the TCNs for the infection period in a couple of days, pushing the older ones out, so e.g. a contact I saw 2 weeks ago will not be matched anymore). We can improve this by increasing the infection "period" to a sufficiently large interval?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants