jaredwray / keyv

Simple key-value storage with support for multiple backends
https://keyv.org
MIT License
2.56k stars 139 forks source link

SSL/TLS Support for Redis Connections #1018

Closed 100tomer closed 1 week ago

100tomer commented 6 months ago

Is your feature request related to a problem? Please describe. The package currently lacks support for SSL/TLS encrypted Redis connections, which is crucial for secure data transmission, especially given that Redis has supported SSL/TLS since version 6.0.

Describe the solution you'd like I propose adding SSL/TLS connection support, including:

  1. An enablement option for SSL/TLS.
  2. Configuration for SSL/TLS parameters (CA certificate, client certificate/key).
  3. Server certificate verification.
  4. Guidance in the documentation on setting up secure connections.
jaredwray commented 5 months ago

@100tomer thanks for such a thorough feature request 🎉

Agreed we should add SSL/TLS support. Whats your thoughts if we should wait as there is plans later this year to move to the standard redis adapter.

100tomer commented 5 months ago

@100tomer thanks for such a thorough feature request 🎉

Agreed we should add SSL/TLS support. Whats your thoughts if we should wait as there is plans later this year to move to the standard redis adapter.

I really love this package so I would love if it can be added soon. Currently it's not stopping me from continue creating in my new OpenSource platform but it soon will (when I'll publish it)

jaredwray commented 4 months ago

@100tomer - thanks and I think the first thing is to move to the standard redis adapter instead of ioredis. That is pretty significant work and we might be able to do this after the v5 updates and moving to ESM.

jaredwray commented 1 week ago

@100tomer - we are starting on this work and will follow it #1119