Attention une mise à jour du service Gitlab va être effectuée le mardi 30 novembre entre 17h30 et 18h00. Cette mise à jour va générer une interruption du service dont nous ne maîtrisons pas complètement la durée mais qui ne devrait pas excéder quelques minutes. Cette mise à jour intermédiaire en version 14.0.12 nous permettra de rapidement pouvoir mettre à votre disposition une version plus récente.

Commit 6ef727f5 authored by Cypres TAC's avatar Cypres TAC
Browse files

update deeplink url base

parent d9e9bebe
Pipeline #232659 passed with stages
in 4 minutes and 13 seconds
......@@ -2,7 +2,7 @@
## Objectives
The QR code of a location/event, dynamic, which must be scanned at the entrance contains an URL ("deep link") structured by a prefix (for example for France: https://tac.gouv.fr/), followed by the 'location Specific Part' coded in base64. This directory gives an example of encoding in C language of the 'location Specific Part' of the QR code according to the [protocol Cléa](https://hal.inria.fr/hal-03146022).
The QR code of a location/event, dynamic, which must be scanned at the entrance contains an URL ("deep link") structured by a prefix (for example for France: https://tac.gouv.fr?v=0#), followed by the 'location Specific Part' coded in base64. This directory gives an example of encoding in C language of the 'location Specific Part' of the QR code according to the [protocol Cléa](https://hal.inria.fr/hal-03146022).
This Proof of Concept can be used as a basis for:
......
......@@ -35,7 +35,7 @@ uint8_t LSP_base64[LSP_BASE64_SIZE];
void display_qrcode(int width, int height)
{
uint8_t content[20 + sizeof(LSP_base64)] = "http://tac.gouv.fr/";
uint8_t content[20 + sizeof(LSP_base64)] = "http://tac.gouv.fr?v=0#";
uint8_t qr[qrcodegen_BUFFER_LEN_MAX];
uint8_t tempBuffer[qrcodegen_BUFFER_LEN_MAX];
bool ok;
......
......@@ -2,7 +2,7 @@
## Objectives
The QR code of a location/event, dynamic, which must be scanned at the entrance contains an URL ("deep link") structured by a prefix (for example for France: https://tac.gouv.fr/), followed by the 'location Specific Part' coded in base64. This directory gives an example of encoding in Java language of the 'location Specific Part' of the QR code according to the [protocol Cléa](https://hal.inria.fr/hal-03146022).
The QR code of a location/event, dynamic, which must be scanned at the entrance contains an URL ("deep link") structured by a prefix (for example for France: https://tac.gouv.fr?v=0#), followed by the 'location Specific Part' coded in base64. This directory gives an example of encoding in Java language of the 'location Specific Part' of the QR code according to the [protocol Cléa](https://hal.inria.fr/hal-03146022).
This Proof of Concept can be used as a basis for:
......
......@@ -16,7 +16,7 @@ import lombok.extern.slf4j.Slf4j;
@Builder
@Slf4j
public class Location {
public static final String COUNTRY_SPECIFIC_PREFIX = "https://tac.gouv.fr/";
public static final String COUNTRY_SPECIFIC_PREFIX = "https://tac.gouv.fr?v=0#";
private String permanentLocationSecretKey;
private String serverAuthorityPublicKey;
private String manualContactTracingAuthorityPublicKey;
......
......@@ -181,7 +181,7 @@ class LocationSpecificPartTest {
location.setPeriodStartTime(periodStartTime);
/* QR-code = "country-specific-prefix" / "Base64(location-specific-part)" */
String qrCode = "https://tac.gouv.fr/" + location.getLocationSpecificPartEncryptedBase64();
String qrCode = "https://tac.gouv.fr?v=0#" + location.getLocationSpecificPartEncryptedBase64();
/* encode Qrcode with default parameters, level L */
BitMatrix bitMatrix = new QRCodeWriter().encode(qrCode, BarcodeFormat.QR_CODE, 200, 200);
......
......@@ -2,7 +2,7 @@
## Objectives
The QR code of a location/event, dynamic, which must be scanned at the entrance contains an URL ("deep link") structured by a prefix (for example for France: https://tac.gouv.fr/), followed by the 'location Specific Part' coded in base64. This directory gives an example of encoding in Java language of the 'location Specific Part' of the QR code according to the [protocol Cléa](https://hal.inria.fr/hal-03146022).
The QR code of a location/event, dynamic, which must be scanned at the entrance contains an URL ("deep link") structured by a prefix (for example for France: https://tac.gouv.fr?v=0#), followed by the 'location Specific Part' coded in base64. This directory gives an example of encoding in Java language of the 'location Specific Part' of the QR code according to the [protocol Cléa](https://hal.inria.fr/hal-03146022).
This Proof of Concept can be used as a basis for:
......
......@@ -12,7 +12,7 @@
/**
* Generate a QR code
* - generate the LSP using the clea.js function: cleaStartNewPeriod
* - generate the Qrcode adding the prefix for France http://tac.gouv.fr/ to LSP
* - generate the Qrcode adding the prefix for France http://tac.gouv.fr?v=0# to LSP
*
*/
async function generateQrcode() {
......@@ -45,7 +45,7 @@
var b64 = await cleaStartNewPeriod(conf);
qrcode.makeCode("http://tac.gouv.fr/" + b64);
qrcode.makeCode("http://tac.gouv.fr?v=0#" + b64);
}
/**
......
......@@ -2,7 +2,7 @@
## Objectives
The QR code of a location/event, dynamic, which must be scanned at the entrance contains a URL ("deep link") structured by a prefix, (for example for France: https://tac.gouv.fr/), followed by the 'location Specific Part' coded in base64. This directory contains tests to demonstrate a cycle of encoding, in C or Java, and decoding, in Java, of a LSP according to the [protocol Cléa](https://hal.inria.fr/hal-03146022).
The QR code of a location/event, dynamic, which must be scanned at the entrance contains a URL ("deep link") structured by a prefix, (for example for France: https://tac.gouv.fr?v=0#), followed by the 'location Specific Part' coded in base64. This directory contains tests to demonstrate a cycle of encoding, in C or Java, and decoding, in Java, of a LSP according to the [protocol Cléa](https://hal.inria.fr/hal-03146022).
This Proof of Concept can be used as a basis for:
......
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