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

python-asgi-csrf

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 the latest version of python-asgi-csrf as follows:

guix install python-asgi-csrf

Or install a particular version:

guix install python-asgi-csrf@0.11

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.

Badge code

You can use the following badge to inform users of python-asgi-csrf about the latest version available in Guix.

Example HTML:

<a href='https://packages.guix.gnu.org/packages/python-asgi-csrf'><img src='https://packages.guix.gnu.org/packages/python-asgi-csrf/badges/latest-version.svg' alt='Version in GNU Guix'></a>

Example Markdown:

[![Version in GNU Guix](https://packages.guix.gnu.org/packages/python-asgi-csrf/badges/latest-version.svg)](https://packages.guix.gnu.org/packages/python-asgi-csrf)

Example Org:

[[https://packages.guix.gnu.org/packages/python-asgi-csrf][https://packages.guix.gnu.org/packages/python-asgi-csrf/badges/latest-version.svg]]