django-dbsc 0.0.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of django-dbsc might be problematic. Click here for more details.
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
Metadata-Version: 2.3
|
|
2
|
+
Name: django-dbsc
|
|
3
|
+
Version: 0.0.1
|
|
4
|
+
Summary: Device Bound Session Credentials (W3C DBSC) for Django: bind session cookies to a device key.
|
|
5
|
+
Keywords: django,dbsc,device-bound-session-credentials,session,security,cookie-theft
|
|
6
|
+
Author: Frederic Tschannen
|
|
7
|
+
Author-email: Frederic Tschannen <fretscha@umx.net>
|
|
8
|
+
Classifier: Development Status :: 1 - Planning
|
|
9
|
+
Classifier: Framework :: Django
|
|
10
|
+
Classifier: Intended Audience :: Developers
|
|
11
|
+
Classifier: Programming Language :: Python :: 3
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
13
|
+
Classifier: Topic :: Internet :: WWW/HTTP :: Session
|
|
14
|
+
Classifier: Topic :: Security
|
|
15
|
+
Requires-Python: >=3.12
|
|
16
|
+
Project-URL: Specification, https://w3c.github.io/webappsec-dbsc/
|
|
17
|
+
Description-Content-Type: text/markdown
|
|
18
|
+
|
|
19
|
+
# django-dbsc
|
|
20
|
+
|
|
21
|
+
> **Status: planning / pre-alpha.** Not usable yet. Do not install it in production.
|
|
22
|
+
|
|
23
|
+
Django support for [Device Bound Session Credentials (DBSC)](https://w3c.github.io/webappsec-dbsc/).
|
|
24
|
+
It binds a Django session to a non-exportable device key, so a stolen session cookie on its own is no longer
|
|
25
|
+
enough to hijack the session.
|
|
26
|
+
|
|
27
|
+
Planned components:
|
|
28
|
+
|
|
29
|
+
- A registration hook that emits `Secure-Session-Registration` after login
|
|
30
|
+
- `register` and `refresh` endpoints that verify the DBSC proof JWT (ES256 / RS256)
|
|
31
|
+
- A middleware that enforces a short-lived bound cookie for bound sessions
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# django-dbsc
|
|
2
|
+
|
|
3
|
+
> **Status: planning / pre-alpha.** Not usable yet. Do not install it in production.
|
|
4
|
+
|
|
5
|
+
Django support for [Device Bound Session Credentials (DBSC)](https://w3c.github.io/webappsec-dbsc/).
|
|
6
|
+
It binds a Django session to a non-exportable device key, so a stolen session cookie on its own is no longer
|
|
7
|
+
enough to hijack the session.
|
|
8
|
+
|
|
9
|
+
Planned components:
|
|
10
|
+
|
|
11
|
+
- A registration hook that emits `Secure-Session-Registration` after login
|
|
12
|
+
- `register` and `refresh` endpoints that verify the DBSC proof JWT (ES256 / RS256)
|
|
13
|
+
- A middleware that enforces a short-lived bound cookie for bound sessions
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "django-dbsc"
|
|
3
|
+
version = "0.0.1"
|
|
4
|
+
description = "Device Bound Session Credentials (W3C DBSC) for Django: bind session cookies to a device key."
|
|
5
|
+
readme = "README.md"
|
|
6
|
+
requires-python = ">=3.12"
|
|
7
|
+
dependencies = []
|
|
8
|
+
keywords = [
|
|
9
|
+
"django",
|
|
10
|
+
"dbsc",
|
|
11
|
+
"device-bound-session-credentials",
|
|
12
|
+
"session",
|
|
13
|
+
"security",
|
|
14
|
+
"cookie-theft",
|
|
15
|
+
]
|
|
16
|
+
classifiers = [
|
|
17
|
+
"Development Status :: 1 - Planning",
|
|
18
|
+
"Framework :: Django",
|
|
19
|
+
"Intended Audience :: Developers",
|
|
20
|
+
"Programming Language :: Python :: 3",
|
|
21
|
+
"Programming Language :: Python :: 3.12",
|
|
22
|
+
"Topic :: Internet :: WWW/HTTP :: Session",
|
|
23
|
+
"Topic :: Security",
|
|
24
|
+
]
|
|
25
|
+
|
|
26
|
+
[[project.authors]]
|
|
27
|
+
name = "Frederic Tschannen"
|
|
28
|
+
email = "fretscha@umx.net"
|
|
29
|
+
|
|
30
|
+
[project.urls]
|
|
31
|
+
Specification = "https://w3c.github.io/webappsec-dbsc/"
|
|
32
|
+
|
|
33
|
+
[build-system]
|
|
34
|
+
requires = ["uv_build>=0.13.5,<0.14.0"]
|
|
35
|
+
build-backend = "uv_build"
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "django-dbsc"
|
|
3
|
+
version = "0.0.1"
|
|
4
|
+
description = "Device Bound Session Credentials (W3C DBSC) for Django: bind session cookies to a device key."
|
|
5
|
+
readme = "README.md"
|
|
6
|
+
authors = [
|
|
7
|
+
{ name = "Frederic Tschannen", email = "fretscha@umx.net" }
|
|
8
|
+
]
|
|
9
|
+
requires-python = ">=3.12"
|
|
10
|
+
dependencies = []
|
|
11
|
+
keywords = ["django", "dbsc", "device-bound-session-credentials", "session", "security", "cookie-theft"]
|
|
12
|
+
classifiers = [
|
|
13
|
+
"Development Status :: 1 - Planning",
|
|
14
|
+
"Framework :: Django",
|
|
15
|
+
"Intended Audience :: Developers",
|
|
16
|
+
"Programming Language :: Python :: 3",
|
|
17
|
+
"Programming Language :: Python :: 3.12",
|
|
18
|
+
"Topic :: Internet :: WWW/HTTP :: Session",
|
|
19
|
+
"Topic :: Security",
|
|
20
|
+
]
|
|
21
|
+
|
|
22
|
+
[project.urls]
|
|
23
|
+
Specification = "https://w3c.github.io/webappsec-dbsc/"
|
|
24
|
+
|
|
25
|
+
[build-system]
|
|
26
|
+
requires = ["uv_build>=0.13.5,<0.14.0"]
|
|
27
|
+
build-backend = "uv_build"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.0.1"
|
|
File without changes
|