You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Tung TRAN (Jira)" <se...@james.apache.org> on 2021/12/15 03:21:00 UTC
[jira] [Updated] (JAMES-3686) Upgrade JWT's lib version
[ https://issues.apache.org/jira/browse/JAMES-3686?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tung TRAN updated JAMES-3686:
-----------------------------
Description:
Why
A long time since the last JJWT's lib version that we use (0.9.1 release from 2018).
3 years old for a crypto lib is not glop.
Current:
{code:java}
<dependency>
<groupId>io.jsonwebtoken</groupId>
<artifactId>jjwt</artifactId>
<version>0.9.1</version>
</dependency>{code}
*How*
Use the new version: https://github.com/jwtk/jjwt
{code:java}
<dependency>
<groupId>io.jsonwebtoken</groupId>
<artifactId>jjwt-api</artifactId>
<version>0.11.2</version>
</dependency>
<dependency>
<groupId>io.jsonwebtoken</groupId>
<artifactId>jjwt-impl</artifactId>
<version>0.11.2</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>io.jsonwebtoken</groupId>
<artifactId>jjwt-jackson</artifactId>
<version>0.11.2</version>
<scope>runtime</scope>
</dependency>{code}
was:
## Why
A long time since the last JJWT's lib version that we use (0.9.1 release from 2018).
3 years old for a crypto lib is not glop.
Current:
```xml
<dependency>
<groupId>io.jsonwebtoken</groupId>
<artifactId>jjwt</artifactId>
<version>0.9.1</version>
</dependency>
```
## How
Use the new version: https://github.com/jwtk/jjwt
```xml
<dependency>
<groupId>io.jsonwebtoken</groupId>
<artifactId>jjwt-api</artifactId>
<version>0.11.2</version>
</dependency>
<dependency>
<groupId>io.jsonwebtoken</groupId>
<artifactId>jjwt-impl</artifactId>
<version>0.11.2</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>io.jsonwebtoken</groupId>
<artifactId>jjwt-jackson</artifactId>
<version>0.11.2</version>
<scope>runtime</scope>
</dependency>
```
> Upgrade JWT's lib version
> --------------------------
>
> Key: JAMES-3686
> URL: https://issues.apache.org/jira/browse/JAMES-3686
> Project: James Server
> Issue Type: Improvement
> Reporter: Tung TRAN
> Priority: Major
>
> Why
> A long time since the last JJWT's lib version that we use (0.9.1 release from 2018).
> 3 years old for a crypto lib is not glop.
> Current:
> {code:java}
> <dependency>
> <groupId>io.jsonwebtoken</groupId>
> <artifactId>jjwt</artifactId>
> <version>0.9.1</version>
> </dependency>{code}
> *How*
> Use the new version: https://github.com/jwtk/jjwt
> {code:java}
> <dependency>
> <groupId>io.jsonwebtoken</groupId>
> <artifactId>jjwt-api</artifactId>
> <version>0.11.2</version>
> </dependency>
> <dependency>
> <groupId>io.jsonwebtoken</groupId>
> <artifactId>jjwt-impl</artifactId>
> <version>0.11.2</version>
> <scope>runtime</scope>
> </dependency>
> <dependency>
> <groupId>io.jsonwebtoken</groupId>
> <artifactId>jjwt-jackson</artifactId>
> <version>0.11.2</version>
> <scope>runtime</scope>
> </dependency>{code}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org