From 0945239b126005a51af78855a3f34f3904daf948 Mon Sep 17 00:00:00 2001 From: Olaf Landsiedel Date: Mon, 8 Jun 2020 11:16:05 +0200 Subject: [PATCH 1/8] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d87f540..681b5ee 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Covid Bracelet -** Contributions Welcome! ** +**Contributions Welcome!** ## Get Started We use Zepyhr master as we need a newer mbed TLS as the ones that ships with Zephyr 2.2. We are waiting for the Zepyhr 2.3 release. To build, please install Zephyr and compile via west. Note that Platform.io sadly does not support Zephyr 2.3 rc / Zepyhr master at the current time. @@ -14,7 +14,7 @@ We use Zepyhr master as we need a newer mbed TLS as the ones that ships with Zep * to check for exposure * Based on Zephyr OS and NRF52 BLE SOCs -** Note: this is a proof of concept and not ready for production ** +**Note: this is a proof of concept and not ready for production** ## Open / Possible next steps * extensive compatibility testing with Apple iOS and Android devices From ba6a723cc3820975641a22c1869f7da8369b9a73 Mon Sep 17 00:00:00 2001 From: Olaf Landsiedel Date: Mon, 8 Jun 2020 11:16:34 +0200 Subject: [PATCH 2/8] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 681b5ee..28e9ef5 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ We use Zepyhr master as we need a newer mbed TLS as the ones that ships with Zep ## Features * Code sends out and receives exposure beacons - * Rolling, encrypted, anonymous beacons as specified by Google and Apple + * Rolling, encrypted, anonymous beacons as specified by Google and Apple for Covid Contact Tracing * Compatible with Apple iOS and Android phones * Upon infection upload keys to a public database * Retrieve keys of infections from database From c6c2c2797d36410101e8203aa6deb2a4841c9ce2 Mon Sep 17 00:00:00 2001 From: Olaf Landsiedel Date: Mon, 8 Jun 2020 11:16:50 +0200 Subject: [PATCH 3/8] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 28e9ef5..0410d3b 100644 --- a/README.md +++ b/README.md @@ -37,6 +37,6 @@ However, many would need the firmware to be shipped to manufactures. * Watch UI * Pine Time could be good for testing -##TODOs App / Basestation +##TODOs App and Basestation * extend this beyond the simple basestation * read keys form national databases From 7f64653787b7407895f01b991fd787126c3f9f11 Mon Sep 17 00:00:00 2001 From: Olaf Landsiedel Date: Mon, 8 Jun 2020 11:17:03 +0200 Subject: [PATCH 4/8] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0410d3b..24b01a0 100644 --- a/README.md +++ b/README.md @@ -31,12 +31,12 @@ We use Zepyhr master as we need a newer mbed TLS as the ones that ships with Zep * time sync * firmware of the air updates (signed) -##TODOs Wristband +## TODOs Wristband Possible platforms for real-world deployment many, as many of the cheap fitness trackers base on NRF52 or chips with similar capabilities. However, many would need the firmware to be shipped to manufactures. * Watch UI * Pine Time could be good for testing -##TODOs App and Basestation +## TODOs App and Basestation * extend this beyond the simple basestation * read keys form national databases From abdb89486d08921056604906bcdd474b84c4ee8e Mon Sep 17 00:00:00 2001 From: Olaf Landsiedel Date: Mon, 8 Jun 2020 11:17:23 +0200 Subject: [PATCH 5/8] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 24b01a0..b2af512 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ **Contributions Welcome!** ## Get Started -We use Zepyhr master as we need a newer mbed TLS as the ones that ships with Zephyr 2.2. We are waiting for the Zepyhr 2.3 release. To build, please install Zephyr and compile via west. Note that Platform.io sadly does not support Zephyr 2.3 rc / Zepyhr master at the current time. +We use Zepyhr master as we need a newer mbed TLS as the ones that ships with Zephyr 2.2. We are waiting for the Zepyhr 2.3 release. To build, please install Zephyr and compile via west. Note that Platform.io does not support Zephyr 2.3 rc / Zepyhr master at the current time. ## Features * Code sends out and receives exposure beacons From a1542f682d5ec9ac8e5e24c4fd04d3c4c0154585 Mon Sep 17 00:00:00 2001 From: Olaf Landsiedel Date: Mon, 8 Jun 2020 11:45:02 +0200 Subject: [PATCH 6/8] Update README.md --- README.md | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index b2af512..bdd7e62 100644 --- a/README.md +++ b/README.md @@ -2,17 +2,21 @@ **Contributions Welcome!** -## Get Started +## Get Started: Based on Zephyr OS and NRF52 BLE SOCs We use Zepyhr master as we need a newer mbed TLS as the ones that ships with Zephyr 2.2. We are waiting for the Zepyhr 2.3 release. To build, please install Zephyr and compile via west. Note that Platform.io does not support Zephyr 2.3 rc / Zepyhr master at the current time. ## Features -* Code sends out and receives exposure beacons - * Rolling, encrypted, anonymous beacons as specified by Google and Apple for Covid Contact Tracing +* Code sends out and receives exposure beacons as specified by Google and Apple for Covid Contact Tracing + * Rolling, encrypted, anonymous beacons * Compatible with Apple iOS and Android phones + * with rolling proximity identifiers and encrypted metadata + * proximity identifiers and BLE addresses change every 10 minutes +* stores own keys for 14 days +* stores contacts with more than 5 minute duration * Upon infection upload keys to a public database * Retrieve keys of infections from database - * to check for exposure -* Based on Zephyr OS and NRF52 BLE SOCs + * computes rolling proximity identifiers + * compares to stored contacts to check for exposure **Note: this is a proof of concept and not ready for production** From 98092de1e8140734bda9be6dfcf764930defd8f5 Mon Sep 17 00:00:00 2001 From: Olaf Landsiedel Date: Mon, 8 Jun 2020 11:45:56 +0200 Subject: [PATCH 7/8] disabled test mode disabled test mode: now keys change every 10 minutes (600 seconds) --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e77c0fa..ec9b378 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,4 +10,4 @@ zephyr_include_directories(${APPLICATION_SOURCE_DIR}/src/tls_config) #use for testing only, will update keys every X seconds, default is 600 #add_definitions(-DEN_INTERVAL_LENGTH=11) -add_definitions(-DEN_INTERVAL_LENGTH=1) +#add_definitions(-DEN_INTERVAL_LENGTH=1) From 9564358ee524197970e05ada9c87cd00ed16e97a Mon Sep 17 00:00:00 2001 From: Olaf Landsiedel Date: Mon, 8 Jun 2020 14:00:38 +0200 Subject: [PATCH 8/8] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index bdd7e62..7d8e24a 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,7 @@ We use Zepyhr master as we need a newer mbed TLS as the ones that ships with Zep * Retrieve keys of infections from database * computes rolling proximity identifiers * compares to stored contacts to check for exposure +* Note: as we do not use the flash for key storage, this only works on nrf52480 or you can just store a very small number of keys **Note: this is a proof of concept and not ready for production**