Skip to content

Commit

Permalink
Merge branch 'feature/rpki-commons-1.39.1' into 'main'
Browse files Browse the repository at this point in the history
Use rpki commons 1.39.1

See merge request rpki/rpki-ta-0!135
  • Loading branch information
ties committed Apr 15, 2024
2 parents 832643f + d99dec2 commit 2fc1857
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ Changelog
---------

### main
* rpki-commons 1.39.1
* Updated gradle plugins (to fix build warnings)
* Updated gradle version in gradle wrapper

### v0.4.0
* **hotfix** fix bug in manifest this/nextUpdate calculation
Expand Down
8 changes: 4 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
plugins {
id 'application'
id 'jacoco'
id 'io.freefair.lombok' version '8.1.0'
id 'org.sonarqube' version '3.5.0.2730'
id 'com.google.cloud.tools.jib' version '3.3.2'
id 'io.freefair.lombok' version '8.6'
id 'org.sonarqube' version '5.0.0.4638'
id 'com.google.cloud.tools.jib' version '3.4.2'
}

repositories {
Expand Down Expand Up @@ -35,7 +35,7 @@ version = ENV['RELEASE_VERSION'] ?: gitRef()
description = 'RIPE NCC Trust Anchor'

dependencies {
implementation 'net.ripe.rpki:rpki-commons:1.35'
implementation 'net.ripe.rpki:rpki-commons:1.39.1'
implementation 'commons-cli:commons-cli:1.6.0'
implementation 'org.slf4j:slf4j-api:2.0.7'
runtimeOnly 'org.slf4j:slf4j-simple:2.0.7'
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
6 changes: 2 additions & 4 deletions src/main/java/net/ripe/rpki/ta/TA.java
Original file line number Diff line number Diff line change
Expand Up @@ -454,8 +454,7 @@ private X509Crl createNewCrl(final SignCtx signCtx) {
.withAuthorityKeyIdentifier(signCtx.keyPair.getPublic())
.withNumber(nextCrlNumber(signCtx.taState))
.withIssuerDN(issuer)
.withThisUpdateTime(validityPeriod.getNotValidBefore())
.withNextUpdateTime(validityPeriod.getNotValidAfter())
.withValidityPeriod(validityPeriod)
.withSignatureProvider(getSignatureProvider());
fillRevokedObjects(builder, signCtx.taState.getSignedProductionCertificates());
fillRevokedObjects(builder, signCtx.taState.getPreviousTaCertificates());
Expand Down Expand Up @@ -548,8 +547,7 @@ private ManifestCmsBuilder createBasicManifestBuilder(X509ResourceCertificate ee
ValidityPeriod validityPeriod = validityPeriods.manifest();
return new ManifestCmsBuilder().
withCertificate(eeCertificate)
.withThisUpdateTime(validityPeriod.getNotValidBefore())
.withNextUpdateTime(validityPeriod.getNotValidAfter())
.withValidityPeriod(validityPeriod)
.withManifestNumber(nextManifestNumber(signCtx.taState))
.withSignatureProvider(getSignatureProvider());
}
Expand Down

0 comments on commit 2fc1857

Please sign in to comment.