https://git.schokokeks.org/derivepassphrase.git/tree/a9025de171c37b4a8ba78945906e800616c1d9a3 Recent commits to derivepassphrase.git (a9025de171c37b4a8ba78945906e800616c1d9a3) 2025-01-29T15:36:12+01:00 tag:gitlist.org,2012:commit/a9025de171c37b4a8ba78945906e800616c1d9a3 Adjust coverage on vault tests for error-only code paths 2025-01-29T15:36:12+01:00 Marco Ricci software@the13thletter.info <pre>Code paths in the tests that only do error handling due to factors beyond their control (here: unsatisfied hypothesis assumptions, or re-raising the error) should not be counted towards coverage. &lt;/pre&gt; tag:gitlist.org,2012:commit/45152120fe7dbcfdac8ba2786507a3bad882be53 Adjust docstrings for vault "symbol" character class 2025-01-29T15:33:36+01:00 Marco Ricci software@the13thletter.info <pre>The "dash" class is a subset of "symbol", so we can't talk about "all hitherto unlisted ASCII printable characters", but should list the exceptions explicitly. &lt;/pre&gt; tag:gitlist.org,2012:commit/689cf84c5396b0d92909c554d5c2a75453c55c24 Make the vault UUID and CHARSETS attributes public 2025-01-29T15:28:07+01:00 Marco Ricci software@the13thletter.info <pre>They are constants, they are not priviledged information, and having to keep indirectly referring to them instead of directly is rather irritating. &lt;/pre&gt; tag:gitlist.org,2012:commit/7dc1d96b25a124f2f599e261c168928bc375a677 Let `Vault` accept Buffer-type values wherever it accepts bytes 2025-01-29T15:07:21+01:00 Marco Ricci software@the13thletter.info <pre>Any method that accepts `bytes` and `bytearray` now also accepts arbitrary Buffer-type classes such as `memoryview` and `array.array`. The return values (mostly `bytes`, sometimes `bytearray`) remain unchanged. &lt;/pre&gt; tag:gitlist.org,2012:commit/4b53216d8b2115fb794a23a8b17d9c8a00af4ed2 Merge topic branch 'equivalent-hmac-keys' into master 2025-01-28T14:30:28+01:00 Marco Ricci software@the13thletter.info <pre>* t/equivalent-hmac-keys: Document the vault "interchangable passphrases" artefact in the changelog Reformat "vault" tests Document the vault "interchangable passphrases" artefact as an FAQ Detect (and test for) pairs of interchangable vault passphrases Add hypothesis-based test for service name dependence of derived passphrases &lt;/pre&gt; tag:gitlist.org,2012:commit/e0810c5d6b0cf4f2549c8354bfe020c35b211c41 Merge topic branch 'documentation-fixes' into master 2025-01-28T14:30:21+01:00 Marco Ricci software@the13thletter.info <pre>* t/documentation-fixes: (24 commits) Move commands' `--help` tests out of transition group Make CLI testing helper functions, data and strategies public Add hypothesis-based service name type tests for the "vault" module Signal failed assumptions instead of passing tests in the "vault" module Document hypothesis examples for "vault" tests the proper way Rearrange hypothesis tests in the `vault` module Rearrange hypothesis tests in the `ssh_agent` module Add more hypothesis tests for the `ssh_agent` module Fix improper `re` escape pattern in `ssh_agent` tests Add hypothesis tests for the `exporter` module Add hypothesis tests for the `sequin` module Remove use of the monkeypatch test fixture in favor of the context manager Prefilter some hypothesis candidate lists before sampling Add a "flaky" hypothesis profile to find flaky tests Fix test output on PyPy 3.9 due to differing error message texts Move repetitive hypothesis strategy definition to separate functions Explicitly test JS truthiness of NaN Allow test key suitability check to be dependent on the connected agent Make multiple private test attributes and functions public Add hypothesis inventory to documentation ... &lt;/pre&gt; tag:gitlist.org,2012:commit/57540d34c623df38829850936d85a6864618938a Document the vault "interchangable passphrases" artefact in the changelog 2025-01-28T14:09:47+01:00 Marco Ricci software@the13thletter.info <pre>&lt;/pre&gt; tag:gitlist.org,2012:commit/5ff8445cd241e69f31093a7848b305f902e2739f Move commands' `--help` tests out of transition group 2025-01-28T11:03:57+01:00 Marco Ricci software@the13thletter.info <pre>These tests aren't specific to the v1.0 transition, and if we still want to keep them in some way or another, they should probably outlast v1.0. &lt;/pre&gt; tag:gitlist.org,2012:commit/f3dd59c5f9cb04aad5a979485deea2b2ec30d1fa Make CLI testing helper functions, data and strategies public 2025-01-28T00:15:01+01:00 Marco Ricci software@the13thletter.info <pre>Make these helpers public in the sense that they get picked up by the API documentation generator. &lt;/pre&gt; tag:gitlist.org,2012:commit/6a7423c92f8bda8e46e632f282bce18d4be673d7 Reformat "vault" tests 2025-01-27T19:46:57+01:00 Marco Ricci software@the13thletter.info <pre>Reformat the "vault" tests. This includes retiring the `Vault` type alias and using the proper Google-style `vault.Vault` instead, because the API documentation does not correctly resolve this type alias otherwise. &lt;/pre&gt;