-
Notifications
You must be signed in to change notification settings - Fork 153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merge develop-legacy to legacy #1903
Conversation
* Fix `net` runtime problems for lack of glibc * Avoid SEGFAULTs by not trying linking statically * Remove CGO_ENABLED from Amd64 go releaser
Rebase "Avoid trying linking statically (#834)" on develop-legacy
Fix panic "Milestone should never be updated"
* adjusts Hornet for WOTS migration * adds flag to simply attach a milestone on genesis * adds special config flag to disable migration bundle check in broadcastTransactions (default = false, always check) * use URTS for Coordinator * always enable spent addrs when loading up the global snapshot * shifts protocol bit for Sting to prevent peering to non upgraded nodes * use intersection instead of union for protocol compatiblity check * fixes wrong parsing of remote peer handshake msg * removes config_coo.json file * fixes batcher_test.go * excludes white-flag tests from CI
* GoReleaser changes for hornet-legacy * removed unused configs from dockerfiles * updated workflows to handle legacy branches * - Switch version to 0.5.8-rc1 * - Bumped all ports +1 that could interfere with c2 hornet on the same host * - Added legacy line to HORNET logo Co-authored-by: Alexander Sporn <[email protected]>
Move to iotaledger repo
Remove spammer plugin
package jwt | ||
|
||
import ( | ||
"crypto/subtle" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [golangci] reported by reviewdog 🐶
could not import crypto/subtle (-: could not load export data: cannot import "crypto/subtle" (unexpected escape sequence in export data), possibly version skew - reinstall package) (typecheck)
) | ||
|
||
var ( | ||
ErrJWTInvalidClaims = echo.NewHTTPError(http.StatusUnauthorized, "invalid jwt claims") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [golangci] reported by reviewdog 🐶
undeclared name: echo
(typecheck)
return c.compare(c.Subject, expected) | ||
} | ||
|
||
func (j *Auth) Middleware(skipper middleware.Skipper, allow func(c echo.Context, subject string, claims *AuthClaims) bool) echo.MiddlewareFunc { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [golangci] reported by reviewdog 🐶
undeclared name: echo
(typecheck)
} | ||
|
||
func (c *AuthClaims) VerifySubject(expected string) bool { | ||
return c.compare(c.Subject, expected) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [golangci] reported by reviewdog 🐶
c.Subject undefined (type *AuthClaims has no field or method Subject) (typecheck)
SigningKey: j.secret, | ||
} | ||
|
||
return func(next echo.HandlerFunc) echo.HandlerFunc { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [golangci] reported by reviewdog 🐶
undeclared name: echo
(typecheck)
"time" | ||
|
||
"github.com/golang-jwt/jwt" | ||
"github.com/labstack/echo/v4" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [golangci] reported by reviewdog 🐶
"github.com/labstack/echo/v4" imported but not used (typecheck)
} | ||
|
||
var result bool | ||
bndl.Consume(func(object objectstorage.StorableObject) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [golangci] reported by reviewdog 🐶
bndl.Consume undefined (type *CachedBundle has no field or method Consume) (typecheck)
No description provided.