Skip to content

Commit 3008b2b

Browse files
authored
remove support for Go <= 1.14 (#28)
* remove support for Go <= 1.14 * Add a note to README.md about supported Go versions. * remove travis build as requested by @oxisto * fix my spelling mistakes pointed out by @oxisto * fix another spelling * remove reference to specific Go versions
1 parent 5130b59 commit 3008b2b

File tree

3 files changed

+9
-13
lines changed

3 files changed

+9
-13
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
go: [1.11, 1.12, 1.13, 1.14, 1.15, 1.16]
16+
go: [1.15, 1.16]
1717
steps:
1818
- name: Checkout
1919
uses: actions/checkout@v2

.travis.yml

Lines changed: 0 additions & 11 deletions
This file was deleted.

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,17 @@ A [go](http://www.golang.org) (or 'golang' for search engine friendliness) imple
99

1010
Future releases will be using the `github.com/golang-jwt/jwt` import path and continue the existing versioning scheme of `v3.x.x+incompatible`. Backwards-compatible patches and fixes will be done on the `v3` release branch, where as new build-breaking features will be developed in a `v4` release, possibly including a SIV-style import path.
1111

12-
**SECURITY NOTICE:** Some older versions of Go have a security issue in the crypto/elliptic. Recommendation is to upgrade to at least 1.8.3. See issue [dgrijalva/jwt-go#216](https://github.com/dgrijalva/jwt-go/issues/216) for more detail.
12+
**SECURITY NOTICE:** Some older versions of Go have a security issue in the crypto/elliptic. Recommendation is to upgrade to at least 1.15 See issue [dgrijalva/jwt-go#216](https://github.com/dgrijalva/jwt-go/issues/216) for more detail.
1313

1414
**SECURITY NOTICE:** It's important that you [validate the `alg` presented is what you expect](https://auth0.com/blog/critical-vulnerabilities-in-json-web-token-libraries/). This library attempts to make it easy to do the right thing by requiring key types match the expected alg, but you should take the extra step to verify it in your usage. See the examples provided.
1515

16+
### Supported Go versions
17+
18+
Our support of Go versions is aligned with Go's [version release policy](https://golang.org/doc/devel/release#policy).
19+
So we will support a major version of Go until there are two newer major releases.
20+
We no longer support building jwt-go with unsupported Go versions, as these contain security vulnerabilities
21+
which will not be fixed.
22+
1623
## What the heck is a JWT?
1724

1825
JWT.io has [a great introduction](https://jwt.io/introduction) to JSON Web Tokens.

0 commit comments

Comments
 (0)