Add changelog entry for the `key_to_phrase` missing callback argument fix
Marco Ricci

Marco Ricci commited on 2025-12-13 15:56:49
Zeige 1 geänderte Dateien mit 14 Einfügungen und 0 Löschungen.

... ...
@@ -0,0 +1,14 @@
1
+### Changed
2
+
3
+  - For developers: The internal helper function
4
+    `derivepassphrase._internals.cli_helpers.key_to_phrase` now takes
5
+    mandatory callback parameters to handle warning and error messages.
6
+    This is a side-effect of the "SSH agent socket providers" system, which
7
+    necessitates more complicated error and warning handling.
8
+
9
+    We considered making the callback parameters optional and supplying
10
+    a default handler that suppress warnings and exit on error, but then we
11
+    learned the hard way that those defaults make it too easy to suppress
12
+    warnings *by accident*, just because we forgot to supply a certain
13
+    function parameter.
14
+
0 15