Release 0.5.2
Marco Ricci

Marco Ricci commited on 2025-08-03 21:47:37
Zeige 10 geänderte Dateien mit 58 Einfügungen und 23 Löschungen.

... ...
@@ -51,6 +51,41 @@ specifically marked as such.)
51 51
 
52 52
 <!-- scriv changelog start -->
53 53
 
54
+## 0.5.2 (2025-08-03)  {#v0.5.2}
55
+
56
+### Fixed  {#fixed-in-v0.5.2}
57
+
58
+  - Correctly report (in `--version` output) the current version as v0.5.2,
59
+    instead of v0.5 alpha 1, development build #1.
60
+    This happened because---ironically---our machinery for updating embedded
61
+    version numbers automatically overlooked the *one* embedded version
62
+    number that the `--version` output handler actually uses.
63
+
64
+  - For developers: Add slightly more details to the release checklist.
65
+
66
+  - For developers: Fix some errors in the test suite (both code and
67
+    dependency declaration) that cause the suite to fail to even start on
68
+    <abbr title="Microsoft Windows">The Annoying
69
+    OS</abbr>.[^the-annoying-os]
70
+    These mistakes were already present in v0.5.
71
+
72
+  - For developers: Fix a copy-and-paste error in the parsed data for the
73
+    ECDSA NIST P-521 SSH test key, which would cause *all* agents to fail
74
+    when signing with that key, even if the agent otherwise supported the
75
+    key type.
76
+    Add additional testing code to catch this kind of test data
77
+    inconsistency.
78
+
79
+  - For developers: Provide expected signatures and equivalent master
80
+    passphrases for all test keys under Pageant, using both the
81
+    [RFC 6979][] scheme and the Pageant pre-0.80 scheme.
82
+
83
+    Furthermore, provide a script to emit test key data for all defined test
84
+    keys, augmented with the current agent's signatures and equivalent
85
+    master passphrases, in a format that can be easily pasted into the test
86
+    module's code (with only minor reformatting).
87
+
88
+
54 89
 ## 0.5.1 (2025-06-24)  {#v0.5.1}
55 90
 
56 91
 ### Fixed  {#fixed-in-v0.5.1}
... ...
@@ -238,9 +273,9 @@ specifically marked as such.)
238 273
 
239 274
   - Test against PyPy 3.11.
240 275
 
241
-  - Test on <abbr title="Microsoft Windows">The Annoying
242
-    OS</abbr>[^the-annoying-os] in its baseline version, i.e., without SSH
243
-    agent functionality but with `cryptography` support.
276
+  - Test on <abbr title="Microsoft Windows">The Annoying OS</abbr> in its
277
+    baseline version, i.e., without SSH agent functionality but with
278
+    `cryptography` support.
244 279
     Fix all incompatibilities in the test suite if essential and/or
245 280
     feasible, otherwise document them as skips or expected failures.
246 281
 
... ...
@@ -364,8 +399,6 @@ specifically marked as such.)
364 399
   - If the SSH agent supports deterministic DSA/ECDSA signatures (e.g.
365 400
     [RFC 6979][]), then mark DSA and ECDSA SSH keys as suitable.
366 401
 
367
-[RFC 6979]: https://www.rfc-editor.org/rfc/rfc6979
368
-
369 402
 ## 0.3.2 (2024-10-21)  {#v0.3.2}
370 403
 
371 404
 ### Fixed  {#fixed-in-v0.3.2}
... ...
@@ -608,6 +641,8 @@ specifically marked as such.)
608 641
 [tomli]: https://pypi.org/project/tomli/
609 642
 [towncrier]: https://pypi.org/project/towncrier/
610 643
 
644
+[RFC 6979]: https://www.rfc-editor.org/rfc/rfc6979
645
+
611 646
 [CLI]: reference/derivepassphrase.1.md
612 647
 [CLI_EXPORT]: reference/derivepassphrase-export.1.md
613 648
 [CLI_EXPORT_VAULT]: reference/derivepassphrase-export-vault.1.md
... ...
@@ -5,10 +5,10 @@
5 5
 #
6 6
 msgid ""
7 7
 msgstr ""
8
-"Project-Id-Version: derivepassphrase 0.5.1\n"
8
+"Project-Id-Version: derivepassphrase 0.5.2\n"
9 9
 "Report-Msgid-Bugs-To: software@the13thletter.info\n"
