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

[Feature Request] QR code scanner for IDs of (indoor) locations #70

Closed
medienintegration opened this issue May 15, 2020 · 23 comments
Closed
Assignees
Labels
approved This feature request has been accepted by all project partners and is planned for development event-registration feature request A new feature proposal for the app mirrored-to-jira This item is also tracked internally in JIRA

Comments

@medienintegration
Copy link

medienintegration commented May 15, 2020

Virologists point out that the virus appears to spread in over 40% of the infections caused by aerosols, which can remain in the air for up to several hours in closed rooms. I think it could be helpful to create a possibility for restaturants, hairdressers etc. to be part of the tracing process without using a Bluetooth device, e.g. with the help of QR codes.

Guests would scan the respective QR code when entering and leaving such a store and the app would rate the transmitted IDs as contacts. If it turns out that an employee has tested positive for Corona, the IDs would be uploaded to the backend server as infected and all guests who have been in this room in e.g. the past 2 weeks (or five days before the onset of symptoms) will be informed by the app.

Such a solution would require a server that provides IDs based on a public url for the participating shops / locations.


Internal Tracking Id: EXPOSUREAPP-2124

@tkowark
Copy link
Member

tkowark commented May 15, 2020

Thanks a lot for your proposal. In the initial version, the app scope will adhere to the scoping document.

But, of course, we welcome discussion and ideas around potential future functionality and leave this issue open for others to discuss and refine the idea.

@egandro
Copy link

egandro commented May 15, 2020

We used QR Codes in a lot of projects.

It can be trolled by a simple photo :)

So you need somehow signed NFC stickers to gain a minimum of security.

  • You need a direct contact to NFC stickers (this creates a new hotspot!)
  • NFC can also be copied...

I see no possibility implementing this using customer cell phones.

@medienintegration
Copy link
Author

medienintegration commented May 15, 2020

The possibility of misuse with an insecure technology such as QR codes should of course be considered and evaluated. Perhaps this discussion will help developing a robust concept, possibly with the involvement of health authorities or 'Ordnungsämter' who regularly check the QR codes used.

Ultimately, the QR code is just the way the link is copied, the app could perhaps also display the location's data (name, address, logo) as confirmation.

@TomTeeJay
Copy link

TomTeeJay commented May 15, 2020

No @medienintegration. I disagree. There are already a lot of 2nd thoughts and well-known Show-Stopper. The App has one job, let it do accordingly and stop mixing functions. Its very easy to understand:

With the mixing of functions the discrimination of non-App users increases.

It's also horrific how complexity is increased.

