Skip to content

Commit

Permalink
v28.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Gematik-Entwicklung authored and RStaeber committed Jun 5, 2024
1 parent e4d0b11 commit 902c2d2
Show file tree
Hide file tree
Showing 36 changed files with 1,877 additions and 17,699 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ or use docker compose:

```console
$ mvn clean install -pl idp-server -am -Dskip.unittests -Dskip.inttests
$ export appVersion=27.0.3
$ export appVersion=28.0.1
$ export serverLoglevel=info (default)
$ docker-compose --project-name myidp -f docker-compose-ref.yml up -d
```
Expand Down
7 changes: 7 additions & 0 deletions ReleaseNotes.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# Release 28.0.1

- remove parent pom from testsuite to avoid dependency conflicts
- update dependencies
- updating some test certificates
- remove Aforeporter from testsuite

# Release 27.0.3

- switch to docker base image eclipse-temurin:17-jre
Expand Down
1,243 changes: 516 additions & 727 deletions doc/tokenFlowEgk.html

Large diffs are not rendered by default.

1,225 changes: 507 additions & 718 deletions doc/tokenFlowPs.html

Large diffs are not rendered by default.

1,511 changes: 650 additions & 861 deletions doc/tokenFlowSso.html

Large diffs are not rendered by default.

11 changes: 3 additions & 8 deletions idp-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
<parent>
<groupId>de.gematik.idp</groupId>
<artifactId>idp-global</artifactId>
<version>27.0.3</version>
<version>28.0.1</version>
<relativePath>../pom.xml</relativePath>
</parent>
<groupId>de.gematik.idp</groupId>
<artifactId>idp-client</artifactId>

<version>27.0.3</version>
<version>28.0.1</version>
<packaging>jar</packaging>

<dependencies>
Expand Down Expand Up @@ -45,12 +45,7 @@
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>${version.commons-io}</version>
<scope>test</scope>
</dependency>


<dependency>
<groupId>org.projectlombok</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ void verifyServerSignatureEcc() {
}

