Recent commits to derivepassphrase.git (0ea17f021eb19d00de8d7583cab2cf260ce6ff1f) https://git.schokokeks.org/derivepassphrase.git/tree/0ea17f021eb19d00de8d7583cab2cf260ce6ff1f Recent commits feed provided by GitList. Avoid crashing when overriding key selection on the command-line 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. https://git.schokokeks.org/derivepassphrase.git/commit/0ea17f021eb19d00de8d7583cab2cf260ce6ff1f m@the13thletter.info (Marco Ricci) Sun, 28 Jul 2024 17:12:05 +0200 0ea17f021eb19d00de8d7583cab2cf260ce6ff1f Shift misplaced local function https://git.schokokeks.org/derivepassphrase.git/commit/81017d35332bb146b991e34c9a9d51964ee23486 m@the13thletter.info (Marco Ricci) Sun, 28 Jul 2024 15:31:09 +0200 81017d35332bb146b991e34c9a9d51964ee23486 Merge topic branch 'issue6-config-directory-must-exist' into master * t/issue6-config-directory-must-exist: Create the configuration directory upon saving, if needed Isolate tests properly and consistently from user configuration GitHub: Closes #8, closes #6. https://git.schokokeks.org/derivepassphrase.git/commit/a980a643275de28f7715241790f199f947f637f4 m@the13thletter.info (Marco Ricci) Sun, 28 Jul 2024 15:06:12 +0200 a980a643275de28f7715241790f199f947f637f4 Create the configuration directory upon saving, if needed Do not error out during the first attempt at saving the configuration, where the configuration directory probably does not yet exist. On an unrelated note, fix one typo in `derivepassphrase.cli` and a missing dependency in the hatch environment for type checking. https://git.schokokeks.org/derivepassphrase.git/commit/204af5e376b662d18fb20f00351e30386c309c30 m@the13thletter.info (Marco Ricci) Sun, 28 Jul 2024 15:02:34 +0200 204af5e376b662d18fb20f00351e30386c309c30 Isolate tests properly and consistently from user configuration Running the tests on a machine which already had a broken derivepassphrase configuration (e.g., invalid JSON in the `settings.json` file) previously caused some unrelated tests to fail for that reason. Therefore, apply isolation to *all* tests calling the command-line interface. https://git.schokokeks.org/derivepassphrase.git/commit/8fdf780f166e815f08cdcd3c27b034501794b8c0 m@the13thletter.info (Marco Ricci) Sun, 28 Jul 2024 14:27:31 +0200 8fdf780f166e815f08cdcd3c27b034501794b8c0 Merge topic branch 'offline-documentation' into master * t/offline-documentation: Add alternate MkDocs configuration for building offline documentation https://git.schokokeks.org/derivepassphrase.git/commit/a38220164c60deecc5aa45c50997ffde4a632353 m@the13thletter.info (Marco Ricci) Mon, 22 Jul 2024 14:06:02 +0200 a38220164c60deecc5aa45c50997ffde4a632353 Add alternate MkDocs configuration for building offline documentation https://git.schokokeks.org/derivepassphrase.git/commit/61739bc58a1dd15e32f10ef05b935e33c163eda4 m@the13thletter.info (Marco Ricci) Mon, 22 Jul 2024 14:05:42 +0200 61739bc58a1dd15e32f10ef05b935e33c163eda4 Merge topic branch 'mypy-strict-typing' into master * t/mypy-strict-typing: Add mypy configuration to also check tests Fix typing issues in mypy strict mode Fix import from stdlib module types Add bitseq function in tests for more readable notation https://git.schokokeks.org/derivepassphrase.git/commit/966ae765251075ca74023e6dbf04013a87e28951 m@the13thletter.info (Marco Ricci) Mon, 22 Jul 2024 13:45:47 +0200 966ae765251075ca74023e6dbf04013a87e28951 Add mypy configuration to also check tests This was already done earlier, but the configuration was not yet committed. https://git.schokokeks.org/derivepassphrase.git/commit/299944db1b956f6078a5c1d794aa10e0e3649cd4 m@the13thletter.info (Marco Ricci) Mon, 22 Jul 2024 13:39:05 +0200 299944db1b956f6078a5c1d794aa10e0e3649cd4 Fix typing issues in mypy strict mode https://git.schokokeks.org/derivepassphrase.git/commit/fc8c8f924a2a6876f3f954579e2ad170834a71de m@the13thletter.info (Marco Ricci) Mon, 22 Jul 2024 13:37:03 +0200 fc8c8f924a2a6876f3f954579e2ad170834a71de