You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following links point to example code that disables TLS certificate validation. Given that disabling certificate validation is an insecure default that is not meant for production use cases, I would not expect these defaults in the sample code. I would expect example usages of the sarama library to show how to correctly configure TLS or at the very least to have a comment indicating that the settings are insecure and not meant for production.
Description
The following links point to example code that disables TLS certificate validation. Given that disabling certificate validation is an insecure default that is not meant for production use cases, I would not expect these defaults in the sample code. I would expect example usages of the sarama library to show how to correctly configure TLS or at the very least to have a comment indicating that the settings are insecure and not meant for production.
azure-event-hubs-for-kafka/tutorials/oauth/go-sarama/producer/producer.go
Line 67 in b474fab
azure-event-hubs-for-kafka/quickstart/go-sarama-client/producer/sarama-producer.go
Line 71 in b474fab
azure-event-hubs-for-kafka/tutorials/oauth/go-sarama/consumer/consumer.go
Line 92 in b474fab
azure-event-hubs-for-kafka/quickstart/go-sarama-client/consumer/sarama-consumer.go
Line 100 in b474fab
How to reproduce
The issue is an insecure default.
Has it worked previously?
N/A
Checklist
IMPORTANT: We will close issues where the checklist has not been completed or where adequate information has not been provided.
Please provide the relevant information for the following items:
golang sarama
<REPLACE with e.g., 1.1.0>
If this is a question on basic functionality, please verify the following:
$ ping namespace.servicebus.windows.net
returns ~ns-eh2-prod-am3-516.cloudapp.net [13.69.64.0]
)The text was updated successfully, but these errors were encountered: