You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
nerdctl login allows passing a username with a colon, which is forbidden by RFC 7617 #3069
Since we do support Basic Auth, we might want to disallow usernames containing colons entirely, or maybe only when we know the registry implements BA.
I do appreciate that MAYBE the first option would break things for people using usernames with a colon, so, maybe we can instead just warn the user when we see one?
Steps to reproduce the issue
nerdctl login
type in a username with a colon
Describe the results you received and expected
If the registry is using basic-auth, authentication will not work.
We should just not try with something that violates the RFC.
What version of nerdctl are you using?
1.7.6
Are you using a variant of nerdctl? (e.g., Rancher Desktop)
changed the title [-]nerdctl login allows passing a username with a colon, which is forbidden by RC 7617[/-][+]nerdctl login allows passing a username with a colon, which is forbidden by RFC 7617[/+]on Jun 7, 2024
Activity
[-]nerdctl login allows passing a username with a colon, which is forbidden by RC 7617[/-][+]nerdctl login allows passing a username with a colon, which is forbidden by RFC 7617[/+]