nrfcloud-utils 3.2.0__tar.gz → 3.2.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.
- {nrfcloud_utils-3.2.0 → nrfcloud_utils-3.2.1}/PKG-INFO +6 -5
- {nrfcloud_utils-3.2.0 → nrfcloud_utils-3.2.1}/pyproject.toml +9 -6
- {nrfcloud_utils-3.2.0 → nrfcloud_utils-3.2.1}/src/nrfcloud_utils/modem_credentials_parser.py +2 -2
- {nrfcloud_utils-3.2.0 → nrfcloud_utils-3.2.1}/LICENSE.txt +0 -0
- {nrfcloud_utils-3.2.0 → nrfcloud_utils-3.2.1}/README.md +0 -0
- {nrfcloud_utils-3.2.0 → nrfcloud_utils-3.2.1}/src/nrfcloud_utils/__init__.py +0 -0
- {nrfcloud_utils-3.2.0 → nrfcloud_utils-3.2.1}/src/nrfcloud_utils/ca_certs.py +0 -0
- {nrfcloud_utils-3.2.0 → nrfcloud_utils-3.2.1}/src/nrfcloud_utils/claim_and_provision_device.py +0 -0
- {nrfcloud_utils-3.2.0 → nrfcloud_utils-3.2.1}/src/nrfcloud_utils/claim_devices.py +0 -0
- {nrfcloud_utils-3.2.0 → nrfcloud_utils-3.2.1}/src/nrfcloud_utils/cli.py +0 -0
- {nrfcloud_utils-3.2.0 → nrfcloud_utils-3.2.1}/src/nrfcloud_utils/cli_helpers.py +0 -0
- {nrfcloud_utils-3.2.0 → nrfcloud_utils-3.2.1}/src/nrfcloud_utils/create_ca_cert.py +0 -0
- {nrfcloud_utils-3.2.0 → nrfcloud_utils-3.2.1}/src/nrfcloud_utils/create_device_credentials.py +0 -0
- {nrfcloud_utils-3.2.0 → nrfcloud_utils-3.2.1}/src/nrfcloud_utils/create_proxy_jwt.py +0 -0
- {nrfcloud_utils-3.2.0 → nrfcloud_utils-3.2.1}/src/nrfcloud_utils/device_credentials_installer.py +0 -0
- {nrfcloud_utils-3.2.0 → nrfcloud_utils-3.2.1}/src/nrfcloud_utils/gather_attestation_tokens.py +0 -0
- {nrfcloud_utils-3.2.0 → nrfcloud_utils-3.2.1}/src/nrfcloud_utils/nrf93_onboard.py +0 -0
- {nrfcloud_utils-3.2.0 → nrfcloud_utils-3.2.1}/src/nrfcloud_utils/nrf_cloud_device_mgmt.py +0 -0
- {nrfcloud_utils-3.2.0 → nrfcloud_utils-3.2.1}/src/nrfcloud_utils/nrf_cloud_diap.py +0 -0
- {nrfcloud_utils-3.2.0 → nrfcloud_utils-3.2.1}/src/nrfcloud_utils/nrf_cloud_onboard.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: nrfcloud-utils
|
|
3
|
-
Version: 3.2.
|
|
3
|
+
Version: 3.2.1
|
|
4
4
|
Summary: Scripts and utilities for working with the nRF Cloud
|
|
5
5
|
License-Expression: BSD-3-Clause
|
|
6
6
|
License-File: LICENSE.txt
|
|
@@ -12,13 +12,14 @@ Classifier: Programming Language :: Python :: 3.11
|
|
|
12
12
|
Classifier: Programming Language :: Python :: 3.12
|
|
13
13
|
Classifier: Programming Language :: Python :: 3.13
|
|
14
14
|
Classifier: Programming Language :: Python :: 3.14
|
|
15
|
-
Requires-Dist: cbor2 (>=5.
|
|
15
|
+
Requires-Dist: cbor2 (>=5.6.5)
|
|
16
16
|
Requires-Dist: cffi (>=2.0.0)
|
|
17
|
-
Requires-Dist: cryptography (>=
|
|
17
|
+
Requires-Dist: cryptography (>=49.0.0)
|
|
18
|
+
Requires-Dist: idna (>=3.10)
|
|
18
19
|
Requires-Dist: inquirer (>=3.4.0)
|
|
19
20
|
Requires-Dist: nrfcredstore (>=2.1.0)
|
|
20
|
-
Requires-Dist: pyjwt (>=2.
|
|
21
|
-
Requires-Dist: requests (>=2.
|
|
21
|
+
Requires-Dist: pyjwt (>=2.13.0)
|
|
22
|
+
Requires-Dist: requests (>=2.34.2)
|
|
22
23
|
Requires-Dist: semver (>=3.0.0)
|
|
23
24
|
Requires-Dist: urllib3 (>=2.7.0)
|
|
24
25
|
Project-URL: Repository, https://github.com/nRFCloud/utils
|
|
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "nrfcloud-utils"
|
|
7
|
-
version = "3.2.
|
|
7
|
+
version = "3.2.1"
|
|
8
8
|
description = "Scripts and utilities for working with the nRF Cloud"
|
|
9
9
|
license = "BSD-3-Clause"
|
|
10
10
|
readme = "README.md"
|
|
@@ -13,13 +13,14 @@ authors = [
|
|
|
13
13
|
{ name = "Nordic Semiconductor ASA" }
|
|
14
14
|
]
|
|
15
15
|
dependencies = [
|
|
16
|
-
"cbor2>=5.
|
|
17
|
-
"cryptography>=
|
|
16
|
+
"cbor2>=5.6.5",
|
|
17
|
+
"cryptography>=49.0.0",
|
|
18
18
|
"cffi>=2.0.0",
|
|
19
|
-
"requests>=2.
|
|
19
|
+
"requests>=2.34.2",
|
|
20
|
+
"idna>=3.10",
|
|
20
21
|
"urllib3>=2.7.0",
|
|
21
22
|
"semver>=3.0.0",
|
|
22
|
-
"pyjwt>=2.
|
|
23
|
+
"pyjwt>=2.13.0",
|
|
23
24
|
"inquirer>=3.4.0",
|
|
24
25
|
"nrfcredstore>=2.1.0",
|
|
25
26
|
]
|
|
@@ -43,9 +44,11 @@ nrf93_onboard = "nrfcloud_utils.nrf93_onboard:run"
|
|
|
43
44
|
|
|
44
45
|
[dependency-groups]
|
|
45
46
|
dev = [
|
|
46
|
-
"pytest>=
|
|
47
|
+
"pytest>=9.1.1",
|
|
47
48
|
"pytest-cov>=4.0.0",
|
|
48
49
|
"pytest-watch>=4.2.0",
|
|
50
|
+
"dulwich>=1.2.10",
|
|
51
|
+
"msgpack>=1.2.1",
|
|
49
52
|
"poetry (>=2.4.1,<3.0.0)", # used for development today. might be migrated to uv in the future.
|
|
50
53
|
]
|
|
51
54
|
|
{nrfcloud_utils-3.2.0 → nrfcloud_utils-3.2.1}/src/nrfcloud_utils/modem_credentials_parser.py
RENAMED
|
@@ -300,9 +300,9 @@ def parse_keygen_output(keygen_str):
|
|
|
300
300
|
try:
|
|
301
301
|
csr = x509.load_der_x509_csr(body_bytes)
|
|
302
302
|
except:
|
|
303
|
-
logger.
|
|
303
|
+
logger.info("normalizing CSR")
|
|
304
304
|
normalized = _normalize_ecdsa_csr_der(body_bytes)
|
|
305
|
-
logger.
|
|
305
|
+
logger.debug(f"keygen_str: {keygen_str}, normalized: {base64.urlsafe_b64encode(normalized)}")
|
|
306
306
|
csr = x509.load_der_x509_csr(normalized)
|
|
307
307
|
|
|
308
308
|
csr_pem_bytes = csr.public_bytes(serialization.Encoding.PEM)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{nrfcloud_utils-3.2.0 → nrfcloud_utils-3.2.1}/src/nrfcloud_utils/claim_and_provision_device.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{nrfcloud_utils-3.2.0 → nrfcloud_utils-3.2.1}/src/nrfcloud_utils/create_device_credentials.py
RENAMED
|
File without changes
|
|
File without changes
|
{nrfcloud_utils-3.2.0 → nrfcloud_utils-3.2.1}/src/nrfcloud_utils/device_credentials_installer.py
RENAMED
|
File without changes
|
{nrfcloud_utils-3.2.0 → nrfcloud_utils-3.2.1}/src/nrfcloud_utils/gather_attestation_tokens.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|