fluent / fluent/fluent-logger-python

Can this package be used with TLS?

未关闭
#144 3 条评论 3 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
457
派生
138
PR 合并指标
30 天内没有已合并 PR

描述

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?

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。