diff --git a/data_anonymization_s3/Dockerfile b/data_anonymization_s3/Dockerfile index 1c80f83..c7329c0 100644 --- a/data_anonymization_s3/Dockerfile +++ b/data_anonymization_s3/Dockerfile @@ -1,4 +1,4 @@ -FROM ghcr.io/cosmian/mse-base:20230720095554 +FROM ghcr.io/cosmian/mse-base:20230810124352 RUN . /opt/venv/bin/activate && \ pip3 install "flask==2.2.2" \ diff --git a/data_anonymization_s3/mse.toml b/data_anonymization_s3/mse.toml index 6f10095..c2a04ce 100644 --- a/data_anonymization_s3/mse.toml +++ b/data_anonymization_s3/mse.toml @@ -13,5 +13,5 @@ project = "default" hardware = "4g-eu-001" code = "mse_src" tests = "tests" -docker = "ghcr.io/cosmian/mse-anonymization:20230721121707" +docker = "ghcr.io/cosmian/mse-anonymization:20230810125234" secrets = "secrets.json" diff --git a/digit_recognition/Dockerfile b/digit_recognition/Dockerfile index ae1e036..e5f1862 100644 --- a/digit_recognition/Dockerfile +++ b/digit_recognition/Dockerfile @@ -1,4 +1,4 @@ -FROM ghcr.io/cosmian/mse-base:20230720095554 +FROM ghcr.io/cosmian/mse-base:20230810124352 RUN . /opt/venv/bin/activate && \ pip3 install "Flask==2.2.2" \ diff --git a/digit_recognition/client/index.html b/digit_recognition/client/index.html index 83fbf2b..19b8a0d 100644 --- a/digit_recognition/client/index.html +++ b/digit_recognition/client/index.html @@ -38,7 +38,7 @@

Confidential Digit Recognition

- +
@@ -114,7 +114,7 @@

Confidential Digit Recognition

body: JSON.stringify({ data: data, domain_name: $("#url").val(), - }), + }), headers: { "Content-Type": "application/json", }, @@ -141,4 +141,4 @@

Confidential Digit Recognition

