https://git.schokokeks.org/derivepassphrase.git/tree/4f6950f50ec0762fa2f9f378739379b71f23ac11Recent commits to derivepassphrase.git (4f6950f50ec0762fa2f9f378739379b71f23ac11)2024-08-03T21:48:58+02:00tag:gitlist.org,2012:commit/4f6950f50ec0762fa2f9f378739379b71f23ac11Update documentation to use new module names2024-08-03T21:48:58+02:00Marco Riccim@the13thletter.info
<pre>Let the documentation reflect the moving and splitting of modules in
26973402aac5d216a66ae3fc8f2d7bcb0fd7ea89. The filenames are still
mostly the same, to keep links alive where possible.
Because the module list is now more tree-like than list-like, yet still
very small as a whole, abandon the table format in favor of a hierarchy
of (Markdown/HTML) lists.
</pre>
tag:gitlist.org,2012:commit/4c743695b4dd6e60507cbc47001664b9bd31a59eAnnotate settings and selections in pyproject.toml2024-07-28T22:44:39+02:00Marco Riccim@the13thletter.info
<pre>Annotate all extra dependencies or configuration choices that I may
otherwise forget the reasoning for in the long run.
</pre>
tag:gitlist.org,2012:commit/8c9ca812be07a78de272aad82c08251cbaae5164Consolidate `types` submodules into combined `_types` submodule2024-07-28T22:26:40+02:00Marco Riccim@the13thletter.info
<pre>Merge the submodules `types` and `ssh_agent.types` into a new submodule
`_types`. This naming avoids a clash with the standard library, which
in turn causes bizarre import errors when other code tries to import and
then introspect the parent modules.
Due to the new and shorter naming, some module or package imports have
been rephrased, which causes deceivingly large-looking formatting
changes.
</pre>
tag:gitlist.org,2012:commit/26973402aac5d216a66ae3fc8f2d7bcb0fd7ea89Move `sequin` and `ssh_agent_client` submodules below `derivepassphrase`2024-07-28T21:32:08+02:00Marco Riccim@the13thletter.info
<pre>These modules were already strongly coupled to `derivepassphrase`, and
prone to namespace collisions (particularly `ssh_agent_client`).
Furthermore, maintaining the author and version information in three
top-level modules is error-prone.
A direct inclusion of `sequin` and `ssh_agent_client` revealed
a circular import, so the bulk of `derivepassphrase` was delegated to
a new submodule `derivepassphrase.vault`. This also yields a cleaner
import graph. Also, because the shorter name makes more sense in this
context, rename `derivepassphrase.ssh_agent_client` to
`derivepassphrase.ssh_agent`.
The two `types` submodules are not yet consolidated.
</pre>
tag:gitlist.org,2012:commit/d9bee4515def7baad405b069112f6c886b051f47Add Material settings for versioning2024-07-28T20:51:10+02:00Marco Riccim@the13thletter.info
<pre>...most notably, the "outdated version" warning.
</pre>
tag:gitlist.org,2012:commit/e5b04417ba0cb10a834c59d0a7d6e1b99ea31e37Deploy versioned documentation with `mike`2024-07-28T19:56:43+02:00Marco Riccim@the13thletter.info
<pre>In anticipation of v1.0 and more potential stable branches to follow,
set up the documentation such that each major development branch gets
its own documentation directory.
</pre>
tag:gitlist.org,2012:commit/df4e33299f059c55211861f029e2f58d8081e164Release 0.1.32024-07-28T17:55:12+02:00Marco Riccim@the13thletter.info
<pre></pre>
tag:gitlist.org,2012:commit/be038ab19c69b16a2bcaedaca70398f0cab46005Reformulate some current changelog messages before release2024-07-28T17:39:07+02:00Marco Riccim@the13thletter.info
<pre></pre>
tag:gitlist.org,2012:commit/d000e7cbd2cfdfd86f614a9f65acea039baeff70Merge topic branch 'issue5-cli-k-option' into master2024-07-28T17:22:02+02:00Marco Riccim@the13thletter.info
<pre>* t/issue5-cli-k-option:
Avoid crashing when overriding key selection on the command-line
Shift misplaced local function
GitHub: Closes #5.
</pre>
tag:gitlist.org,2012:commit/0ea17f021eb19d00de8d7583cab2cf260ce6ff1fAvoid crashing when overriding key selection on the command-line2024-07-28T17:12:05+02:00Marco Riccim@the13thletter.info
<pre>A control-flow error resulted in there being a code path where both
`phrase` and `key` arguments were passed to the `derivepassphrase.Vault`
constructor, which does not take a `key` argument.
So, unconditionally discard the `key` argument from the dict of
arguments to pass to the `derivepassphrase.Vault` constructor. This
also allows streamlining the preceding phrase and key handling logic
somewhat.
For the tests, add further aliases for the second and third dummy keys,
because the comprehensive regression test for this bug needs three
different sources of key selection.
</pre>