From c3f213f509e77d57955969dce01d0b1126c34b28 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 25 Aug 2023 08:41:19 +0000 Subject: [PATCH 1/2] Bump no.uio.ifi:clearinghouse from 1.1.0 to 1.2.1 Bumps [no.uio.ifi:clearinghouse](https://github.com/elixir-oslo/clearinghouse) from 1.1.0 to 1.2.1. - [Release notes](https://github.com/elixir-oslo/clearinghouse/releases) - [Commits](https://github.com/elixir-oslo/clearinghouse/compare/v1.1.0...v1.2.1) --- updated-dependencies: - dependency-name: no.uio.ifi:clearinghouse dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index e372bf0..a9c0677 100644 --- a/pom.xml +++ b/pom.xml @@ -106,7 +106,7 @@ no.uio.ifi clearinghouse - 1.1.0 + 1.2.1 org.slf4j From 841a9303a18a67323431b1770334fe443138cc8f Mon Sep 17 00:00:00 2001 From: Parisa Tejari Date: Mon, 28 Aug 2023 09:13:29 +0200 Subject: [PATCH 2/2] -add unirest and junit dependencies -increase the key size from 1024 to 2048 in mock_auth --- pom.xml | 17 +++++++++++++++++ test/mock_auth.py | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index a9c0677..1a305af 100644 --- a/pom.xml +++ b/pom.xml @@ -92,6 +92,23 @@ spring-boot-starter-test test + + com.konghq + unirest-java + 3.6.01 + + + com.google.code.gson + gson + + + + + junit + junit + 4.12 + test + no.uio.ifi crypt4gh diff --git a/test/mock_auth.py b/test/mock_auth.py index fb6bfe6..dfd80d7 100644 --- a/test/mock_auth.py +++ b/test/mock_auth.py @@ -9,7 +9,7 @@ def generate_token(): """Generate RSA Key pair to be used to sign token and the JWT Token itself.""" - private_key = rsa.generate_private_key(public_exponent=65537, key_size=1024, backend=default_backend()) + private_key = rsa.generate_private_key(public_exponent=65537, key_size=2048, backend=default_backend()) public_key = private_key.public_key().public_bytes(encoding=serialization.Encoding.PEM, format=serialization.PublicFormat.SubjectPublicKeyInfo) pem = private_key.private_bytes(encoding=serialization.Encoding.PEM,