I also recall this prematurely closed and not understood issue (corona-warn-app/cwa-documentation#23)

But of course I could miss the point, that this could be the strategy right from the beginning. To integrate as much as possible in order to nudge as many as possible.

Let me say this very clearly: This will not work!

@sventuerpe
Copy link

@TomTeeJay

With the mixing of functions the discrimination of non-App users increases.

It's also horrific how complexity is increased.

On the one hand I agree that things should be kept simple and focused. On the other hand, this project has skipped design exploration and is taking an arbitrarily set approach. It should not surprise us that alternative approaches keep popping up in various forms. This project lacks a design rationale.

@MalteJ
Copy link
Member

MalteJ commented May 15, 2020

@medienintegration
Sorry, until the BLE approach is not proven to be ineffective/broken we cannot concentrate on different solutions. I have to close this issue. Feel free to re-open as soon as there is an indication the BLE approach does not work in your sketched environment. But I am pretty sure you have described a perfect setting for BLE contact tracing 😉

Malte

@MalteJ MalteJ closed this as completed May 15, 2020
@sventuerpe
Copy link

@MalteJ Could the idea of @medienintegration be implemented as a protocol extension based on BLE? Imagine a location participating in contact tracing with its own device(s). If an infected person has visited the location recently, this location becomes exposed and if locations are distinguishable from persons one could in this case notify secondary contacts.

I have not thought this through – some form of authentication and location-binding will probably be needed and one will have to analyze the privacy implications – but dismissing the entire idea without much discussion seems premature to me.

@medienintegration
Copy link
Author

@MalteJ I understand that the focus should be on developing the core function. However, the point is not that the BLE approach is ineffective / broken, but that scenarios are conceivable that could save valuable time with the help of QR codes (or stationary devices). In other scenarios, the BLE approach would just not work (simple example: I am in the barber shop with 2 employees and another customer in one room - and I am the only one who has installed the app).

@sventuerpe Actually, stationary BLE devices were my first idea, but after a discussion with a friend, she had the idea with the QR codes, which I find much less problematic. As you mentioned, stationary devices would have to be authenticated. In addition, they should not leave the place, otherwise they would trigger a myriad of "contacts". But maybe someone has an idea for a working solution.

@darkdragon-001
Copy link

Another situation where the current approach fails, is a chef in a kitchen with access to the meal of a customer but behind a Bluetooth impenetrable barrier (metal kitchen walls, far distance, ...)

@tkowark tkowark transferred this issue from corona-warn-app/cwa-documentation Jun 26, 2020
@tkowark tkowark reopened this Jun 26, 2020
@tkowark
Copy link
Member

tkowark commented Jun 26, 2020

Reopening now as part of the wishlist.

@MATTiVOLTARii
Copy link

This great idea could finally put an end to the prevailing problem with the registration on paper for visiting localities and would be finally compliant with gdpr. Could also increase the attractiveness of the app and the number of users.

Could be so easy:

Corona_dsgvo-konforme-Gastanmeldung_Gast-Screen
Corona_dsgvo-konforme-Gastanmeldung_Anmelder-Screen

@medienintegration
Copy link
Author

If I understand the specifications of Google's and Apple's API correctly, there is no way to add your own IDs that are not received via Bluetooth to the collection of transmitted IDs. But maybe there is still a possibility to include locations in the tracing process and to use parts of the CWA infrastructure for this.

As already described, this would require a server that provides IDs that are assigned to locations via public links. As a location, I would have to register with name, address, logo etc. and would receive the link in the form of a QR code, which visitors can scan when entering and leaving the location. To confirm that this QR code is correct, the app could display the name / address / logo it received from the server.

The app would save the provided IDs / timestamps regardless of the BLE IDs. If a positive Corona case is associated with a participating location, the relevant IDs would be published and the app could carry out a risk calculation and inform the user if necessary. The configuration parameters (duration risk, days risk) of the RKI could also be used for this calculation (or differ in the case of a different recommendation).

This function could be added to the app as a feature / plugin, which is deactivated by default, so that the users could decide whether they would like to use this function.

I know that this feature would probably be enough for another single app and, as @TomTeeJay emphasized, the mix of features could be problematic. Nevertheless, I find such a feature worthy of discussion due to the success of the app and the current problematic visitor tracking in restaurants and other locations.

@alanrick
Copy link

I understand @tkowark ‘s statement that this is not in the scoping document, but is that by design or lack of foresight? Similarly, it is one thing if the current BLE API does not support this but quite another if the topic hasn’t been broached with Google/Apple.

I ask because I found it very convenient and hygienic in the UK to use qrcodes taped to the pub tables to register, and at the same time I notice a deterioration in friends’ willingness in Germany to submit correct details in the bar lists. Squirting Random IDs into a local (cloud) server would be more private and comfortable.

Ultimately, it’s RKIs call. But it does seem a wasted opportunity not following up on this armed with tracing-center success/failure statistics and epidemiologist, psychologist and IT expert opinions.

@f-re
Copy link

f-re commented Sep 9, 2020

Strongly support this, as NFC and as QR code solution.
To mitigate misuse by copy (for unsigend NFC or QR) possibilities are:

  • the codes as stickers can be replaced quickly by just using a new QR sticker.

  • indirect to a server URL that issues a fresh UUID. The server can disable abused QRs centrally.

This is also a good solution for public transport ("scan when enter"). As users only touch their mobiles I see the risk of creating local hotspots quite low.

@alanrick
Copy link

The UK hasn't had success with their app so far, but they are intending supporting QR codes. Is the CWA team in contact with their developers for know-how transfer on the pros and cons of the method to be used?

@jniediek
Copy link

This was issue #272 previously, now moved here due to overlapping scope. Note however that the proposal below goes beyond a mere addition to BLE-based ID transmission.

Feature description

As repeatedly discussed by Prof. Drosten and others, it's crucial to identify infection clusters. Here is an idea towards this goal.

  1. Create a website to print specific QR codes. These printed codes are used to identify rooms or closed spaces in general, such as class rooms in schools, offices, workplaces, restaurants, maybe even train compartments. Anybody can print a code and display it inside the room. Each QR code contains two pieces of information: a unique ID (generated by the backend behind the website) and some nickname for the room (not necessarily unique, such as "McDonald's at Berlin Hbf" or "Commerzbank München Office 210"; provided by the user who prints the QR code). For privacy concerns see below.

  2. Use CWA to scan the QR code when you enter a room. The unique ID is stored only locally on the device, and the nickname of the room is stored only locally on the device in the form of some "my closed rooms diary" together with a time stamp, visible to the user of CWA.

  3. If a user is tested positive, three things happen:

  • The user can send his/her list of room nicknames to the health authorities/Gesundheitsamt. This will improve the contact tracing interviews a lot: they will be more precise, more complete, and faster, because the list of visited rooms will help the patient to recall what happened during the last 14 days. For privacy, of course the user will be able to delete items from the list before sending, and of course sending the list will be voluntary at any time. This is the main benefit of the suggested feature. Additionally:

  • The scanned room IDs + timestamps will be used in the same way that CWA is working right now: The patient can (voluntarily) upload the list of scanned unique room IDs, CWA can download the list, and CWA can then display a warning to anybody who scanned the same ID at around the same time: "a covid patient was in the same room with you". This could be more precise than the current BLE for example in restaurants or offices with bad ventilation, where people can sit 20 m apart and still catch the virus through aerosols.

  • The server side of CWA can compute statistics on room IDs scanned by people tested positive to find infection clusters. These highly relevant room IDs can be downloaded by CWA, which can then display a warning such as "you were in a room where several people got infected. Please inform the health authorities". This could help the health authorities to prioritize some investigations above others. For example, they could call contacts of somebody who was found to be in a cluster situation earlier than contacts of somebody who was not found to be in such a situation.

Problem and motivation

Current problem: contact tracing interviews are slow, and results are imprecise and incomplete. Imagine people had the option to quickly scan a QR code every time they go into a closed room. This would greatly improve the outcome of contact tracing interviews. Furthermore, it would have positive side effects as described above.

Is this something you're interested in working on

Yes

@daimpi
Copy link

daimpi commented Nov 17, 2020

@jniediek sounds good 👍

You might also wana check out the tread in #138 which discusses a similar issue and related solution proposals 🙂.

@alanrick
Copy link

Is the CWA team in contact with their developers for know-how transfer on the pros and cons of the method to be used?

Did anyone find time to contact the UK developers for Do’s and Dont’s based on their experience of this capability in their live app (albeit a different mechanism)?

@svengabr svengabr moved this from Initial_OLD to Initial in [CM] cwa-wishlist Nov 19, 2020
@heinezen heinezen moved this from Initial to Mirrored to Jira in [CM] cwa-wishlist Nov 24, 2020
@sapcoder123 sapcoder123 assigned maugst and unassigned JoachimFritsch Dec 18, 2020
@AndreasHGIT
Copy link

Think the most of the people discussing this feature are aware of Luca, if not i guess it would be helpful to discuss the concepts, thoughts and so on with that project. https://luca-app.de/

@cwa-bot cwa-bot bot moved this from Mirrored to Jira to ToDo in [CM] cwa-wishlist Dec 30, 2020
@AndreasHGIT
Copy link

AndreasHGIT commented Dec 30, 2020 via email

@heinezen heinezen moved this from ToDo to Mirrored to Jira in [CM] cwa-wishlist Jan 1, 2021
@heinezen heinezen added the approved This feature request has been accepted by all project partners and is planned for development label Apr 22, 2021
@Ein-Tim
Copy link
Contributor

Ein-Tim commented Apr 25, 2021

Hey @medienintegration, version 2.0, which contains the event-registration, has been released on the 21.04.2021 (see blog post "Project team releases Corona-Warn-App 2.0 with event registration"). The releases can be found here for Android and here for iOS.
Do you see your proposal fulfilled by this feature?
If yes, I'd like to ask you if you could close this issue.

Thank you!

@cwa-bot cwa-bot bot moved this from Mirrored to Jira to ToDo in [CM] cwa-wishlist Apr 25, 2021
@heinezen
Copy link
Member

Hello everyone,

This feature has been implemented in CWA 2.0 as part of the event registration feature.

This issue will be closed. If you have new ideas for the current implementation of the feature, please consider opening a new issue.


Corona-Warn-App Open Source Team

@cwa-bot cwa-bot bot moved this from ToDo to Done in [CM] cwa-wishlist Apr 25, 2021
@medienintegration
Copy link
Author

Hallelujah.

@cwa-bot cwa-bot bot moved this from Done to ToDo in [CM] cwa-wishlist Apr 26, 2021
@heinezen heinezen moved this from ToDo to Done in [CM] cwa-wishlist Apr 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
approved This feature request has been accepted by all project partners and is planned for development event-registration feature request A new feature proposal for the app mirrored-to-jira This item is also tracked internally in JIRA
Projects
Development

No branches or pull requests