crossorigin="anonymous"> - + \ No newline at end of file diff --git a/digit_recognition/mse.toml b/digit_recognition/mse.toml index c5503f5..ee1163b 100644 --- a/digit_recognition/mse.toml +++ b/digit_recognition/mse.toml @@ -12,4 +12,4 @@ project = "default" hardware = "4g-eu-001" code = "mse_src" tests = "tests" -docker = "ghcr.io/cosmian/mse-tensorflow:20230720104852" +docker = "ghcr.io/cosmian/mse-tensorflow:20230810125236" diff --git a/fastapi_helloworld/Dockerfile b/fastapi_helloworld/Dockerfile index 11f4f90..cc814b7 100644 --- a/fastapi_helloworld/Dockerfile +++ b/fastapi_helloworld/Dockerfile @@ -1,4 +1,4 @@ -FROM ghcr.io/cosmian/mse-base:20230720095554 +FROM ghcr.io/cosmian/mse-base:20230810124352 RUN . /opt/venv/bin/activate && \ pip3 install "fastapi==0.92.0" \ No newline at end of file diff --git a/fastapi_helloworld/mse.toml b/fastapi_helloworld/mse.toml index 73bff86..4a9d1f4 100644 --- a/fastapi_helloworld/mse.toml +++ b/fastapi_helloworld/mse.toml @@ -12,4 +12,4 @@ project = "default" hardware = "4g-eu-001" code = "mse_src" tests = "tests" -docker = "ghcr.io/cosmian/mse-fastapi:20230720104850" \ No newline at end of file +docker = "ghcr.io/cosmian/mse-fastapi:20230810125234" \ No newline at end of file diff --git a/helloworld/Dockerfile b/helloworld/Dockerfile index c97945d..bc2d1af 100644 --- a/helloworld/Dockerfile +++ b/helloworld/Dockerfile @@ -1,4 +1,4 @@ -FROM ghcr.io/cosmian/mse-base:20230720095554 +FROM ghcr.io/cosmian/mse-base:20230810124352 RUN . /opt/venv/bin/activate && \ pip3 install "flask==2.2.2" \ diff --git a/helloworld/mse.toml b/helloworld/mse.toml index ae66319..507e952 100644 --- a/helloworld/mse.toml +++ b/helloworld/mse.toml @@ -12,4 +12,4 @@ project = "default" hardware = "4g-eu-001" code = "mse_src" tests = "tests" -docker = "ghcr.io/cosmian/mse-flask:20230720104849" +docker = "ghcr.io/cosmian/mse-flask:20230810125234" diff --git a/merge_join/Dockerfile b/merge_join/Dockerfile index b42a123..9528857 100644 --- a/merge_join/Dockerfile +++ b/merge_join/Dockerfile @@ -1,4 +1,4 @@ -FROM ghcr.io/cosmian/mse-base:20230720095554 +FROM ghcr.io/cosmian/mse-base:20230810124352 RUN . /opt/venv/bin/activate && \ pip3 install "flask==2.2.2" \ diff --git a/merge_join/client/client.ts b/merge_join/client/client.ts index f848bf5..5b01668 100644 --- a/merge_join/client/client.ts +++ b/merge_join/client/client.ts @@ -8,12 +8,12 @@ If you want to test with MSE: ```console $ # write SGX self-signed certificate to /tmp -$ openssl s_client -showcerts -connect XXX.cosmian.app:443 /dev/null | openssl x509 -outform PEM >/tmp/cert.pem +$ openssl s_client -showcerts -connect XXX.cosmian.io:443 /dev/null | openssl x509 -outform PEM >/tmp/cert.pem $ # install intel-sgx-ra to do remote attestation $ pip3 install intel-sgx-ra $ sgx-ra-verify certificate --path /tmp/cert.pem # SGX Remote Attestation $ # run with self-signed certificate as CA bundle -$ deno run --cert /tmp/cert.pem --allow-net --allow-read --allow-write client.ts https://XXX.cosmian.app +$ deno run --cert /tmp/cert.pem --allow-net --allow-read --allow-write client.ts https://XXX.cosmian.io ``` */ @@ -33,7 +33,7 @@ async function push(url: string, filePath: string) { const f = await Deno.readFile(filePath); const file = new File([f], fileName); const form = new FormData(); - + form.append("file", file, fileName); const response = await fetch(url, { diff --git a/merge_join/mse.toml b/merge_join/mse.toml index bbb8066..a9eec42 100644 --- a/merge_join/mse.toml +++ b/merge_join/mse.toml @@ -12,4 +12,4 @@ project = "default" hardware = "4g-eu-001" code = "mse_src" tests = "tests" -docker = "ghcr.io/cosmian/mse-ds:20230720104849" +docker = "ghcr.io/cosmian/mse-ds:20230810125234" diff --git a/path/Dockerfile b/path/Dockerfile index c97945d..bc2d1af 100644 --- a/path/Dockerfile +++ b/path/Dockerfile @@ -1,4 +1,4 @@ -FROM ghcr.io/cosmian/mse-base:20230720095554 +FROM ghcr.io/cosmian/mse-base:20230810124352 RUN . /opt/venv/bin/activate && \ pip3 install "flask==2.2.2" \ diff --git a/path/mse.toml b/path/mse.toml index 74b6002..d5c2a7c 100644 --- a/path/mse.toml +++ b/path/mse.toml @@ -12,5 +12,5 @@ project = "default" hardware = "4g-eu-001" code = "mse_src" tests = "tests" -docker = "ghcr.io/cosmian/mse-flask:20230720104849" +docker = "ghcr.io/cosmian/mse-flask:20230810125234" secrets = "secrets.json" diff --git a/sentiment_analysis/Dockerfile b/sentiment_analysis/Dockerfile index c023c4f..523be11 100644 --- a/sentiment_analysis/Dockerfile +++ b/sentiment_analysis/Dockerfile @@ -1,4 +1,4 @@ -FROM ghcr.io/cosmian/mse-base:20230720095554 +FROM ghcr.io/cosmian/mse-base:20230810124352 RUN . /opt/venv/bin/activate && \ pip3 install "Flask==2.2.2" \ diff --git a/sentiment_analysis/mse.toml b/sentiment_analysis/mse.toml index 053332c..d77f493 100644 --- a/sentiment_analysis/mse.toml +++ b/sentiment_analysis/mse.toml @@ -12,4 +12,4 @@ project = "default" hardware = "4g-eu-001" code = "mse_src" tests = "tests" -docker = "ghcr.io/cosmian/mse-nlp:20230720104849" +docker = "ghcr.io/cosmian/mse-nlp:20230810125235" diff --git a/yaos_millionaires/Dockerfile b/yaos_millionaires/Dockerfile index c97945d..bc2d1af 100644 --- a/yaos_millionaires/Dockerfile +++ b/yaos_millionaires/Dockerfile @@ -1,4 +1,4 @@ -FROM ghcr.io/cosmian/mse-base:20230720095554 +FROM ghcr.io/cosmian/mse-base:20230810124352 RUN . /opt/venv/bin/activate && \ pip3 install "flask==2.2.2" \ diff --git a/yaos_millionaires/client/client.ts b/yaos_millionaires/client/client.ts index 42e44bd..1d0841c 100644 --- a/yaos_millionaires/client/client.ts +++ b/yaos_millionaires/client/client.ts @@ -8,18 +8,18 @@ If you want to test with MSE: ```console $ # write SGX self-signed certificate to /tmp -$ openssl s_client -showcerts -connect XXX.cosmian.app:443 /dev/null | openssl x509 -outform PEM >/tmp/cert.pem +$ openssl s_client -showcerts -connect XXX.cosmian.io:443 /dev/null | openssl x509 -outform PEM >/tmp/cert.pem $ # install intel-sgx-ra to do remote attestation $ pip3 install intel-sgx-ra $ sgx-ra-verify certificate --path /tmp/cert.pem # SGX Remote Attestation $ # run with self-signed certificate as CA bundle -$ deno run --cert /tmp/cert.pem --allow-net client.ts https://XXX.cosmian.app +$ deno run --cert /tmp/cert.pem --allow-net client.ts https://XXX.cosmian.io ``` */ interface Maximum { - readonly max: number, + readonly max: number, } async function reset(url: string) { diff --git a/yaos_millionaires/mse.toml b/yaos_millionaires/mse.toml index d9b63b0..b08c07c 100644 --- a/yaos_millionaires/mse.toml +++ b/yaos_millionaires/mse.toml @@ -12,4 +12,4 @@ project = "default" hardware = "4g-eu-001" code = "mse_src" tests = "tests" -docker = "ghcr.io/cosmian/mse-flask:20230720104849" +docker = "ghcr.io/cosmian/mse-flask:20230810125234" diff --git a/yaos_millionaires_trust_owner/Dockerfile b/yaos_millionaires_trust_owner/Dockerfile index c97945d..bc2d1af 100644 --- a/yaos_millionaires_trust_owner/Dockerfile +++ b/yaos_millionaires_trust_owner/Dockerfile @@ -1,4 +1,4 @@ -FROM ghcr.io/cosmian/mse-base:20230720095554 +FROM ghcr.io/cosmian/mse-base:20230810124352 RUN . /opt/venv/bin/activate && \ pip3 install "flask==2.2.2" \ diff --git a/yaos_millionaires_trust_owner/README.md b/yaos_millionaires_trust_owner/README.md index 1c28285..b87ef60 100644 --- a/yaos_millionaires_trust_owner/README.md +++ b/yaos_millionaires_trust_owner/README.md @@ -9,7 +9,7 @@ In that scenario, the app owner provides the SSL certificate related to its doma [certificate] private_key="key.pem" certificate="cert.pem" -domain_name="demo.owner.app" +domain_name="demo.owner.io" ``` You need a valid certificate signed by a trust authority if you want your microservice to work in web browsers. @@ -17,10 +17,10 @@ You need a valid certificate signed by a trust authority if you want your micros As an example, you can use ACME protocol and DNS-01 method with Let's Encrypt to get a trusted certificate: ```console -$ sudo certbot certonly --dns-ovh --dns-ovh-credentials ovhapi.conf -d demo.owner.app -m tech@owner.com -n --agree-tos +$ sudo certbot certonly --dns-ovh --dns-ovh-credentials ovhapi.conf -d demo.owner.io -m tech@owner.com -n --agree-tos ``` -Also add a new `CNAME` record in your DNS registry for `demo.owner.app` to `proxy.cosmian.com` prior to the app deployment. +Also add a new `CNAME` record in your DNS registry for `demo.owner.io` to `proxy.cosmian.com` prior to the app deployment. This domain name will be used for `mse deploy`. ## Deploy your application diff --git a/yaos_millionaires_trust_owner/client/index.html b/yaos_millionaires_trust_owner/client/index.html index 6d89a53..127d5b6 100644 --- a/yaos_millionaires_trust_owner/client/index.html +++ b/yaos_millionaires_trust_owner/client/index.html @@ -38,7 +38,7 @@

Confidential Yaos Millionaires

- +
@@ -129,4 +129,4 @@

Confidential Yaos Millionaires

crossorigin="anonymous"> - + \ No newline at end of file diff --git a/yaos_millionaires_trust_owner/mse.toml b/yaos_millionaires_trust_owner/mse.toml index 1ee8924..e3b97ab 100644 --- a/yaos_millionaires_trust_owner/mse.toml +++ b/yaos_millionaires_trust_owner/mse.toml @@ -12,7 +12,7 @@ project = "default" hardware = "4g-eu-001" code = "mse_src" tests = "tests" -docker = "ghcr.io/cosmian/mse-flask:20230720104849" +docker = "ghcr.io/cosmian/mse-flask:20230810125234" [cloud.ssl] domain_name = "demo.owner.com"