@Test
void verifyServerSignatureRsa(@PkiKeyResolver.Filename("rsa") final PkiIdentity rsaIdentity) {
void verifyServerSignatureRsa(@PkiKeyResolver.Filename("R2048") final PkiIdentity rsaIdentity) {
mockIdpClient =
MockIdpClient.builder()
.serverIdentity(rsaIdentity)
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
20 changes: 13 additions & 7 deletions idp-commons/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
<parent>
<groupId>de.gematik.idp</groupId>
<artifactId>idp-global</artifactId>
<version>27.0.3</version>
<version>28.0.1</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>idp-commons</artifactId>

<version>27.0.3</version>
<version>28.0.1</version>

<dependencies>

Expand All @@ -25,16 +25,16 @@
<artifactId>spring-boot-starter-jersey</artifactId>
</dependency>

<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcpkix-jdk18on</artifactId>
</dependency>

<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${version.slf4j-api}</version>
</dependency>

<dependency>
<groupId>com.konghq</groupId>
Expand Down Expand Up @@ -67,6 +67,12 @@
<groupId>org.bitbucket.b_c</groupId>
<artifactId>jose4j</artifactId>
<version>0.9.6</version>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ class AuthenticationChallengeVerifierTest {

@BeforeEach
public void init(
@PkiKeyResolver.Filename("1_C.SGD-HSM.AUT_oid_sgd1_hsm_ecc.p12")
@PkiKeyResolver.Filename("idp_sig.p12")
final PkiIdentity serverIdentity,
@PkiKeyResolver.Filename("109500969_X114428530-2_c.ch.aut-ecc.p12")
final PkiIdentity clientIdentity,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class AuthenticationResponseBuilderTest {

@BeforeEach
public void init(
@PkiKeyResolver.Filename("hsm_ecc") final PkiIdentity serverIdentity,
@PkiKeyResolver.Filename("idp_sig") final PkiIdentity serverIdentity,
@PkiKeyResolver.Filename("c.ch.aut-ecc") final PkiIdentity clientIdentity) {
this.clientIdentity = clientIdentity;
this.serverIdentity = serverIdentity;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ void buildJwkWithX5c() {
CryptoLoader.getCertificateFromPem(
FileUtils.readFileToByteArray(
ResourceReader.getFileFromResourceAsTmpFile(
"1_C.SGD-HSM.AUT_oid_sgd1_hsm_ecc.pem")));
"idp_sig.pem")));
final FederationPubKey federationPubKey = new FederationPubKey();
federationPubKey.setCertificate(Optional.of(certificate));

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class IdTokenBuilderTest {
private PkiIdentity pkiIdentity;

@BeforeEach
public void init(@PkiKeyResolver.Filename("authz_rsa") final PkiIdentity clientIdentity) {
public void init(@PkiKeyResolver.Filename("apo-rsa") final PkiIdentity clientIdentity) {
pkiIdentity = clientIdentity;
final Map<String, Object> bodyClaims = new HashMap<>();
bodyClaims.put(PROFESSION_OID.getJoseName(), OID_VERSICHERTER);
Expand Down Expand Up @@ -158,7 +158,7 @@ void checkIdTokenClaimAtHash() {

@Test
void checkIdTokenWithoutNotExistingUserConsentTokenFromAuthenticationToken(
@PkiKeyResolver.Filename("authz_rsa") final PkiIdentity clientIdentity) {
@PkiKeyResolver.Filename("apo-rsa") final PkiIdentity clientIdentity) {
final Map<String, Object> bodyClaims = new HashMap<>();
bodyClaims.put(ID_NUMBER.getJoseName(), "id_number");
bodyClaims.put(GIVEN_NAME.getJoseName(), "given_name");
Expand Down
Binary file not shown.

This file was deleted.

Binary file not shown.

This file was deleted.

Binary file not shown.
Binary file added idp-commons/src/test/resources/idp_sig.p12
Binary file not shown.
17 changes: 17 additions & 0 deletions idp-commons/src/test/resources/idp_sig.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
-----BEGIN CERTIFICATE-----
MIICsTCCAligAwIBAgIHA61I5ACUjTAKBggqhkjOPQQDAjCBhDELMAkGA1UEBhMC
REUxHzAdBgNVBAoMFmdlbWF0aWsgR21iSCBOT1QtVkFMSUQxMjAwBgNVBAsMKUtv
bXBvbmVudGVuLUNBIGRlciBUZWxlbWF0aWtpbmZyYXN0cnVrdHVyMSAwHgYDVQQD
DBdHRU0uS09NUC1DQTEwIFRFU1QtT05MWTAeFw0yMDA4MDQwMDAwMDBaFw0yNTA4
MDQyMzU5NTlaMEkxCzAJBgNVBAYTAkRFMSYwJAYDVQQKDB1nZW1hdGlrIFRFU1Qt
T05MWSAtIE5PVC1WQUxJRDESMBAGA1UEAwwJSURQIFNpZyAxMFowFAYHKoZIzj0C
AQYJKyQDAwIIAQEHA0IABJZQrG1NWxIB3kz/6Z2zojlkJqN3vJXZ3EZnJ6JXTXw5
ZDFZ5XjwWmtgfomv3VOV7qzI5ycUSJysMWDEu3mqRcajge0wgeowHQYDVR0OBBYE
FJ8DVLAZWT+BlojTD4MT/Na+ES8YMDgGCCsGAQUFBwEBBCwwKjAoBggrBgEFBQcw
AYYcaHR0cDovL2VoY2EuZ2VtYXRpay5kZS9vY3NwLzAMBgNVHRMBAf8EAjAAMCEG
A1UdIAQaMBgwCgYIKoIUAEwEgUswCgYIKoIUAEwEgSMwHwYDVR0jBBgwFoAUKPD4
5qnId8xDRduartc6g6wOD6gwLQYFKyQIAwMEJDAiMCAwHjAcMBowDAwKSURQLURp
ZW5zdDAKBggqghQATASCBDAOBgNVHQ8BAf8EBAMCB4AwCgYIKoZIzj0EAwIDRwAw
RAIgVBPhAwyX8HAVH0O0b3+VazpBAWkQNjkEVRkv+EYX1e8CIFdn4O+nivM+XVi9
xiKK4dW1R7MD334OpOPTFjeEhIVV
-----END CERTIFICATE-----
4 changes: 2 additions & 2 deletions idp-crypto/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
<parent>
<groupId>de.gematik.idp</groupId>
<artifactId>idp-global</artifactId>
<version>27.0.3</version>
<version>28.0.1</version>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>idp-crypto</artifactId>
<version>27.0.3</version>
<version>28.0.1</version>

<dependencies>
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion idp-report/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>de.gematik.idp</groupId>
<artifactId>idp-global</artifactId>
<version>27.0.3</version>
<version>28.0.1</version>
</parent>
<artifactId>idp-report</artifactId>

Expand Down
18 changes: 2 additions & 16 deletions idp-sektoral/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
<parent>
<groupId>de.gematik.idp</groupId>
<artifactId>idp-global</artifactId>
<version>27.0.3</version>
<version>28.0.1</version>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>idp-sektoral</artifactId>
<version>27.0.3</version>
<version>28.0.1</version>
<packaging>jar</packaging>

<properties>
Expand Down Expand Up @@ -48,12 +48,6 @@
<artifactId>idp-commons</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>de.gematik.idp</groupId>
<artifactId>idp-test</artifactId>
<version>${project.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
Expand All @@ -62,18 +56,10 @@
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>
</dependency>
<dependency>
<groupId>com.konghq</groupId>
<artifactId>unirest-java</artifactId>
</dependency>
<dependency>
<groupId>jakarta.validation</groupId>
<artifactId>jakarta.validation-api</artifactId>
</dependency>
<dependency>
<groupId>jakarta.annotation</groupId>
<artifactId>jakarta.annotation-api</artifactId>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-api</artifactId>
Expand Down
37 changes: 8 additions & 29 deletions idp-server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,19 @@
<parent>
<groupId>de.gematik.idp</groupId>
<artifactId>idp-global</artifactId>
<version>27.0.3</version>
<version>28.0.1</version>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>idp-server</artifactId>
<version>27.0.3</version>
<version>28.0.1</version>
<packaging>jar</packaging>

<properties>
<commit_hash>undefined</commit_hash>
<version.jaxb-api>2.4.0-b180830.0359</version.jaxb-api>
<version.jaxb-impl>4.0.5</version.jaxb-impl>
<version.tiger-rbel>3.0.5</version.tiger-rbel>
</properties>

<dependencies>
Expand Down Expand Up @@ -140,33 +141,19 @@
<dependency>
<groupId>org.wiremock</groupId>
<artifactId>wiremock-standalone</artifactId>
<version>3.5.2</version>
<version>3.6.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>commons-validator</groupId>
<artifactId>commons-validator</artifactId>
<version>1.8.0</version>
<version>1.9.0</version>
</dependency>
<!-- https://mvnrepository.com/artifact/de.gematik.test/tiger-rbel -->
<dependency>
<groupId>de.gematik.test</groupId>
<artifactId>tiger-test-lib</artifactId>
<version>${version.tiger}</version>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk15on</artifactId>
</exclusion>
<exclusion>
<groupId>org.bouncycastle</groupId>
<artifactId>bcpkix-jdk15on</artifactId>
</exclusion>
<exclusion>
<groupId>org.bouncycastle</groupId>
<artifactId>bctls-jdk15on</artifactId>
</exclusion>
</exclusions>
<artifactId>tiger-rbel</artifactId>
<version>${version.tiger-rbel}</version>
</dependency>
<dependency>
<groupId>io.rest-assured</groupId>
Expand All @@ -187,14 +174,6 @@
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>jakarta.validation</groupId>
<artifactId>jakarta.validation-api</artifactId>
</dependency>
<dependency>
<groupId>jakarta.annotation</groupId>
<artifactId>jakarta.annotation-api</artifactId>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-api</artifactId>
Expand Down
4 changes: 2 additions & 2 deletions idp-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
<parent>
<groupId>de.gematik.idp</groupId>
<artifactId>idp-global</artifactId>
<version>27.0.3</version>
<version>28.0.1</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>idp-test</artifactId>
<version>27.0.3</version>
<version>28.0.1</version>

<dependencies>
<dependency>
Expand Down
Loading

0 comments on commit 902c2d2

Please sign in to comment.