Jan Dittberner
3f4e005cf3
- add a cats.authentication.ClientCertificateBackend authentication backend implementation that extracts the used fields from a client certificate - configure the AUTHENTICATION_BACKENDS setting to use the ClientCertificateBackend - add cryptography dependency to parse certificate data - add gunicorn as production dependency - add a development configuration for Gunicorn - document how to pass client certificate information via nginx reverse proxy - add a certificate_login view and a basic home_page view and add corresponding URL patterns - ignore PEM encoded files and temporary gunicorn files
28 lines
661 B
TOML
28 lines
661 B
TOML
[tool.poetry]
|
|
name = "django-cats"
|
|
version = "0.1.0"
|
|
description = "Django implementation of the CAcert Assurer Training System - CATS"
|
|
authors = ["Jan Dittberner <jandd@cacert.org>"]
|
|
license = "GPLv3+"
|
|
readme = "README.md"
|
|
package-mode = false
|
|
|
|
[tool.poetry.dependencies]
|
|
python = "^3.9"
|
|
Django = "^4.2.0"
|
|
environs = {extras = ["django"], version = "^11.0.0"}
|
|
mysqlclient = "^2.2.4"
|
|
cryptography = "^43.0.1"
|
|
|
|
[tool.poetry.group.dev.dependencies]
|
|
django-debug-toolbar = "^4.4.6"
|
|
black = "^24.8.0"
|
|
isort = "^5.13.2"
|
|
|
|
|
|
[tool.poetry.group.prod.dependencies]
|
|
gunicorn = "^23.0.0"
|
|
|
|
[build-system]
|
|
requires = ["poetry-core"]
|
|
build-backend = "poetry.core.masonry.api"
|