update dependency

This commit is contained in:
Looly 2023-11-12 18:24:32 +08:00
parent a21f202ec6
commit 0bb39e8010
6 changed files with 10 additions and 9 deletions

View File

@ -19,7 +19,7 @@
<properties>
<Automatic-Module-Name>cn.hutool.crypto</Automatic-Module-Name>
<!-- versions -->
<bouncycastle.version>1.75</bouncycastle.version>
<bouncycastle.version>1.76</bouncycastle.version>
</properties>
<dependencies>

View File

@ -20,7 +20,8 @@
<Automatic-Module-Name>cn.hutool.jwt</Automatic-Module-Name>
<!-- versions -->
<bouncycastle.version>1.75</bouncycastle.version>
<bouncycastle.version>1.76</bouncycastle.version>
<jjwt.version>0.12.3</jjwt.version>
</properties>
<dependencies>
@ -44,13 +45,13 @@
<dependency>
<groupId>io.jsonwebtoken</groupId>
<artifactId>jjwt-impl</artifactId>
<version>0.11.5</version>
<version>${jjwt.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.jsonwebtoken</groupId>
<artifactId>jjwt-gson</artifactId>
<version>0.11.5</version>
<version>${jjwt.version}</version>
<scope>test</scope>
</dependency>
</dependencies>

View File

@ -30,7 +30,7 @@ public class Issue3205Test {
final String token = jwt.sign();
final boolean signed = Jwts.parserBuilder().setSigningKey(keyPair.getPublic()).build().isSigned(token);
final boolean signed = Jwts.parser().verifyWith(keyPair.getPublic()).build().isSigned(token);
Assert.assertTrue(signed);
}

View File

@ -26,7 +26,7 @@
<log4j2.version>2.20.0</log4j2.version>
<commons-logging.version>1.2</commons-logging.version>
<tinylog.version>1.3.6</tinylog.version>
<tinylog2.version>2.6.1</tinylog2.version>
<tinylog2.version>2.6.2</tinylog2.version>
<!-- 此处固定3.4.x支持到jdk8 -->
<jboss-logging.version>3.4.3.Final</jboss-logging.version>
<logtube.version>0.45.0</logtube.version>

View File

@ -34,7 +34,7 @@
<dependency>
<groupId>org.yaml</groupId>
<artifactId>snakeyaml</artifactId>
<version>2.0</version>
<version>2.2</version>
<optional>true</optional>
</dependency>
</dependencies>

View File

@ -45,8 +45,8 @@
<!-- versions -->
<compile.version>8</compile.version>
<junit.version>5.9.2</junit.version>
<lombok.version>1.18.28</lombok.version>
<junit.version>5.10.1</junit.version>
<lombok.version>1.18.30</lombok.version>
</properties>
<dependencies>