Recent commits to derivepassphrase.git (986509a3106caaec52888c75820b2406eee266c4) https://git.schokokeks.org/derivepassphrase.git/tree/986509a3106caaec52888c75820b2406eee266c4 Recent commits feed provided by GitList. Restructure testing data and testing machinery tests for better coverage We restructure `tests.data.SUPPORTED_KEYS` and `tests.data.UNSUPPORTED_KEYS`, introducing a third category `tests.data.CONDITIONALLY_SUPPORTED_KEYS` that contains the DSA-class entries from the `UNSUPPORTED_KEYS` table, which are suitable for use with vault if the agent supports deterministic DSA signatures. We then test the stub SSH agent's sign operation against these conditionally supported keys as well, for the "with deterministic DSA" variant of the stub agent. This improves code coverage, because although such code paths were previously already exercised in other tests of the test suite, with this change, the `test_000_testing_machinery` module alone is sufficient to achieve full code coverage on the stub SSH agent, in all three variations. Since we plan to extract the stub SSH agent from derivepassphrase's test suite, the `test_000_testing_machinery` module alone contains all the necessary code to test the extracted stub SSH agent (and its test keys). https://git.schokokeks.org/derivepassphrase.git/commit/986509a3106caaec52888c75820b2406eee266c4 software@the13thletter.info (Marco Ricci) Sat, 29 Aug 2026 19:17:34 +0200 986509a3106caaec52888c75820b2406eee266c4 Fix typing and linting errors after tool upgrade https://git.schokokeks.org/derivepassphrase.git/commit/ac34e6c40a56671408768c19c0cd41eadde9bfc3 software@the13thletter.info (Marco Ricci) Sat, 29 Aug 2026 18:45:38 +0200 ac34e6c40a56671408768c19c0cd41eadde9bfc3 Update hatch use to "hatch check", and ruff to >= 0.16.0 As part of the ruff upgrade, the hatch configuration uses rule names now instead of rule codes. The code still uses the rule codes, because these are currently the only non-tool-specific notation available. https://git.schokokeks.org/derivepassphrase.git/commit/5276e72ac685e9dac43372dee273f0f5d384738c software@the13thletter.info (Marco Ricci) Sat, 29 Aug 2026 18:35:09 +0200 5276e72ac685e9dac43372dee273f0f5d384738c Fix minor mistakes in old changelog entries - The `"correctness"/"regression" split` phrase does not break properly in the browser when used with quotes. The browser appears to have trouble finding the word boundaries in this case. - The entry for the introduction of SSH agent socket providers mentions that an Annoying OS-specific provider is yet to be written, even though two entries further down, that same socket provider is being introduced. https://git.schokokeks.org/derivepassphrase.git/commit/677616ff0f82e91293ae0a14dafa10dbffebceab software@the13thletter.info (Marco Ricci) Sat, 29 Aug 2026 18:03:13 +0200 677616ff0f82e91293ae0a14dafa10dbffebceab Document recent test suite changes in the changelog - Mention the "import unavailable" simulation, and the resulting reduction in test configurations. - Mention that Python 3.15 is now supported (and tested). https://git.schokokeks.org/derivepassphrase.git/commit/94ad2e5b3e6a2a82fc136d8f5c101126cee90aa2 software@the13thletter.info (Marco Ricci) Sat, 29 Aug 2026 18:01:11 +0200 94ad2e5b3e6a2a82fc136d8f5c101126cee90aa2 Update compatibility info for Python 3.15 https://git.schokokeks.org/derivepassphrase.git/commit/27d47606610d2a44be4ebb3c7e6721aac35c25ce software@the13thletter.info (Marco Ricci) Sat, 29 Aug 2026 17:32:01 +0200 27d47606610d2a44be4ebb3c7e6721aac35c25ce Repair the --version output test for derivepassphrase export vault The test was no longer triggering the fallback behavior for when the "export" extra/the "cryptography" library was not available. Partially, this was because we now need to parametrize this test for both cases, but forgot to do so. Partially, this was *also* because querying the installed version of "cryptography" needs to be separately mocked, beyond just blocking the import. https://git.schokokeks.org/derivepassphrase.git/commit/25d4b90f83405a030224b2f52cb0951c76e75ef6 software@the13thletter.info (Marco Ricci) Sun, 23 Aug 2026 17:23:09 +0200 25d4b90f83405a030224b2f52cb0951c76e75ef6 Officially support and test on Python 3.15 Currently at release candidate 1. https://git.schokokeks.org/derivepassphrase.git/commit/caddac1d8b253aa4cb561016904bc26dfb3cc3c2 software@the13thletter.info (Marco Ricci) Sun, 23 Aug 2026 14:58:43 +0200 caddac1d8b253aa4cb561016904bc26dfb3cc3c2 Fix hypothesis dependency on PyPy 3.9 and PyPy 3.10 Because `hypothesis` requires a Rust toolchain for building 6.156 and higher, and because this is not installable on PyPy 3.10 and lower, pin `hypothesis` to 6.155.* and lower on PyPy 3.9 and 3.10. This was already broken for quite some time, but cropped up again after redoing the virtualenvs in commit 4fbfed4a4de887bd35f295863ea7548989024bf7. https://git.schokokeks.org/derivepassphrase.git/commit/9897a0ee0a6a8093813ec4b797811c9058fa4c8c software@the13thletter.info (Marco Ricci) Sun, 23 Aug 2026 12:56:29 +0200 9897a0ee0a6a8093813ec4b797811c9058fa4c8c Always test the "no cryptography support" scenario, shrinking the test matrix Even when the `cryptography` library is available, we test the fallback behavior of `derivepassphrase export vault` by inhibiting the loading of `cryptography`. As a result, we no longer need a separate testing environment for the "no cryptography support" case, and can therefore halve the number of configurations in our testing matrix. We also no longer need some associated configuration and helper objects. In hindsight, I cannot believe I never tried to do a web search on how to inhibit loading of a module in Python, and rather assumed that just because pytest does not prominently offer a dedicated top-level function or a dedicated `monkeypatch` method, that this is not supported. But seeing the underlying documentation for `importlib.import_module` and the documentation of how `sys.modules[...] = None` affects the module resolution, it becomes immediately obvious that this can be handled with monkeypatching, and does not need a separate virtualenv. https://git.schokokeks.org/derivepassphrase.git/commit/4fbfed4a4de887bd35f295863ea7548989024bf7 software@the13thletter.info (Marco Ricci) Sun, 23 Aug 2026 12:44:07 +0200 4fbfed4a4de887bd35f295863ea7548989024bf7