Unable to use buf without bsr
geekodour opened this issue · comments
Hrishikesh Barman commented
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
Hrishikesh Barman commented
related #2500
Hrishikesh Barman commented
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!