-
Notifications
You must be signed in to change notification settings - Fork 630
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
crane auth get keys have changed to lowercase.
To Reproduce
$ crane auth login myregistry -u username -p password
2026/02/20 09:49:39 logged in via /home/xxx/.docker/config.json
$ crane auth get myregistry
{"username":"username","secret":"password"}
Expected behavior
$ crane auth get myregistry
{"Username":"username","Secret":"password"}
Expected keys to be Username and Secret, but were username and secret.
Additional context
This is a breaking change and divergence from other cli tools e.g. docker-credential-desktop.
crane version: 0.21.0- Relevant commit: d5817d5
go-containerregistry/cmd/crane/cmd/auth.go
Lines 117 to 120 in d5817d5
type credentials struct { Username string `json:"username,omitempty"` Secret string `json:"secret,omitempty"` }
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working