69efe31ea0
fix: enable gofumpt instead of gofmt linter in server
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-11-27 07:22:36 +01:00
c0aa3b613b
Use any instead of interface{}
...
Signed-off-by: chenyahui <cyhone@qq.com >
2023-09-17 17:41:58 +08:00
a8a9ebd281
auth: Support for EdDSA JWT algorithm
...
The golang-jwt library supports this already, so supporting it is just a
matter of wiring things up.
Signed-off-by: Tom Wieczorek <twieczorek@mirantis.com >
2023-07-05 11:33:08 +02:00
09db6ec1d7
etcd: Bump golang-jwt/jwt/ version to 4.4.2
...
github.com/golang-jwt/jwt adds go mod support startig from 4.0.0,
and it's backwards-compatible with existing v3.x.y tags.
Signed-off-by: Benjamin Wang <wachao@vmware.com >
2022-09-20 04:06:47 +08:00
63ff6d403d
correct the public key comparison logic
2021-11-25 05:57:55 +08:00
2a151c8982
*: move from io/ioutil to io and os packages
...
The io/ioutil package has been deprecated as of Go 1.16, see
https://golang.org/doc/go1.16#ioutil . This commit replaces the existing
io/ioutil functions with their new definitions in io and os packages.
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com >
2021-10-28 00:05:28 +08:00
c10d50c4b3
Replace github.com/form3tech-oss/jwt-go with https://github.com/golang-jwt/jwt
...
Signed-off-by: Haimantika Mitra <haimantikamitra@gmail.com >
Made required adjustments to the go.sum file
Signed-off-by: Haimantika Mitra <haimantikamitra@gmail.com >
Changed go.sum file in the server directory
Signed-off-by: Haimantika Mitra <haimantikamitra@gmail.com >
Removed the white space
Signed-off-by: Haimantika Mitra <haimantikamitra@gmail.com >
Made required changes
Signed-off-by: Haimantika Mitra <haimantikamitra@gmail.com >
Trying to fix the fails
Signed-off-by: haimantika mitra <haimantikamitra@gmail.com >
Removed error
Signed-off-by: haimantika mitra <haimantikamitra@gmail.com >
Fixed bill-of-materials.json file
Signed-off-by: haimantika mitra <haimantikamitra@gmail.com >
Changed go.mod with recent version
Signed-off-by: haimantika mitra <haimantikamitra@gmail.com >
Newer version changes
Signed-off-by: haimantika mitra <haimantikamitra@gmail.com >
Changes to etcdutl directory
Signed-off-by: haimantika mitra <haimantikamitra@gmail.com >
2021-08-03 13:49:47 +05:30
5b90402082
Switch from dgrijalva/jwt-go to form3tech-oss/jwt-go.
...
dgrijalva/jwt-go has been abandoned and contains several serious
security issues. Most projects are now switching to the form3tech fork.
See https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMDGRIJALVAJWTGO-596515 for
info on the issues.
Signed-off-by: Dan Lorenc <dlorenc@google.com >
2021-01-10 08:04:20 -06:00
4a5e9d1261
server: Move server files to 'server' directory.
...
26 git mv mvcc wal auth etcdserver etcdmain proxy embed/ lease/ server
36 git mv go.mod go.sum server
2020-10-26 12:57:19 +01:00