Marco Ricci commited on 2025-08-04 21:37:03
Zeige 1 geänderte Dateien mit 24 Einfügungen und 0 Löschungen.
Also include a changelog entry for the self-testing feature flags.
... | ... |
@@ -0,0 +1,24 @@ |
1 |
+### Added |
|
2 |
+ |
|
3 |
+ - For `derivepassphrase vault`, in the SSH agent client, introduce a new |
|
4 |
+ abstraction layer responsible for establishing the connection to the SSH |
|
5 |
+ agent: "SSH agent socket providers". |
|
6 |
+ Reframe the existing code for connecting to SSH agents on UNIX as |
|
7 |
+ a standard socket provider, and reserve a second standard socket |
|
8 |
+ provider, yet to be written, for <abbr title="Microsoft Windows">The |
|
9 |
+ Annoying Operating System</abbr>. |
|
10 |
+ |
|
11 |
+ (The system is based on Python package [entry |
|
12 |
+ points][importlib.metadata.entry_points], and is open for third-party |
|
13 |
+ developers to develop their own socket providers in case the standard |
|
14 |
+ socket providers are insufficient.) |
|
15 |
+ |
|
16 |
+ - `derivepassphrase vault --version` now defers testing for SSH agent |
|
17 |
+ support (the "master SSH key" feature) to the SSH agent client |
|
18 |
+ constructor, instead of examining the environment itself and drawing its |
|
19 |
+ own conclusions. |
|
20 |
+ |
|
21 |
+ - For developers: Feature flags and similar enum values are now |
|
22 |
+ self-testing, i.e., they include [their own code for testing whether they |
|
23 |
+ are active/enabled/supported][derivepassphrase._types.FeatureTestEnum]. |
|
24 |
+ |
|
0 | 25 |