Skip to content

Commit

Permalink
chore: bump to KMS 4.4.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Manuthor committed Jul 17, 2023
1 parent 40a53a1 commit 2e74f1a
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 22 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
subcommands: |
python3 scripts/download_wasm.py
npm install
kms-version: 4.4.2
kms-version: 4.4.3
findex-cloud-version: 0.1.0

lint:
Expand All @@ -33,7 +33,7 @@ jobs:
with:
subcommands: |
npm test
kms-version: 4.4.2
kms-version: 4.4.3
findex-cloud-version: 0.1.0
regression_files: |
./node_modules/non_regression_vector.json
Expand All @@ -48,7 +48,7 @@ jobs:
extension: so
destination: linux-x86-64
os: ubuntu-20.04
kms-version: 4.4.2
kms-version: 4.4.3
findex-cloud-version: 0.1.0
copy_fresh_build: false
copy_regression_files: |
Expand All @@ -60,9 +60,9 @@ jobs:
- test
uses: Cosmian/reusable_workflows/.github/workflows/cloudproof_python.yml@develop
with:
branch: v4.0.1
branch: v4.0.2
target: x86_64-unknown-linux-gnu
kms-version: 4.4.2
kms-version: 4.4.3
copy_fresh_build: false
copy_regression_files: |
cp ./cloudproof_js/non_regression_vector.json tests/data/cover_crypt/non_regression/js_non_regression_vector.json
Expand Down Expand Up @@ -93,7 +93,7 @@ jobs:
sleep 5
cd ../test
node chrome.mjs http://localhost:8090 http://kms:9998
kms-version: 4.4.2
kms-version: 4.4.3
findex-cloud-version: 0.1.0

example_reactjs:
Expand All @@ -108,7 +108,7 @@ jobs:
sleep 5
cd ../test
node chrome.mjs http://localhost:8090 http://kms:9998
kms-version: 4.4.2
kms-version: 4.4.3
findex-cloud-version: 0.1.0

example_browser:
Expand All @@ -121,7 +121,7 @@ jobs:
python3 -m http.server &
sleep 3
node test.mjs
kms-version: 4.4.2
kms-version: 4.4.3
findex-cloud-version: 0.1.0

example_webpack:
Expand All @@ -141,7 +141,7 @@ jobs:
cd examples/nodejs
npm install
node test.mjs 10
kms-version: 4.4.2
kms-version: 4.4.3
findex-cloud-version: 0.1.0

example_imdb:
Expand Down
20 changes: 10 additions & 10 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@
exclude: dist|tests/data|tests/findex.test.ts|src/pkg|examples/full_text_search/data
repos:
- repo: https://github.com/compilerla/conventional-pre-commit
rev: v2.1.1
rev: v2.3.0
hooks:
- id: conventional-pre-commit
stages: [commit-msg]
args: [] # optional: list of Conventional Commits types to allow e.g. [feat, fix, ci, chore, test]

- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.0.0-alpha.4
rev: v3.0.0
hooks:
- id: prettier
stages: [commit]
Expand All @@ -26,7 +26,7 @@ repos:
- markdown

- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.32.2
rev: v0.35.0
hooks:
- id: markdownlint-fix
args: [--disable=MD004, --disable=MD013, --disable=MD024, --disable=MD041]
Expand All @@ -39,32 +39,32 @@ repos:
- id: markdown-toc

- repo: https://github.com/jumanjihouse/pre-commit-hook-yamlfmt
rev: 0.2.2
rev: 0.2.3
hooks:
- id: yamlfmt
args: [--mapping, '2', --sequence, '4', --offset, '2']

- repo: https://github.com/crate-ci/typos
rev: v1.12.14
rev: v1.16.1
hooks:
- id: typos

- repo: https://github.com/pre-commit/mirrors-eslint
rev: v8.27.0
rev: v8.40.0
hooks:
- id: eslint
args: [src, --fix]

- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.3.1
rev: v1.5.1
hooks:
- id: forbid-crlf
- id: remove-crlf
- id: forbid-tabs
- id: remove-tabs

- repo: https://github.com/sirosen/texthooks
rev: 0.4.0
rev: 0.5.0
hooks:
- id: fix-smartquotes
- id: fix-ligatures
Expand All @@ -79,12 +79,12 @@ repos:
- id: shellcheck

- repo: https://github.com/Cretezy/flutter-format-pre-commit
rev: 4a1df675bb74dea371c17934933e257e46f8dd98
rev: 35be2187259c39889e2ac1936399b8a1ae6a5a00
hooks:
- id: flutter-format

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
rev: v4.4.0
hooks:
- id: check-added-large-files
- id: check-ast
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,3 +81,4 @@ From the version 8.0.0, `cloudproof_js` depends on [cloudproof_rust](https://git
| 8.0.0 | 1.0.0 |
| 8.1.0 | 1.1.0 |
| 9.0.0 | 2.0.1 |
| 9.1.0 | 2.1.0 |
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ version: '3'
services:
kms:
container_name: kms
image: ghcr.io/cosmian/kms:4.4.2
image: ghcr.io/cosmian/kms:4.4.3
environment:
- KMS_HOSTNAME=0.0.0.0
- KMS_PUBLIC_PATH=/tmp
Expand Down
2 changes: 1 addition & 1 deletion examples/test/chrome.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ async function runTest(name, withGraphs, withKms) {
)

await page.click("#encrypt_user")
await page.waitForSelector("#table_encrypted_users", { timeout: 5000 })
await page.waitForSelector("#table_encrypted_users", { timeout: 10000 })
await assertCountSelector(page, "#table_encrypted_users tbody tr", 10)

await page.click("#index")
Expand Down
1 change: 0 additions & 1 deletion src/anonymization/number.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import {
} from "../pkg/anonymization/cloudproof_anonymization"

/**
The NumberAggregator is a data anonymization technique used to round sensitive measurements
to the desired power of ten.
*/
Expand Down

0 comments on commit 2e74f1a

Please sign in to comment.