How to Install and Uninstall python3-asgi-csrf Package on Kali Linux

Last updated: December 25,2024

1. Install "python3-asgi-csrf" package

Please follow the step by step instructions below to install python3-asgi-csrf on Kali Linux

$ sudo apt update $ sudo apt install python3-asgi-csrf

2. Uninstall "python3-asgi-csrf" package

In this section, we are going to explain the necessary steps to uninstall python3-asgi-csrf on Kali Linux:

$ sudo apt remove python3-asgi-csrf $ sudo apt autoclean && sudo apt autoremove

3. Information about the python3-asgi-csrf package on Kali Linux

Package: python3-asgi-csrf
Source: asgi-csrf
Version: 0.9-2
Installed-Size: 37
Maintainer: Debian Python Team
Architecture: all
Depends: python3-itsdangerous, python3-multipart, python3:any
Size: 9924
SHA256: 6c0b2cfb43c23d2c74b15230a03ea4448fc6b298656bc043b50b8c582e106b73
SHA1: be08db5a488fe58eadde09721b51a2c4260a1f1c
MD5sum: 7b8bcf4076250ab16126f8df441522bd
Description: ASGI middleware for protecting against CSRF attacks
The asgi-csrf package is a Python library that provides Cross-Site Request
Forgery (CSRF) protection for ASGI (Asynchronous Server Gateway Interface)
applications. It helps secure web applications from CSRF attacks by adding
middleware that validates and protects against unauthorized requests.
.
Features:
.
- Adds CSRF protection to ASGI applications.
- Supports popular ASGI frameworks like FastAPI and Starlette.
- Integrates seamlessly into existing ASGI application pipelines.
- Provides configurable settings for token generation and validation.
- Allows for exclusion of specific routes or URLs from CSRF protection.
- Ensures stateless and secure CSRF protection in asynchronous web
environments.
.
CSRF attacks are a common security concern for web applications, and the
asgi-csrf library aims to provide a straightforward solution for adding
protection to ASGI-based applications, ensuring that users' interactions are
safe and authenticated.
Description-md5:
Homepage: https://github.com/simonw/asgi-csrf
Section: python
Priority: optional
Filename: pool/main/a/asgi-csrf/python3-asgi-csrf_0.9-2_all.deb