django-dbsc 0.0.1__py3-none-any.whl

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 @@
1
+ __version__ = "0.0.1"
django_dbsc/py.typed ADDED
File without changes
@@ -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,5 @@
1
+ django_dbsc/__init__.py,sha256=sXLh7g3KC4QCFxcZGBTpG2scR7hmmBsMjq6LqRptkRg,22
2
+ django_dbsc/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
+ django_dbsc-0.0.1.dist-info/WHEEL,sha256=si2p8vW03RnhyBnhWl4tj-ObJa78SpE-c9HsEtblGR0,80
4
+ django_dbsc-0.0.1.dist-info/METADATA,sha256=yTNyzn-UGWjwwbQxJt8HyPIIBk8lAs-Hj5zckSka-_4,1355
5
+ django_dbsc-0.0.1.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: uv 0.13.5
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any