Replies: 2 comments 3 replies
-
What would be a use case for signing tasks? I should think that only trusted code would add tasks to the queue, so there's no point in verifying the authenticity of a task. |
Beta Was this translation helpful? Give feedback.
3 replies
-
Similar comments to this came up during the DEP drafting process: django/deps#86 (comment) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Django has a great built-in in the
django.core.signing.Signer
package. Allow backends to indicate if they support signed tasks, say with.supports_signed_task
or similar? The backend could sign the serialized task during the enqueue action and the backend worker would be responsible for deserializing and checking the signature.Beta Was this translation helpful? Give feedback.
All reactions