lericson / pylibmc

A Python wrapper around the libmemcached interface from TangentOrg.
http://sendapatch.se/projects/pylibmc/
BSD 3-Clause "New" or "Revised" License
478 stars 136 forks source link

Add support to TLS #255

Closed moisesguimaraes closed 4 years ago

moisesguimaraes commented 4 years ago

Since version 1.5.13, Memcached supports TLS.

Motivation

At OpenStack, we are considering a switch from python-memcached to pylibmc in our oslo.cache Memcache backend driver. In the next step, we will need to enable TLS in Memcached as data must be encrypted in the wire for our scenario.

I looked over the documentation and couldn't find anything related to TLS support. If there is a way to achieve that, please let us know.

I would like to help with the implementation of this if needed.

lericson commented 4 years ago

This is really not something pylibmc can solve, only libmemcached. If libmemcached exposes the feature, we can implement it.

On 20 Nov 2019, at 14:59, Moisés Guimarães de Medeiros notifications@github.com wrote:

Since version 1.5.13, Memcached supports TLS https://github.com/memcached/memcached/wiki/TLS.

Motivation

At OpenStack https://www.openstack.org/, we are considering a switch from python-memcached to pylibmc in our oslo.cache https://opendev.org/openstack/oslo.cache Memcache backend driver. In the next step, we will need to enable TLS in Memcached as data must be encrypted in the wire for our scenario.

I looked over the documentation and couldn't find anything related to TLS support. If there is a way to achieve that, please let us know.

I would like to help with the implementation of this if needed.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/lericson/pylibmc/issues/255?email_source=notifications&email_token=AAALONOZI6Z7R2JDHQIOHFDQUU7E5A5CNFSM4JPTCID2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4H2XMVBA, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALONPYOSS3D32O2SBTIP3QUU7E5ANCNFSM4JPTCIDQ.

moisesguimaraes commented 4 years ago

Thanks @lericson, I'm trying to push this in many fronts, I'm talking to libmemcached folks already. I'll post here any updates to this matter.