Skip to content

Commit 33b63a9

Browse files
author
Olesja Aarma
committed
RM-4611: fix MID support
1 parent fdf39b7 commit 33b63a9

File tree

6 files changed

+8
-11
lines changed

6 files changed

+8
-11
lines changed

cdoc2-cli/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
</parent>
99

1010
<artifactId>cdoc2-cli</artifactId>
11-
<version>SID-1.5.1</version>
11+
<version>SID-1.5.2</version>
1212
<description>Command line utility to create/process CDOC2 files</description>
1313

1414
<properties>
@@ -42,7 +42,7 @@
4242
<dependency>
4343
<groupId>ee.cyber.cdoc2</groupId>
4444
<artifactId>cdoc2-lib</artifactId>
45-
<version>SID-2.1.0-SNAPSHOT</version>
45+
<version>SID-2.1.1-SNAPSHOT</version>
4646
<exclusions>
4747
<exclusion>
4848
<groupId>ch.qos.logback</groupId>

cdoc2-lib/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<modelVersion>4.0.0</modelVersion>
99

1010
<artifactId>cdoc2-lib</artifactId>
11-
<version>SID-2.1.0-SNAPSHOT</version>
11+
<version>SID-2.1.1-SNAPSHOT</version>
1212
<description>CDOC2 creation and processing library</description>
1313

1414
<properties>
@@ -32,7 +32,7 @@
3232
<dependency>
3333
<groupId>ee.cyber.cdoc2</groupId>
3434
<artifactId>cdoc2-auth-token</artifactId>
35-
<version>0.3.1-SNAPSHOT</version>
35+
<version>0.3.2-SNAPSHOT</version>
3636
</dependency>
3737

3838
<dependency>

cdoc2-lib/src/main/java/ee/cyber/cdoc2/crypto/jwt/SidMidAuthTokenCreator.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
import java.util.LinkedList;
1717
import java.util.List;
1818

19+
1920
/**
2021
* Class to create key-shares auth token
2122
*/
@@ -57,7 +58,6 @@ public SidMidAuthTokenCreator(
5758
}
5859
}
5960

60-
/**
6161
/**
6262
* Create token (sdjwt) for share id
6363
* @param shareID shareId from signed shareAccessData
@@ -132,4 +132,5 @@ ShareAccessData createNonce(KeyShareUri shareUri, KeyShareClientFactory fac) thr
132132

133133
return new ShareAccessData(shareUri.serverBaseUrl(), shareUri.shareId(), nonce);
134134
}
135+
135136
}

cdoc2-lib/src/test/java/ee/cyber/cdoc2/mobileid/MIDAuthJWSSignerTest.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,6 @@ void testGenerateJWTWithMIDSignature() throws JOSEException, ParseException {
4242
String phoneNumber = MIDTestData.OK_1_PHONE_NUMBER;
4343
String identityCode = MIDTestData.OK_1_IDENTITY_CODE;
4444

45-
// String phoneNumber = MIDTestData.OK_2_PHONE_NUMBER;
46-
// String identityCode = MIDTestData.OK_2_IDENTITY_CODE;
47-
4845
EtsiIdentifier etsiIdentifier = new EtsiIdentifier("etsi/PNOEE-" + identityCode);
4946

5047
MIDAuthJWSSigner midJWSSigner = new MIDAuthJWSSigner(mobileIdClient, etsiIdentifier, phoneNumber);

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
<exec-maven-plugin.version>3.4.1</exec-maven-plugin.version>
3030
<maven-shade-plugin.version>3.6.0</maven-shade-plugin.version>
3131
<maven-checkstyle-plugin.version>3.5.0</maven-checkstyle-plugin.version>
32-
<bouncycastle.version>1.78.1</bouncycastle.version>
32+
<bouncycastle.version>1.80</bouncycastle.version>
3333
<spring-boot.version>3.3.3</spring-boot.version>
3434
<spring.version>6.1.6</spring.version>
3535
</properties>

test/config/shares-server/.env.local

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,4 @@
99
DOCKER_REGISTRY=ghcr.io
1010
DOCKER_REPOSITORY=open-eid
1111

12-
# latest is not supported, must be exact version
13-
SHARES_SERVER_VERSION=0.4.0-SNAPSHOT
12+
SHARES_SERVER_VERSION=latest

0 commit comments

Comments
 (0)