swarmauri_cipher_suite_webauthn 0.2.0.dev4__tar.gz → 0.11.0.dev1__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.
- {swarmauri_cipher_suite_webauthn-0.2.0.dev4 → swarmauri_cipher_suite_webauthn-0.11.0.dev1}/PKG-INFO +15 -13
- {swarmauri_cipher_suite_webauthn-0.2.0.dev4 → swarmauri_cipher_suite_webauthn-0.11.0.dev1}/README.md +8 -7
- {swarmauri_cipher_suite_webauthn-0.2.0.dev4 → swarmauri_cipher_suite_webauthn-0.11.0.dev1}/pyproject.toml +7 -6
- {swarmauri_cipher_suite_webauthn-0.2.0.dev4 → swarmauri_cipher_suite_webauthn-0.11.0.dev1}/swarmauri_cipher_suite_webauthn/WebAuthnCipherSuite.py +14 -3
- {swarmauri_cipher_suite_webauthn-0.2.0.dev4 → swarmauri_cipher_suite_webauthn-0.11.0.dev1}/LICENSE +0 -0
- {swarmauri_cipher_suite_webauthn-0.2.0.dev4 → swarmauri_cipher_suite_webauthn-0.11.0.dev1}/swarmauri_cipher_suite_webauthn/__init__.py +0 -0
{swarmauri_cipher_suite_webauthn-0.2.0.dev4 → swarmauri_cipher_suite_webauthn-0.11.0.dev1}/PKG-INFO
RENAMED
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: swarmauri_cipher_suite_webauthn
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.11.0.dev1
|
|
4
4
|
Summary: WebAuthn and FIDO2 cipher suite for Swarmauri
|
|
5
5
|
License-Expression: Apache-2.0
|
|
6
6
|
License-File: LICENSE
|
|
7
7
|
Keywords: swarmauri,sdk,standards,cipher,suite,webauthn,cryptography,WebAuthn,FIDO2,CTAP2,W3C Web Authentication,FIDO Alliance,ES256,EdDSA,RS256,RFC 9052
|
|
8
8
|
Author: Jacob Stewart
|
|
9
9
|
Author-email: jacob@swarmauri.com
|
|
10
|
-
Requires-Python: >=3.10,<3.
|
|
10
|
+
Requires-Python: >=3.10,<3.15
|
|
11
11
|
Classifier: License :: OSI Approved :: Apache Software License
|
|
12
12
|
Classifier: Natural Language :: English
|
|
13
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
14
|
-
Classifier: Programming Language :: Python :: 3.11
|
|
15
|
-
Classifier: Programming Language :: Python :: 3.12
|
|
16
|
-
Classifier: Programming Language :: Python :: 3.13
|
|
17
13
|
Classifier: Development Status :: 3 - Alpha
|
|
18
14
|
Classifier: Topic :: Security :: Cryptography
|
|
19
15
|
Classifier: Intended Audience :: Developers
|
|
20
16
|
Classifier: Programming Language :: Python
|
|
21
17
|
Classifier: Programming Language :: Python :: 3
|
|
22
18
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
23
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
23
24
|
Requires-Dist: swarmauri_base
|
|
24
25
|
Requires-Dist: swarmauri_core
|
|
25
26
|
Description-Content-Type: text/markdown
|
|
26
27
|
|
|
27
|
-

