mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2026-05-12 22:10:25 +00:00
golang-jwt/jwt already has a GetSigningMethod() function which we should use to ensure that our signing methods are actually registered. Yet we should also keep our own check against a set of allowed methods such that we do not accidentally accept methods which we are not prepared to support. |
||
|---|---|---|
| .. | ||
| signingkey.go | ||
| signingkey_test.go | ||