Can this package be used with TLS?

Open
#144 3 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
networking

Research direction

Start at the sender constructor and the socket-creation path, using Python's SSLContext.wrap_socket documentation and the linked Fluentd TLS configuration as context. Determine how TLS should be enabled and configured without changing existing connections. Done means the package can securely connect to a remote TLS-enabled Fluentd instance, with coverage for the new behavior.

Written by the indexing model from the issue text.

Description

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.

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.

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

Dominant language
Python
Stars
457
Forks
138
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from fluent/fluent-logger-python

All issues in fluent/fluent-logger-python

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.