|
|
28
29
|
|
|
29
30
|
<p align="center">
|
|
30
|
-
<a href="https://
|
|
31
|
-
<img src="https://
|
|
31
|
+
<a href="https://pepy.tech/project/swarmauri_cipher_suite_webauthn/">
|
|
32
|
+
<img src="https://static.pepy.tech/badge/swarmauri_cipher_suite_webauthn/month" alt="PyPI - Downloads"/></a>
|
|
32
33
|
<a href="https://hits.sh/github.com/swarmauri/swarmauri-sdk/tree/master/pkgs/standards/swarmauri_cipher_suite_webauthn/">
|
|
33
34
|
<img alt="Hits" src="https://hits.sh/github.com/swarmauri/swarmauri-sdk/tree/master/pkgs/standards/swarmauri_cipher_suite_webauthn.svg"/></a>
|
|
34
35
|
<a href="https://pypi.org/project/swarmauri_cipher_suite_webauthn/">
|
|
35
|
-
<img src="https://img.shields.io/
|
|
36
|
+
<img src="https://img.shields.io/badge/python-3.10%20%7C%203.11%20%7C%203.12%20%7C%203.13%20%7C%203.14-blue" alt="PyPI - Python Version"/></a>
|
|
36
37
|
<a href="https://pypi.org/project/swarmauri_cipher_suite_webauthn/">
|
|
37
38
|
<img src="https://img.shields.io/pypi/l/swarmauri_cipher_suite_webauthn" alt="PyPI - License"/></a>
|
|
38
39
|
<a href="https://pypi.org/project/swarmauri_cipher_suite_webauthn/">
|
|
39
40
|
<img src="https://img.shields.io/pypi/v/swarmauri_cipher_suite_webauthn?label=swarmauri_cipher_suite_webauthn&color=green" alt="PyPI - swarmauri_cipher_suite_webauthn"/></a>
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
---
|
|
41
|
+
<a href="https://discord.gg/N4UpBuQv8T">
|
|
42
|
+
<img src="https://img.shields.io/badge/Discord-Join%20Chat-5865F2?logo=discord&logoColor=white" alt="Discord"/></a></p>
|
|
43
43
|
|
|
44
44
|
# Swarmauri Cipher Webauthn
|
|
45
45
|
|
|
@@ -101,3 +101,5 @@ If you want to contribute to swarmauri-sdk, read up on our
|
|
|
101
101
|
[guidelines for contributing](https://github.com/swarmauri/swarmauri-sdk/blob/master/CONTRIBUTING.md)
|
|
102
102
|
that will help you get started.
|
|
103
103
|
|
|
104
|
+
|
|
105
|
+
|
{swarmauri_cipher_suite_webauthn-0.2.0.dev4 → swarmauri_cipher_suite_webauthn-0.11.0.dev1}/README.md
RENAMED
|
@@ -1,19 +1,18 @@
|
|
|
1
|
-

|
|
2
2
|
|
|
3
3
|
<p align="center">
|
|
4
|
-
<a href="https://
|
|
5
|
-
<img src="https://
|
|
4
|
+
<a href="https://pepy.tech/project/swarmauri_cipher_suite_webauthn/">
|
|
5
|
+
<img src="https://static.pepy.tech/badge/swarmauri_cipher_suite_webauthn/month" alt="PyPI - Downloads"/></a>
|
|
6
6
|
<a href="https://hits.sh/github.com/swarmauri/swarmauri-sdk/tree/master/pkgs/standards/swarmauri_cipher_suite_webauthn/">
|
|
7
7
|
<img alt="Hits" src="https://hits.sh/github.com/swarmauri/swarmauri-sdk/tree/master/pkgs/standards/swarmauri_cipher_suite_webauthn.svg"/></a>
|
|
8
8
|
<a href="https://pypi.org/project/swarmauri_cipher_suite_webauthn/">
|
|
9
|
-
<img src="https://img.shields.io/
|
|
9
|
+
<img src="https://img.shields.io/badge/python-3.10%20%7C%203.11%20%7C%203.12%20%7C%203.13%20%7C%203.14-blue" alt="PyPI - Python Version"/></a>
|
|
10
10
|
<a href="https://pypi.org/project/swarmauri_cipher_suite_webauthn/">
|
|
11
11
|
<img src="https://img.shields.io/pypi/l/swarmauri_cipher_suite_webauthn" alt="PyPI - License"/></a>
|
|
12
12
|
<a href="https://pypi.org/project/swarmauri_cipher_suite_webauthn/">
|
|
13
13
|
<img src="https://img.shields.io/pypi/v/swarmauri_cipher_suite_webauthn?label=swarmauri_cipher_suite_webauthn&color=green" alt="PyPI - swarmauri_cipher_suite_webauthn"/></a>
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
---
|
|
14
|
+
<a href="https://discord.gg/N4UpBuQv8T">
|
|
15
|
+
<img src="https://img.shields.io/badge/Discord-Join%20Chat-5865F2?logo=discord&logoColor=white" alt="Discord"/></a></p>
|
|
17
16
|
|
|
18
17
|
# Swarmauri Cipher Webauthn
|
|
19
18
|
|
|
@@ -74,3 +73,5 @@ The suite registers under the `swarmauri.cipher_suites` entry point as `WebAuthn
|
|
|
74
73
|
If you want to contribute to swarmauri-sdk, read up on our
|
|
75
74
|
[guidelines for contributing](https://github.com/swarmauri/swarmauri-sdk/blob/master/CONTRIBUTING.md)
|
|
76
75
|
that will help you get started.
|
|
76
|
+
|
|
77
|
+
|
|
@@ -1,24 +1,25 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "swarmauri_cipher_suite_webauthn"
|
|
3
|
-
version = "0.
|
|
3
|
+
version = "0.11.0.dev1"
|
|
4
4
|
description = "WebAuthn and FIDO2 cipher suite for Swarmauri"
|
|
5
5
|
license = "Apache-2.0"
|
|
6
6
|
readme = "README.md"
|
|
7
|
-
requires-python = ">=3.10,<3.
|
|
7
|
+
requires-python = ">=3.10,<3.15"
|
|
8
8
|
authors = [{ name = "Jacob Stewart", email = "jacob@swarmauri.com" }]
|
|
9
9
|
classifiers = [
|
|
10
10
|
"License :: OSI Approved :: Apache Software License",
|
|
11
11
|
"Natural Language :: English",
|
|
12
|
-
"Programming Language :: Python :: 3.10",
|
|
13
|
-
"Programming Language :: Python :: 3.11",
|
|
14
|
-
"Programming Language :: Python :: 3.12",
|
|
15
|
-
"Programming Language :: Python :: 3.13",
|
|
16
12
|
"Development Status :: 3 - Alpha",
|
|
17
13
|
"Topic :: Security :: Cryptography",
|
|
18
14
|
"Intended Audience :: Developers",
|
|
19
15
|
"Programming Language :: Python",
|
|
20
16
|
"Programming Language :: Python :: 3",
|
|
21
17
|
"Programming Language :: Python :: 3 :: Only",
|
|
18
|
+
"Programming Language :: Python :: 3.10",
|
|
19
|
+
"Programming Language :: Python :: 3.11",
|
|
20
|
+
"Programming Language :: Python :: 3.12",
|
|
21
|
+
"Programming Language :: Python :: 3.13",
|
|
22
|
+
"Programming Language :: Python :: 3.14",
|
|
22
23
|
]
|
|
23
24
|
dependencies = [
|
|
24
25
|
"swarmauri_core",
|
|
@@ -26,7 +26,9 @@ class WebAuthnCipherSuite(CipherSuiteBase):
|
|
|
26
26
|
def supports(self) -> Mapping[CipherOp, Iterable[Alg]]:
|
|
27
27
|
return {"sign": _FIDO_COSE, "verify": _FIDO_COSE}
|
|
28
28
|
|
|
29
|
-
def default_alg(
|
|
29
|
+
def default_alg(
|
|
30
|
+
self, op: CipherOp, *, for_key: Optional[KeyRef] = None
|
|
31
|
+
) -> Alg:
|
|
30
32
|
return "-7"
|
|
31
33
|
|
|
32
34
|
def features(self) -> Features:
|
|
@@ -36,7 +38,12 @@ class WebAuthnCipherSuite(CipherSuiteBase):
|
|
|
36
38
|
"dialects": {"cose": list(_FIDO_COSE), "fido2": list(_FIDO_COSE)},
|
|
37
39
|
"ops": {"sign": {"default": "-7", "allowed": list(_FIDO_COSE)}},
|
|
38
40
|
"constraints": {
|
|
39
|
-
"attestation_formats": [
|
|
41
|
+
"attestation_formats": [
|
|
42
|
+
"packed",
|
|
43
|
+
"tpm",
|
|
44
|
+
"android-safetynet",
|
|
45
|
+
"apple",
|
|
46
|
+
]
|
|
40
47
|
},
|
|
41
48
|
"compliance": {"fips": False},
|
|
42
49
|
}
|
|
@@ -59,7 +66,11 @@ class WebAuthnCipherSuite(CipherSuiteBase):
|
|
|
59
66
|
"op": op,
|
|
60
67
|
"alg": chosen,
|
|
61
68
|
"dialect": "cose" if dialect is None else dialect,
|
|
62
|
-
"mapped": {
|
|
69
|
+
"mapped": {
|
|
70
|
+
"cose": int(chosen),
|
|
71
|
+
"fido2": chosen,
|
|
72
|
+
"provider": chosen,
|
|
73
|
+
},
|
|
63
74
|
"params": dict(params or {}),
|
|
64
75
|
"constraints": {},
|
|
65
76
|
"policy": self.policy(),
|
{swarmauri_cipher_suite_webauthn-0.2.0.dev4 → swarmauri_cipher_suite_webauthn-0.11.0.dev1}/LICENSE
RENAMED
|
File without changes
|