Closed simondeziel closed 5 months ago
This deprecated dependency is from zitadel/oidc
.
$ go mod why -m gopkg.in/square/go-jose.v2
# gopkg.in/square/go-jose.v2
github.com/canonical/lxd/client
github.com/zitadel/oidc/v2/pkg/client/rp
gopkg.in/square/go-jose.v2
Is there any blocker that prevents us from moving to zitadel/oidc/v3
?
Is there any blocker that prevents us from moving to
zitadel/oidc/v3
?
This is on my to-do list for this pulse :smiley:
https://github.com/canonical/lxd/pull/13566 is a temporary fix for the security issue but it would be nice to keep this issue around until a proper fix lands.
@markylaing @simondeziel did this get completed by https://github.com/canonical/lxd/pull/13602 ?
Yes, this is done. There is no square/go-jose
dependency anymore and security issue is also closed.
square/go-jose.v2
is affected by https://github.com/canonical/lxd/security/dependabot/13 and the module is deprecated and superseded/replaced bygo-jose/go-jose
:https://github.com/square/go-jose?tab=readme-ov-file:
We already depend on
github.com/go-jose/go-jose/v4
for LXD andgithub.com/go-jose/go-jose/v3
for themini-oidc
.Ideally, we'd probably settle on
github.com/go-jose/go-jose/v4
for all.