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

misc: simplify code and change warning to debug #365

Merged
merged 2 commits into from
Oct 4, 2023

Conversation

ruben-arts
Copy link
Collaborator

closes #363

This reduces the way the message used to scream at you, while it is totally normal to not have a keyring on your system.

Still not the best as it might be better to give this warning only once but this should help.

@wolfv
Copy link
Contributor

wolfv commented Oct 4, 2023

Hmm, ideally I think we would show it as a warning once because we end up storing the passwords in clear text which is not great.

@ruben-arts
Copy link
Collaborator Author

@wolfv How would you approach that for this function? We could do a check on generation of the AuthenticationStorage ?

@wolfv
Copy link
Contributor

wolfv commented Oct 4, 2023

Agreed, it should be a warning when storing the token, not when retrieving it. :)

@wolfv wolfv merged commit 475d953 into conda:main Oct 4, 2023
tarunps pushed a commit to tarunps/rattler that referenced this pull request Oct 6, 2023
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

Successfully merging this pull request may close these issues.

Reduce warning messages when using fallback auth storage
3 participants