Repository navigation
build(deps): bump secrets-engine/client to v0.2.2 - #14361
Conversation
docker-agent
left a comment
There was a problem hiding this comment.
Assessment: 🟢 APPROVE
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
|
Added a second commit that removes jwtExpiry: compose no longer parses exp out of the access token itself. Docker Desktop's docker-auth store already fills in the claims, expiry included, from the JWT. It does this when saving a Hub credential (enrichHubCredential in pinata's internal/store) and when reading one from the legacy credential helper (mergeTokenPair in docker-auth). Together with the JWT check in client v0.2.1, Claims.ExpiresAt is the only expiry source compose needs. A session without an expiry claim is still reused for sessionTTL. (Comment posted by an AI agent on the author's behalf.) |
|
|
| @@ -1 +1 @@ | |||
| 1.26.9 | |||
| 1.27.2 | |||
There was a problem hiding this comment.
Is go1.27 required for secrets-engine? If not, can we keep it on go1.26?
the Go version in go.mod should stick to MVS (https://research.swtch.com/vgo-mvs), like all other dependencies.
There was a problem hiding this comment.
(at least if go1.27 is an absolute requirement, it should not include a .patch version, or it should be .0)
There was a problem hiding this comment.
downgraded to 1.26.10 on the SDK so this should be good now
a19affd to
4174651
Compare
client v0.2.2 rejects stored Docker Hub access tokens that are not JWTs; GetDefaultSession returns ErrInvalidAccessToken, which wraps ErrNoSession. secrets-engine/x moves to v0.8.5 with it. Both require go >= 1.26.10, which .go-version and the Dockerfile already use, so the go directive moves from 1.26.8 to 1.26.10. Signed-off-by: Alano Terblanche <18033717+Benehiko@users.noreply.github.com>
Docker Desktop's docker-auth store fills in the access-token claims, expiry included, from the JWT when it saves a Hub credential, and when it reads one from the legacy credential helper. secrets-engine/client v0.2.2 rejects tokens that are not JWTs. So compose no longer needs to parse exp out of the token itself. A session without an expiry claim is still reused for sessionTTL. Signed-off-by: Alano Terblanche <18033717+Benehiko@users.noreply.github.com>
4174651 to
93c0742
Compare
docker-agent
left a comment
There was a problem hiding this comment.
What I did
Testing
AI disclosure
Prepared with an AI coding agent (alki, running Claude) and reviewed by the author.