fluent / fluent/fluent-logger-python

Can this package be used with TLS?

Đang mở
#144 3 bình luận 3 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
457
Fork
138
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Hi,
I'm using fluent-logger with a fluentd instance on a remote host and would like to secure the data transfer using TLS.

On the fluentd side, I follow the instructions set [here](https://docs.fluentd.org/v1.0/articles/in_forward#how-to-enable-tls-encryption).

IIUC, there's no support for TLS/SSL on this package yet, and in order to get that, we need to wrap the socket when needed (e.g., given a parameter in the sender's constructor) as described [here](https://docs.python.org/3/library/ssl.html#ssl.SSLContext.wrap_socket).

Please tell me if I'm getting something wrong here, and if not, may I submit a pull request with this functionality?

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.