This document describes the current stable version of Celery (5.2). For development docs, go here.

celery.security.utils

Utilities used by the message signing serializer.

celery.security.utils.get_digest_algorithm(digest='sha256')[source]

Convert string to hash object of cryptography library.

celery.security.utils.reraise_errors(msg='{0!r}', errors=None)[source]

Context reraising crypto errors as SecurityError.