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

Export RPI Keys #11

Open
tkerby opened this issue Sep 28, 2020 · 3 comments
Open

Export RPI Keys #11

tkerby opened this issue Sep 28, 2020 · 3 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@tkerby
Copy link

tkerby commented Sep 28, 2020

Would be really useful to be able to export RPI keys (perhaps a CSV file) with their appropriate time period. You've got really useful comparison in the app, but it would be interesting to compare to other data sources

@mh-
Copy link
Owner

mh- commented Sep 28, 2020

@tkerby this project mainly handles Diagnosis Keys (DK) which you would download from national health authorities servers. Is your request about DKs, or about the RPIs that your phone collects?

@tkerby
Copy link
Author

tkerby commented Sep 29, 2020

Apologies, there are so many variants of names fo the different keys in use.

My understanding is that the Temporary Exposure Keys are made available from national health authorities along with the window data for their validity. From these, you can generate the keys which are then compared with the RPI data collected over Bluetooth.

I'm looking at logging the Bluetooth data (which I know you allow input through RamBLE and others) then comparing with the derived keys (that should match the RPIs). To do this, I'd need to export the large set of derived keys and their validity times.

Also, out of interest, I see you also support comparison with a csv file. Do you have any info on what app is creating this or the data format?

Thanks for the help

@mh-
Copy link
Owner

mh- commented Sep 29, 2020

Yes, this script also supports matching, see

Another example run:
% ./parse_keys.py -c app_contact-tracing-contact-record-db/ -d tekExport.zip -l -s

The .csv file is based on an export from a rooted Android device. The export tooling is located in another (private) GitHub repo.

@mh- mh- added enhancement New feature or request question Further information is requested labels Sep 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants