fluent / fluent/fluent-logger-python

Can this package be used with TLS?

Aberta
#144 3 comentários 3 reações 0 responsáveis Ver no GitHub
Linguagem predominante
Python
Estrelas
457
Forks
138
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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?

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Direção de pesquisa

Comece pelo construtor do sender e pelo caminho de criação do socket, usando como contexto a documentação de Python's SSLContext.wrap_socket e a configuração de TLS do Fluentd vinculada. Determine como o TLS deve ser habilitado e configurado sem alterar as conexões existentes. Considera-se concluído quando o pacote puder se conectar com segurança a uma instância remota do Fluentd habilitada para TLS, com cobertura para o novo comportamento.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
python
Domínio
networking
Tipo de issue
Funcionalidade
Dificuldade
4/5
Tempo estimado
3-5 dias
Status de atividade
Estagnada
Clareza
Razoavelmente clara
Facilidade para iniciantes
35/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.