Commit 9008c271 authored by Cypres TAC's avatar Cypres TAC
Browse files

Merge branch 'clea-specifications-current'

parents 4be2435a 9badc8cb
Pipeline #226396 failed with stages
in 1 minute and 50 seconds
......@@ -9,23 +9,23 @@ build:
tags:
- ci
script:
- cd java
- cd CLEA-lib
# build all (for other phase such as docker) but skip tests
- mvn -DskipTests=true package
artifacts:
paths:
- java/target/*.jar
- CLEA-lib/java/target/*.jar
test:
stage: build
tags:
- ci
script:
- cd java
- cd CLEA-lib/java
- mvn verify
artifacts:
paths:
- java/target/*.jar
- CLEA-lib/java/target/*.jar
deploy:
stage: deploy
......@@ -33,7 +33,7 @@ deploy:
- ci
script:
- cd java
- mvn $MAVEN_CLI_OPTS -DskipTests=true -DnexusReleasesUrl=$CI_SERVER_URL/api/v4/projects/$CI_PROJECT_ID/packages/maven -DnexusSnapshotsUrl=$CI_SERVER_URL/api/v4/projects/$CI_PROJECT_ID/packages/maven -s ../.gitlab-ci/ci_settings.xml deploy
- mvn $MAVEN_CLI_OPTS -DskipTests=true -DnexusReleasesUrl=$CI_SERVER_URL/api/v4/projects/$CI_PROJECT_ID/packages/maven -DnexusSnapshotsUrl=$CI_SERVER_URL/api/v4/projects/$CI_PROJECT_ID/packages/maven -s ../../.gitlab-ci/ci_settings.xml deploy
only:
- master
- tags
# Proof of concept for the implementation of dynamic Location Specific Part (LSP) encoding/decoding according to the CLEA protocol
The Cluster Exposure Verification (Cléa) protocol is intended to notify participants of a private event (e.g. wedding or private party) or present in a commercial or public place (e.g. bar, restaurant, sports centre or train) that has become a cluster because a certain number of people present at the same time have been COVID+ tested. The protocol is described in detail in the document [The Cluster Exposure Verification (Cléa) Protocol: Specifications of the Lightweight Version](https://hal.inria.fr/hal-03146022/)
The aim of this development is to demonstrate an implementation of part of this protocol at the level of the dynamic Qr code encoding/decoding specification described in part `3.4- Dynamic QR code generation within the device` of the document.
In particular, it is foreseen that the display of the QR code dynamically is carried out by a specialised device with a microcontroller (example: MICROCHIP microcontroller, PIC32MM0256GPM036-I/M2) with low computing capacities. Moreover, it is planned to encrypt certain data using algorithms (e.g. ECIES-KEM) that are not necessarily found in 'standard off-the-shelf libraries'. This raised at least two points of attention which are illustrated in this implementation.
This repertoire therefore includes
* a C implementation (see [README.md](c/README.md)) of the LSP encoding (base64 data)
* a Java implementation (see [README.md](java/README.md)) of the encoding/decoding of LSP
* Tests to demonstrate a cycle of encoding, in C or Java, and decoding, in Java, of a LSP (see [README.md](test/README.md)).
This work can serve as inspiration for a C implementation dedicated to specialised devices or to more generic devices (PC, tablet, telephone) in Java.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment