Skip to content

Commit 616ac88

Browse files
committed
chore: Merge branch 'release/v10.0.1'
2 parents 8e7166a + 38ca341 commit 616ac88

16 files changed

Lines changed: 3652 additions & 77 deletions

File tree

.github/workflows/ci.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
subcommands: |
1717
python3 scripts/download_wasm.py
1818
npm install
19-
kms-version: 4.13.0
19+
kms-version: 4.19.3
2020
findex-cloud-version: 0.3.1
2121

2222
lint:
@@ -34,10 +34,7 @@ jobs:
3434
with:
3535
subcommands: |
3636
npm test
37-
kms-version: 4.13.0
38-
kms-jwe-key:
39-
'{"kty": "OKP","d": "MPEVJwdRqGM_qhJOUb5hR0Xr9EvwMLZGnkf-eDj5fU8","use": "enc","crv": "X25519","kid": "DX3GC+Fx3etxfRJValQNbqaB0gs=","x":
40-
"gdF-1TtAjsFqNWr9nwhGUlFG38qrDUqYgcILgtYrpTY","alg": "ECDH-ES"}'
37+
kms-version: 4.19.3
4138
findex-cloud-version: 0.3.1
4239
regression_files: |
4340
./node_modules/non_regression_vector.json
@@ -49,7 +46,8 @@ jobs:
4946
uses: Cosmian/reusable_workflows/.github/workflows/cloudproof_kms_js.yml@develop
5047
with:
5148
branch: develop
52-
kms-version: ghcr.io/cosmian/kms:4.13.0
49+
kms-version: ghcr.io/cosmian/kms:4.19.3
50+
fips: false
5351

5452
cloudproof_java:
5553
needs: test
@@ -60,12 +58,13 @@ jobs:
6058
extension: so
6159
destination: linux-x86-64
6260
os: ubuntu-20.04
63-
kms-version: ghcr.io/cosmian/kms:4.13.0
61+
kms-version: ghcr.io/cosmian/kms:4.19.3
6462
findex-cloud-version: 0.3.1
6563
copy_fresh_build: false
6664
copy_regression_files: |
6765
cp ./cloudproof_js/non_regression_vector.json src/test/resources/cover_crypt/non_regression/js_non_regression_vector.json
6866
cp ./cloudproof_js/sqlite.db src/test/resources/findex/non_regression/js_sqlite.db
67+
fips: false
6968

7069
cloudproof_python:
7170
needs:
@@ -74,12 +73,13 @@ jobs:
7473
with:
7574
branch: develop
7675
target: x86_64-unknown-linux-gnu
77-
kms-version: ghcr.io/cosmian/kms:4.13.0
76+
kms-version: ghcr.io/cosmian/kms:4.19.3
7877
findex-cloud-version: 0.3.1
7978
copy_fresh_build: false
8079
copy_regression_files: |
8180
cp ./cloudproof_js/non_regression_vector.json tests/data/cover_crypt/non_regression/js_non_regression_vector.json
8281
cp ./cloudproof_js/sqlite.db tests/data/findex/non_regression/js_sqlite.db
82+
fips: false
8383

8484
cloudproof_flutter:
8585
needs:
@@ -107,7 +107,7 @@ jobs:
107107
sleep 5
108108
cd ../test
109109
node chrome.mjs http://localhost:8090 http://kms:9998
110-
kms-version: 4.13.0
110+
kms-version: 4.19.3
111111
findex-cloud-version: 0.3.1
112112

113113
example_reactjs:
@@ -123,7 +123,7 @@ jobs:
123123
sleep 5
124124
cd ../test
125125
node chrome.mjs http://localhost:8090 http://kms:9998
126-
kms-version: 4.13.0
126+
kms-version: 4.19.3
127127
findex-cloud-version: 0.3.1
128128

129129
example_browser:
@@ -137,7 +137,7 @@ jobs:
137137
python3 -m http.server &
138138
sleep 3
139139
node test.mjs
140-
kms-version: 4.13.0
140+
kms-version: 4.19.3
141141
findex-cloud-version: 0.3.1
142142

143143
example_webpack:
@@ -159,7 +159,7 @@ jobs:
159159
cd examples/nodejs
160160
npm install
161161
node test.mjs 10
162-
kms-version: 4.13.0
162+
kms-version: 4.19.3
163163
findex-cloud-version: 0.3.1
164164
secrets: inherit
165165

.github/workflows/js_in_docker.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@ on:
1010
kms-version:
1111
required: true
1212
type: string
13-
kms-jwe-key:
14-
required: false
15-
type: string
16-
default: ""
1713
findex-cloud-version:
1814
required: true
1915
type: string
@@ -30,8 +26,6 @@ jobs:
3026
services:
3127
kms:
3228
image: ghcr.io/cosmian/kms:${{ inputs.kms-version }}
33-
env:
34-
JWK_PRIVATE_KEY: ${{ inputs.kms-jwe-key }}
3529

3630
findex_cloud:
3731
image: ghcr.io/cosmian/findex_cloud:${{ inputs.findex-cloud-version }}

.github/workflows/js_in_docker_with_auth0.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@ on:
1010
kms-version:
1111
required: true
1212
type: string
13-
kms-jwe-key:
14-
required: false
15-
type: string
16-
default: ""
1713
findex-cloud-version:
1814
required: true
1915
type: string
@@ -31,7 +27,6 @@ jobs:
3127
kms:
3228
image: ghcr.io/cosmian/kms:${{ inputs.kms-version }}
3329
env:
34-
JWK_PRIVATE_KEY: ${{ inputs.kms-jwe-key }}
3530
KMS_JWT_ISSUER_URI: https://kms-cosmian.eu.auth0.com/
3631

3732
findex_cloud:
@@ -68,7 +63,6 @@ jobs:
6863
KMS_HOST: kms
6964
FINDEX_CLOUD_HOST: findex_cloud
7065
AUTH0_TOKEN_1: ${{ secrets.AUTH0_TOKEN_1 }}
71-
AUTH0_TOKEN_2: ${{ secrets.AUTH0_TOKEN_2 }}
7266

7367
- name: Upload non-regression test vectors
7468
if: inputs.regression_files != ''

.vscode/settings.json

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,5 @@
33
"editor.defaultFormatter": "ms-python.autopep8"
44
},
55
"python.formatting.provider": "none",
6-
"cSpell.words": ["Findex", "uids", "Uids"],
7-
"workbench.colorCustomizations": {
8-
"activityBar.background": "#02342B",
9-
"titleBar.activeBackground": "#03493C",
10-
"titleBar.activeForeground": "#E9FEFA"
11-
}
6+
"cSpell.words": ["Findex", "uids", "Uids"]
127
}

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,22 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## [10.0.1] - 2024-11-20
6+
7+
### 🐛 Bug Fixes
8+
9+
- Update better-sql3 to 11.5.0, bump package json version
10+
11+
### 📚 Documentation
12+
13+
- Update versions correspondence in README
14+
15+
### ⚙️ Miscellaneous Tasks
16+
17+
- Fix auth0 pb
18+
- Bump KMS version to 4.19.3
19+
- Remove JWE support (since KMS does not support it anymore)
20+
521
## [10.0.0] - 2024-03-13
622

723
### Features

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ The library provides a Typescript-friendly API to the **Cloudproof Encryption**
1111
- [Getting started](#getting-started)
1212
- [Using in Javascript projects](#using-in-javascript-projects)
1313
- [Versions Correspondence](#versions-correspondence)
14+
- [Renew Auth0 access token](#renew-auth0-access-token)
1415

1516
<!-- tocstop -->
1617

@@ -75,3 +76,9 @@ npm i cloudproof_js
7576
| 9.5.1 | 2.3.0 | 4.9.1 |
7677
| 9.6.0 | 2.4.0 | 4.10.0 |
7778
| 9.7.0 | 2.4.0 | 4.11.3 |
79+
| 10.0.0 | 3.0.0 | 4.13.0 |
80+
| 10.0.1 | 3.0.0 | 4.19.3 |
81+
82+
## Renew Auth0 access token
83+
84+
Refer to repository <https://github.com/Cosmian/kms-ci-token>

docker-compose.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,13 @@
11
---
2-
# docker-compose.yml
3-
4-
version: "3"
52
services:
63
kms:
74
container_name: kms
8-
image: ghcr.io/cosmian/kms:4.13.0
5+
image: ghcr.io/cosmian/kms:4.19.3
96
ports:
107
- 9998:9998
11-
environment:
12-
JWK_PRIVATE_KEY:
13-
'{"kty": "OKP","d": "MPEVJwdRqGM_qhJOUb5hR0Xr9EvwMLZGnkf-eDj5fU8","use": "enc","crv": "X25519","kid": "DX3GC+Fx3etxfRJValQNbqaB0gs=","x":
14-
"gdF-1TtAjsFqNWr9nwhGUlFG38qrDUqYgcILgtYrpTY","alg": "ECDH-ES"}'
15-
# To test in local with Auth0 authentication
16-
# KMS_JWT_ISSUER_URI: https://kms-cosmian.eu.auth0.com/
8+
# To test in local with Auth0 authentication
9+
# environment:
10+
# KMS_JWT_ISSUER_URI: https://kms-cosmian.eu.auth0.com/
1711

1812
findex_cloud:
1913
image: ghcr.io/cosmian/findex_cloud:0.3.1

examples/browser/package-lock.json

Lines changed: 11 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/full_text_search/package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/nodejs/package-lock.json

Lines changed: 6 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)