dpapi-config 0.1.0__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.0 → dpapi_config-0.1.2}/PKG-INFO +8 -12
- {dpapi_config-0.1.0 → dpapi_config-0.1.2}/README.md +5 -11
- {dpapi_config-0.1.0 → dpapi_config-0.1.2}/dpapi_config/__init__.py +2 -0
- {dpapi_config-0.1.0 → dpapi_config-0.1.2}/dpapi_config.egg-info/PKG-INFO +8 -12
- {dpapi_config-0.1.0 → dpapi_config-0.1.2}/pyproject.toml +3 -1
- {dpapi_config-0.1.0 → dpapi_config-0.1.2}/tests/test_dpapi_config.py +12 -0
- {dpapi_config-0.1.0 → dpapi_config-0.1.2}/LICENSE +0 -0
- {dpapi_config-0.1.0 → dpapi_config-0.1.2}/dpapi_config.egg-info/SOURCES.txt +0 -0
- {dpapi_config-0.1.0 → dpapi_config-0.1.2}/dpapi_config.egg-info/dependency_links.txt +0 -0
- {dpapi_config-0.1.0 → dpapi_config-0.1.2}/dpapi_config.egg-info/top_level.txt +0 -0
- {dpapi_config-0.1.0 → 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
|
|
@@ -34,17 +36,10 @@ alongside the config.
|
|
|
34
36
|
|
|
35
37
|
## Install
|
|
36
38
|
|
|
37
|
-
Not on PyPI yet — `pip install dpapi-config` will 404 until 0.1.0 is published.
|
|
38
|
-
Install from the repository instead:
|
|
39
|
-
|
|
40
39
|
```bash
|
|
41
|
-
pip install
|
|
40
|
+
pip install dpapi-config
|
|
42
41
|
```
|
|
43
42
|
|
|
44
|
-
The release workflow already builds the sdist and wheel (they are attached to the
|
|
45
|
-
[releases](https://github.com/suimajian/dpapi-config/releases)); the publish step
|
|
46
|
-
is waiting for credentials, so nothing has been uploaded to the index.
|
|
47
|
-
|
|
48
43
|
## Why this exists
|
|
49
44
|
|
|
50
45
|
Most Python apps that need to remember a password put it in JSON in plaintext, or
|
|
@@ -138,9 +133,10 @@ Deliberately not in this package, so you know what you are getting:
|
|
|
138
133
|
|
|
139
134
|
## Status
|
|
140
135
|
|
|
141
|
-
0.1.
|
|
142
|
-
|
|
143
|
-
|
|
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.
|
|
144
140
|
|
|
145
141
|
## Tests
|
|
146
142
|
|
|
@@ -17,17 +17,10 @@ alongside the config.
|
|
|
17
17
|
|
|
18
18
|
## Install
|
|
19
19
|
|
|
20
|
-
Not on PyPI yet — `pip install dpapi-config` will 404 until 0.1.0 is published.
|
|
21
|
-
Install from the repository instead:
|
|
22
|
-
|
|
23
20
|
```bash
|
|
24
|
-
pip install
|
|
21
|
+
pip install dpapi-config
|
|
25
22
|
```
|
|
26
23
|
|
|
27
|
-
The release workflow already builds the sdist and wheel (they are attached to the
|
|
28
|
-
[releases](https://github.com/suimajian/dpapi-config/releases)); the publish step
|
|
29
|
-
is waiting for credentials, so nothing has been uploaded to the index.
|
|
30
|
-
|
|
31
24
|
## Why this exists
|
|
32
25
|
|
|
33
26
|
Most Python apps that need to remember a password put it in JSON in plaintext, or
|
|
@@ -121,9 +114,10 @@ Deliberately not in this package, so you know what you are getting:
|
|
|
121
114
|
|
|
122
115
|
## Status
|
|
123
116
|
|
|
124
|
-
0.1.
|
|
125
|
-
|
|
126
|
-
|
|
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.
|
|
127
121
|
|
|
128
122
|
## Tests
|
|
129
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
|
|
@@ -34,17 +36,10 @@ alongside the config.
|
|
|
34
36
|
|
|
35
37
|
## Install
|
|
36
38
|
|
|
37
|
-
Not on PyPI yet — `pip install dpapi-config` will 404 until 0.1.0 is published.
|
|
38
|
-
Install from the repository instead:
|
|
39
|
-
|
|
40
39
|
```bash
|
|
41
|
-
pip install
|
|
40
|
+
pip install dpapi-config
|
|
42
41
|
```
|
|
43
42
|
|
|
44
|
-
The release workflow already builds the sdist and wheel (they are attached to the
|
|
45
|
-
[releases](https://github.com/suimajian/dpapi-config/releases)); the publish step
|
|
46
|
-
is waiting for credentials, so nothing has been uploaded to the index.
|
|
47
|
-
|
|
48
43
|
## Why this exists
|
|
49
44
|
|
|
50
45
|
Most Python apps that need to remember a password put it in JSON in plaintext, or
|
|
@@ -138,9 +133,10 @@ Deliberately not in this package, so you know what you are getting:
|
|
|
138
133
|
|
|
139
134
|
## Status
|
|
140
135
|
|
|
141
|
-
0.1.
|
|
142
|
-
|
|
143
|
-
|
|
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.
|
|
144
140
|
|
|
145
141
|
## Tests
|
|
146
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
|