Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Authentication with anaconda.org does not seem to work properly. #1409

Open
jorgenriseth opened this issue Feb 7, 2025 · 0 comments
Open

Comments

@jorgenriseth
Copy link

Version: rattler-build 0.35.9
(same issue)

I'm having trouble with authentication when attempting to upload to my personal anaconda.org channel.

I attempt to login with:

$ rattler-build auth login --conda-token <token> anaconda.org
Authenticating with *.anaconda.org

followed by:

$ rattler-build upload anaconda --owner <username> mypackage-0.1.0-phhbf21a9e_0.conda
Error: 
  × No anaconda.org api key was given and no token were found in the keychain / auth file. Please create a token on anaconda.org

It works when I provide the token directly.

$ rattler-build upload anaconda --owner <username> --api-key <token> mypackage-0.1.0-phhbf21a9e_0.conda

Since it was not obvious to me what host to provide for the auth login, I've also tried to use "api.anaconda.org", "conda.anaconda.org", "anaconda", "anaconda.org/" when setting host for rattler-build auth.

I've used Gnome's Seahorse to browse for keyrings, which indicate that the tokens are indeed stored
*.anaconda.org/<username>@rattler:default (keyring v3.6.1)

Is there some obvious thing that I'm doing wrong, or is there an error with the authentication?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant