Skip to content

nerdctl login will save whatever credentials is being provided when a registry does NOT ask for authentication #3070

Closed

Description

@apostasie

Description

Title says all

Steps to reproduce the issue

  1. Start a registry with no authentication
  2. nerdctl login against it

Describe the results you received and expected

Bogus credentials have been saved (and will be used moving forward).

It seems to me like a lot of our login issues could be solved with a preflight request.

What version of nerdctl are you using?

1.7.6

Are you using a variant of nerdctl? (e.g., Rancher Desktop)

None

Host information

No response

Activity

  1. apostasie commented on Jul 26, 2024

    @apostasie
    ContributorAuthor

    @Zheaoli I am working on a somewhat large rewrite of overall login code.
    You did flag this as "needs discussion", and I was wondering what is your overall opinion on this, so that I can inform my work with your insight on this.

    Kindly let me know your thoughts.

    Thanks a lot :)

  2. apostasie commented on Jul 30, 2024

    @apostasie
    ContributorAuthor

    To my chagrin, this is actually docker behavior, which is just wrong...

    Closing this as wontfix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions