dpapi-config 0.1.1__tar.gz → 0.1.2__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.
- {dpapi_config-0.1.1 → dpapi_config-0.1.2}/PKG-INFO +7 -4
- {dpapi_config-0.1.1 → dpapi_config-0.1.2}/README.md +4 -3
- {dpapi_config-0.1.1 → dpapi_config-0.1.2}/dpapi_config/__init__.py +2 -0
- {dpapi_config-0.1.1 → dpapi_config-0.1.2}/dpapi_config.egg-info/PKG-INFO +7 -4
- {dpapi_config-0.1.1 → dpapi_config-0.1.2}/pyproject.toml +3 -1
- {dpapi_config-0.1.1 → dpapi_config-0.1.2}/tests/test_dpapi_config.py +12 -0
- {dpapi_config-0.1.1 → dpapi_config-0.1.2}/LICENSE +0 -0
- {dpapi_config-0.1.1 → dpapi_config-0.1.2}/dpapi_config.egg-info/SOURCES.txt +0 -0
- {dpapi_config-0.1.1 → dpapi_config-0.1.2}/dpapi_config.egg-info/dependency_links.txt +0 -0
- {dpapi_config-0.1.1 → dpapi_config-0.1.2}/dpapi_config.egg-info/top_level.txt +0 -0
- {dpapi_config-0.1.1 → dpapi_config-0.1.2}/setup.cfg +0 -0
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: dpapi-config
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.2
|
|
4
4
|
Summary: Encrypt selected fields of a JSON config file with Windows DPAPI
|
|
5
5
|
Author: suimajian
|
|
6
6
|
License: MIT
|
|
7
7
|
Project-URL: Homepage, https://github.com/suimajian/dpapi-config
|
|
8
|
+
Project-URL: Source, https://github.com/suimajian/dpapi-config
|
|
9
|
+
Project-URL: Issues, https://github.com/suimajian/dpapi-config/issues
|
|
8
10
|
Keywords: dpapi,windows,config,secrets,encryption
|
|
9
11
|
Classifier: License :: OSI Approved :: MIT License
|
|
10
12
|
Classifier: Operating System :: Microsoft :: Windows
|
|
@@ -131,9 +133,10 @@ Deliberately not in this package, so you know what you are getting:
|
|
|
131
133
|
|
|
132
134
|
## Status
|
|
133
135
|
|
|
134
|
-
0.1.
|
|
135
|
-
|
|
136
|
-
|
|
136
|
+
0.1.2 — on PyPI (`pip install dpapi-config`); 0.1.0 is yanked because its project page
|
|
137
|
+
still carried the pre-release README. Trusted Publishing (OIDC) does the upload,
|
|
138
|
+
so no token lives in this repository. Tags (`v*`) build sdist + wheel and attach
|
|
139
|
+
them to the GitHub release.
|
|
137
140
|
|
|
138
141
|
## Tests
|
|
139
142
|
|
|
@@ -114,9 +114,10 @@ Deliberately not in this package, so you know what you are getting:
|
|
|
114
114
|
|
|
115
115
|
## Status
|
|
116
116
|
|
|
117
|
-
0.1.
|
|
118
|
-
|
|
119
|
-
|
|
117
|
+
0.1.2 — on PyPI (`pip install dpapi-config`); 0.1.0 is yanked because its project page
|
|
118
|
+
still carried the pre-release README. Trusted Publishing (OIDC) does the upload,
|
|
119
|
+
so no token lives in this repository. Tags (`v*`) build sdist + wheel and attach
|
|
120
|
+
them to the GitHub release.
|
|
120
121
|
|
|
121
122
|
## Tests
|
|
122
123
|
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: dpapi-config
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.2
|
|
4
4
|
Summary: Encrypt selected fields of a JSON config file with Windows DPAPI
|
|
5
5
|
Author: suimajian
|
|
6
6
|
License: MIT
|
|
7
7
|
Project-URL: Homepage, https://github.com/suimajian/dpapi-config
|
|
8
|
+
Project-URL: Source, https://github.com/suimajian/dpapi-config
|
|
9
|
+
Project-URL: Issues, https://github.com/suimajian/dpapi-config/issues
|
|
8
10
|
Keywords: dpapi,windows,config,secrets,encryption
|
|
9
11
|
Classifier: License :: OSI Approved :: MIT License
|
|
10
12
|
Classifier: Operating System :: Microsoft :: Windows
|
|
@@ -131,9 +133,10 @@ Deliberately not in this package, so you know what you are getting:
|
|
|
131
133
|
|
|
132
134
|
## Status
|
|
133
135
|
|
|
134
|
-
0.1.
|
|
135
|
-
|
|
136
|
-
|
|
136
|
+
0.1.2 — on PyPI (`pip install dpapi-config`); 0.1.0 is yanked because its project page
|
|
137
|
+
still carried the pre-release README. Trusted Publishing (OIDC) does the upload,
|
|
138
|
+
so no token lives in this repository. Tags (`v*`) build sdist + wheel and attach
|
|
139
|
+
them to the GitHub release.
|
|
137
140
|
|
|
138
141
|
## Tests
|
|
139
142
|
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "dpapi-config"
|
|
7
|
-
version = "0.1.
|
|
7
|
+
version = "0.1.2"
|
|
8
8
|
description = "Encrypt selected fields of a JSON config file with Windows DPAPI"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.9"
|
|
@@ -20,6 +20,8 @@ classifiers = [
|
|
|
20
20
|
|
|
21
21
|
[project.urls]
|
|
22
22
|
Homepage = "https://github.com/suimajian/dpapi-config"
|
|
23
|
+
Source = "https://github.com/suimajian/dpapi-config"
|
|
24
|
+
Issues = "https://github.com/suimajian/dpapi-config/issues"
|
|
23
25
|
|
|
24
26
|
[tool.setuptools]
|
|
25
27
|
packages = ["dpapi_config"]
|
|
@@ -153,3 +153,15 @@ def test_null_secret_is_left_as_null(tmp_path):
|
|
|
153
153
|
save(path, {"user": "me", "password": None}, PATHS)
|
|
154
154
|
assert json.loads(path.read_text(encoding="utf-8"))["password"] is None
|
|
155
155
|
assert load(path, PATHS)["password"] is None
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
def test_version_matches_pyproject():
|
|
159
|
+
import pathlib
|
|
160
|
+
import re
|
|
161
|
+
|
|
162
|
+
import dpapi_config
|
|
163
|
+
|
|
164
|
+
repo = pathlib.Path(__file__).resolve().parents[1]
|
|
165
|
+
declared = re.search(r'^version = "([^"]+)"', (repo / "pyproject.toml").read_text(encoding="utf-8"), re.M)
|
|
166
|
+
assert declared, "version missing from pyproject.toml"
|
|
167
|
+
assert declared.group(1) == dpapi_config.__version__
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|