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.
Files changed (20) hide show
  1. {nrfcloud_utils-3.2.0 → nrfcloud_utils-3.2.1}/PKG-INFO +6 -5
  2. {nrfcloud_utils-3.2.0 → nrfcloud_utils-3.2.1}/pyproject.toml +9 -6
  3. {nrfcloud_utils-3.2.0 → nrfcloud_utils-3.2.1}/src/nrfcloud_utils/modem_credentials_parser.py +2 -2
  4. {nrfcloud_utils-3.2.0 → nrfcloud_utils-3.2.1}/LICENSE.txt +0 -0
  5. {nrfcloud_utils-3.2.0 → nrfcloud_utils-3.2.1}/README.md +0 -0
  6. {nrfcloud_utils-3.2.0 → nrfcloud_utils-3.2.1}/src/nrfcloud_utils/__init__.py +0 -0
  7. {nrfcloud_utils-3.2.0 → nrfcloud_utils-3.2.1}/src/nrfcloud_utils/ca_certs.py +0 -0
  8. {nrfcloud_utils-3.2.0 → nrfcloud_utils-3.2.1}/src/nrfcloud_utils/claim_and_provision_device.py +0 -0
  9. {nrfcloud_utils-3.2.0 → nrfcloud_utils-3.2.1}/src/nrfcloud_utils/claim_devices.py +0 -0
  10. {nrfcloud_utils-3.2.0 → nrfcloud_utils-3.2.1}/src/nrfcloud_utils/cli.py +0 -0
  11. {nrfcloud_utils-3.2.0 → nrfcloud_utils-3.2.1}/src/nrfcloud_utils/cli_helpers.py +0 -0
  12. {nrfcloud_utils-3.2.0 → nrfcloud_utils-3.2.1}/src/nrfcloud_utils/create_ca_cert.py +0 -0
  13. {nrfcloud_utils-3.2.0 → nrfcloud_utils-3.2.1}/src/nrfcloud_utils/create_device_credentials.py +0 -0
  14. {nrfcloud_utils-3.2.0 → nrfcloud_utils-3.2.1}/src/nrfcloud_utils/create_proxy_jwt.py +0 -0
  15. {nrfcloud_utils-3.2.0 → nrfcloud_utils-3.2.1}/src/nrfcloud_utils/device_credentials_installer.py +0 -0
  16. {nrfcloud_utils-3.2.0 → nrfcloud_utils-3.2.1}/src/nrfcloud_utils/gather_attestation_tokens.py +0 -0
  17. {nrfcloud_utils-3.2.0 → nrfcloud_utils-3.2.1}/src/nrfcloud_utils/nrf93_onboard.py +0 -0
  18. {nrfcloud_utils-3.2.0 → nrfcloud_utils-3.2.1}/src/nrfcloud_utils/nrf_cloud_device_mgmt.py +0 -0
  19. {nrfcloud_utils-3.2.0 → nrfcloud_utils-3.2.1}/src/nrfcloud_utils/nrf_cloud_diap.py +0 -0
  20. {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.0
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.4.2.post1)
15
+ Requires-Dist: cbor2 (>=5.6.5)
16
16
  Requires-Dist: cffi (>=2.0.0)
17
- Requires-Dist: cryptography (>=46.0.5)
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.3.0)
21
- Requires-Dist: requests (>=2.32.0)
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.0"
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.4.2.post1",
17
- "cryptography>=46.0.5",
16
+ "cbor2>=5.6.5",
17
+ "cryptography>=49.0.0",
18
18
  "cffi>=2.0.0",
19
- "requests>=2.32.0",
19
+ "requests>=2.34.2",
20
+ "idna>=3.10",
20
21
  "urllib3>=2.7.0",
21
22
  "semver>=3.0.0",
22
- "pyjwt>=2.3.0",
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>=7.3.1",
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
 
@@ -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.warning("normalizing CSR")
303
+ logger.info("normalizing CSR")
304
304
  normalized = _normalize_ecdsa_csr_der(body_bytes)
305
- logger.warning(f"keygen_str: {keygen_str}, normalized: {base64.urlsafe_b64encode(normalized)}")
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