opentrace-community / opentrace-cloud-functions

OpenTrace Cloud Functions. Reference implementation of the BlueTrace protocol.
https://bluetrace.io
GNU General Public License v3.0
273 stars 121 forks source link

Verification Code and PIN usage #30

Closed sherinVish14 closed 4 years ago

sherinVish14 commented 4 years ago

Hi, It says in Open Trace app, that contact tracer will give the code that should match the verification code shown in the user's Phone(who tested positive). It is not mentioned how the contact tracer will get this code?

Could anyone explain this?

qtangs commented 4 years ago

The PIN is generated by PinGenerator or a subclass of your choice. The result of this is only known by the server so there must be a way for the server to inform the contact tracer. For example, the server can expose an API for the contact tracer to query, or send it in email/SMS to contact tracer as part of an automated workflow. You need to decide what works best for your situation and implement accordingly.

sherinVish14 commented 4 years ago

Thank you so much.