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

Unable to use buf without bsr #2853

Closed
geekodour opened this issue Mar 30, 2024 · 2 comments
Closed

Unable to use buf without bsr #2853

geekodour opened this issue Mar 30, 2024 · 2 comments

Comments

@geekodour
Copy link

geekodour commented Mar 30, 2024

I was previously using bsr, but now I no longer need to use bsr. So I removed the name key from buf.yml

I run buf generate and I get auth error, should I still be getting this error?

buf generate ./proto

> <project_name>@1.0.0 generate-proto
> buf generate ./proto

Failure: you are not authenticated. Create a new entry in your netrc, using a Buf API Key as the password. If you already have an entry in your netrc, check to see that your token is not expired. For details, visit https://docs.buf.build/bsr/authentication
@geekodour
Copy link
Author

related #2500

@geekodour
Copy link
Author

This was resolved after I removed the following from my .netrc

machine buf.build
  login <user>
  password <pass>

This can be closed now, keeping it open as might count as an improvement to the maintainers. Thanks!

@bufdev bufdev closed this as completed Mar 30, 2024
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

2 participants