10
-"POT-Creation-Date: 2025-06-24 21:24+0200\n"
11
-"PO-Revision-Date: 2025-06-24 21:24+0200\n"
10
+"POT-Creation-Date: 2025-08-03 21:10+0200\n"
11
+"PO-Revision-Date: 2025-08-03 21:10+0200\n"
12 12
 "Last-Translator: AUTHOR <someone@example.com>\n"
13 13
 "Language: en\n"
14 14
 "Language-Team: English\n"
... ...
@@ -4,9 +4,9 @@
4 4
 #
5 5
 msgid ""
6 6
 msgstr ""
7
-"Project-Id-Version: derivepassphrase 0.5.1\n"
7
+"Project-Id-Version: derivepassphrase 0.5.2\n"
8 8
 "Report-Msgid-Bugs-To: software@the13thletter.info\n"
9
-"PO-Revision-Date: 2025-06-24 21:24+0200\n"
9
+"PO-Revision-Date: 2025-08-03 21:10+0200\n"
10 10
 "Last-Translator: Marco Ricci <software@the13thletter.info>\n"
11 11
 "Language: en_US@DEBUG\n"
12 12
 "Language-Team: English\n"
... ...
@@ -6,7 +6,7 @@ build-backend = "hatchling.build"
6 6
 name = "derivepassphrase"
7 7
 description = "An almost faithful Python reimplementation of James Coglan's vault."
8 8
 readme = "README.md"
9
-version = "0.5.1"
9
+version = "0.5.2"
10 10
 requires-python = ">= 3.9"
11 11
 license = { text = "zlib/libpng" }
12 12
 keywords = []
... ...
@@ -109,7 +109,7 @@ Issues = "https://the13thletter.info/derivepassphrase/latest/wishlist/"
109 109
 Source = "https://git.schokokeks.org/derivepassphrase.git"
110 110
 
111 111
 [tool.bumpversion]
112
-current_version = "0.5.1"
112
+current_version = "0.5.2"
113 113
 # As of bump-my-version 0.32.0, version components are strictly
114 114
 # hierarchical in the order of occurrence, and there is no support for
115 115
 # pre-release markers.  The documentation suggests a fake "dev/rc/final"
... ...
@@ -183,8 +183,8 @@ first_value = '1'
183 183
 
184 184
 [[tool.bumpversion.files]]
185 185
 filename = 'src/derivepassphrase/__init__.py'
186
-search = '^ *__version__ *= *"{current_version}"'
187
-replace = '__version__ = "{new_version}"'
186
+search = "^ *__version__ *= *'{current_version}'"
187
+replace = "__version__ = '{new_version}'"
188 188
 regex = true
189 189
 
190 190
 [[tool.bumpversion.files]]
... ...
@@ -1,6 +1,6 @@
1
-.Dd 2025-06-24
1
+.Dd 2025-08-03
2 2
 .Dt DERIVEPASSPHRASE-EXPORT-VAULT 1
3
-.Os derivepassphrase 0.5.1
3
+.Os derivepassphrase 0.5.2
4 4
 .
5 5
 .Sh NAME
6 6
 .
... ...
@@ -1,6 +1,6 @@
1
-.Dd 2025-06-24
1
+.Dd 2025-08-03
2 2
 .Dt DERIVEPASSPHRASE-EXPORT 1
3
-.Os derivepassphrase 0.5.1
3
+.Os derivepassphrase 0.5.2
4 4
 .
5 5
 .Sh NAME
6 6
 .
... ...
@@ -1,6 +1,6 @@
1
-.Dd 2025-06-24
1
+.Dd 2025-08-03
2 2
 .Dt DERIVEPASSPHRASE-VAULT 1
3
-.Os derivepassphrase 0.5.1
3
+.Os derivepassphrase 0.5.2
4 4
 .
5 5
 .Sh NAME
6 6
 .
... ...
@@ -1,6 +1,6 @@
1
-.Dd 2025-06-24
1
+.Dd 2025-08-03
2 2
 .Dt DERIVEPASSPHRASE 1
3
-.Os derivepassphrase 0.5.1
3
+.Os derivepassphrase 0.5.2
4 4
 .
5 5
 .Sh NAME
6 6
 .
... ...
@@ -9,5 +9,5 @@ __distribution_name__ = 'derivepassphrase'
9 9
 
10 10
 # Automatically generated.  DO NOT EDIT! Use importlib.metadata instead
11 11
 # to query the correct values.
12
-__version__ = '0.5.1'
12
+__version__ = '0.5.2'
13 13
 # END automatically generated.
14 14