Marco Ricci commited on 2026-04-01 21:19:06
Zeige 1 geänderte Dateien mit 20 Einfügungen und 0 Löschungen.
| ... | ... |
@@ -0,0 +1,20 @@ |
| 1 |
+# `derivepassphrase` wish no-strict-compatibility-mode |
|
| 2 |
+ |
|
| 3 |
+???+ wish "Wish details: Provide a mode of operation forfeiting strict compatibility" |
|
| 4 |
+ <table id="bug-summary" markdown> |
|
| 5 |
+ <tr><th scope=col>Class<td><i>wish</i><td>This is a request for an enhancement. |
|
| 6 |
+ <tr><th scope=col>Priority<td><i>medium</i><td>This should be fixed one day. |
|
| 7 |
+ <tr><th scope=col>Difficulty<td><i>fun</i><td>Just needs tuits, and not many of them. |
|
| 8 |
+ <tr><th scope=col>Present-in<td colspan=2>0.4.0 0.5 0.5.1 <b>0.5.2</b> |
|
| 9 |
+ </table> |
|
| 10 |
+ |
|
| 11 |
+`derivepassphrase vault` contains multiple options (e.g., `--modern-editor-interface`) that change its behavior in a manner incompatible with <i>vault</i>(1), but which the user may nevertheless want to select because the <i>vault</i>(1) behavior is surprising, inconsistent, etc. |
|
| 12 |
+ |
|
| 13 |
+Because of our commitment to backwards compatibility with <i>vault</i>(1), such divergent behavior must be requested separately for each call to `derivepassphrase`. |
|
| 14 |
+Currently, this means manually adding the respective options to each command-line invocation. |
|
| 15 |
+ |
|
| 16 |
+Alternatively, we could add configuration settings corresponding to those behavior-changing options, and provide a single option (e.g., `--no-strict-compatibility`) that instructs `derivepassphrase` to honor those configuration settings, even if the resulting behavior differs from <i>vault</i>(1). |
|
| 17 |
+This alleviates the cognitive load on the user -- they only need to remember the `--no-strict-compatibility` options, not their specific collection of behavior change options. |
|
| 18 |
+It is also easily extendable to other passphrase derivation schemes and their original implementations. |
|
| 19 |
+ |
|
| 20 |
+<b>Therefore</b>, implement a common option to turn off strict command-line compatibility with <i>vault</i>(1) (and other original implementations of passphrase derivation schemes) and to honor behavioral change settings specified in the configuration. |
|
| 0 | 21 |