This package browser is in early development. Mind the rough edges.

python-asgi-csrf 0.11

ASGI middleware for protecting against CSRF attacks

This Asynchronous Server Gateway Interface (ASGI) middleware protects against Cross-site request forgery (CSRF) attacks. It implements the Double Submit Cookie pattern, where a cookie is set that is then compared to a csrftoken hidden form field or a x-csrftoken HTTP header.

Installation

Install python-asgi-csrf 0.11 as follows:

guix install python-asgi-csrf@0.11

Or install the latest version:

guix install python-asgi-csrf

You can also install packages in augmented, pure or containerized environments for development or simply to try them out without polluting your user profile. See the guix shell documentation for more information.