---
title: "Security"
description: "181 posts about Security, summarised, each linking to the original."
---

# Security
> 181 posts about Security, summarised, each linking to the original.

## Articles

### [How to Secure the Celery Task Queue with Fernet](https://yomu.fyi/post/how-to-secure-the-celery-task-queue-with-fernet.md)
- Company: [Heroku](https://yomu.fyi/company/heroku.md)
- Author: David Gouldin
- Published: Sep 15, 2014
- Type: Problem & solution

Celery jobs sent through a Redis broker can expose their contents because Redis does not currently support SSL and Heroku add-ons communicate over the public web. The proposed solution encrypts jobs before they travel between dynos and Redis by wrapping Kombu’s default serializers with Fernet symmetric encryption from Cryptography. The open-source kombu-fernet-serializers library supplies these encrypted serializers through Setuptools entry points; setup requires adding the package, storing a Fernet key in KOMBU\_FERNET\_KEY, and configuring Celery to use fernet\_json with MIMETYPE in CELERY\_ACCEPT\_CONTENT. The example creates a Celery app with REDIS\_URL as its broker and uses the serializer settings, retaining Redis’s straightforward configuration while addressing sensitive information in transit.


[Newer posts](https://yomu.fyi/topic/security/page/9.md)
