mirror of
https://gitee.com/dromara/hutool.git
synced 2025-04-05 17:37:59 +08:00
update dependency
This commit is contained in:
parent
a21f202ec6
commit
0bb39e8010
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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);
|
||||
}
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user