Recent commits to derivepassphrase.git (a9bd473172968db23d6b79c7a12ad7bdb9203d3c) https://git.schokokeks.org/derivepassphrase.git/tree/a9bd473172968db23d6b79c7a12ad7bdb9203d3c Recent commits feed provided by GitList. Accept all bytes-like objects as byte strings in the export subcommand This is a breaking API change, because some function return types have been widened. https://git.schokokeks.org/derivepassphrase.git/commit/a9bd473172968db23d6b79c7a12ad7bdb9203d3c software@the13thletter.info (Marco Ricci) Sat, 11 Jan 2025 19:04:57 +0100 a9bd473172968db23d6b79c7a12ad7bdb9203d3c Fix tests for rephrased "Cannot update the %s settings" message The rephrasing was introduced in 1b29904d789be7742119bfa06ce11aa5b7ffb6f9. https://git.schokokeks.org/derivepassphrase.git/commit/f2585c5ec1b1cb0f5bc7a2d924e294497696d9d6 software@the13thletter.info (Marco Ricci) Sat, 11 Jan 2025 18:51:01 +0100 f2585c5ec1b1cb0f5bc7a2d924e294497696d9d6 Fix translation string formatting of preformatted paragraphs Due to a sign error, the paragraph content was being dropped. And since we now actively include translation strings with preformatted paragraphs, include coverage tracking for this case. https://git.schokokeks.org/derivepassphrase.git/commit/70be2295f958ed99bac34e2adc469d6d94a68a11 software@the13thletter.info (Marco Ricci) Sat, 11 Jan 2025 16:33:03 +0100 70be2295f958ed99bac34e2adc469d6d94a68a11 Make debug and info messages from exporter subcommands translatable We add all debug and info messages from the `derivepassphrase export vault` subcommand to the translatable strings enums. We also improve several debug messages from the "inline calculation" style to the more easily translatable "tabular listing of relevant data" style. Two unimportant info messages were dropped: * Attempting to parse as v0.2 configuration * Attempting to parse as v0.3 configuration https://git.schokokeks.org/derivepassphrase.git/commit/fe7b6349a5c5781a4d1b1ecf16d976e43d0e7f95 software@the13thletter.info (Marco Ricci) Sat, 11 Jan 2025 16:28:48 +0100 fe7b6349a5c5781a4d1b1ecf16d976e43d0e7f95 Overhaul all other manpages and copyedit everything for consistency The top-level `derivepassphrase` command, and the subcommands `export` and `export vault` now have proper manpages (both manpage and online formats) similar to `derivepassphrase vault`. All manpages document the `--help`, `--version`, `--debug`, `--verbose` and `--quiet` options. If a command only delegates to subcommands, a SUBCOMMANDS section is now present, and the DESCRIPTION section has the subcommand listing deduplicated. The COMPATIBILITY section details compatibility only for this command, and refers to subcommand manpages as necessary. The new manpages do not tabulate their diagnostics yet, nor do they include examples. https://git.schokokeks.org/derivepassphrase.git/commit/a8c8e836c3a10834415a51e15a8cfadb1c752334 software@the13thletter.info (Marco Ricci) Sat, 11 Jan 2025 15:38:02 +0100 a8c8e836c3a10834415a51e15a8cfadb1c752334 Move manpage directory out of docs, to top-level The `docs` directory contains sources for the documentation website, to be uploaded to the WWW. While also "online" documentation (in the sense that they are browsable on the customer's computer system), manpages are not typically distributed online (in the WWW sense). Besides, the `docs` directory already contains a rendering of the manpage. https://git.schokokeks.org/derivepassphrase.git/commit/50a83cf2b55863760234c34f54c0ed8e69d30ac2 software@the13thletter.info (Marco Ricci) Wed, 08 Jan 2025 14:52:31 +0100 50a83cf2b55863760234c34f54c0ed8e69d30ac2 Merge topic branch 'usage-fixes' into master * t/usage-fixes: Incorporate revised wording from the manpage into the README https://git.schokokeks.org/derivepassphrase.git/commit/2b1ca491019b2366b079155ad2a40353814c21e2 software@the13thletter.info (Marco Ricci) Tue, 07 Jan 2025 23:42:07 +0100 2b1ca491019b2366b079155ad2a40353814c21e2 Incorporate revised wording from the manpage into the README The revised wording spells out the strength guarantee of the derivation scheme and the purpose of the configuration file more explicitly. We intentionally keep the introductory sentences (one-line description and first sentence of the first explanatory paragraph) different, because they have different contexts to work with; in particular, the manpage contains a synopsis section and can refer to the SERVICE metavar in its one-line description, whereas the README cannot, and should also mention SSH keys early. https://git.schokokeks.org/derivepassphrase.git/commit/43032ef813ac40a46e08eda067e015fafaa1475b software@the13thletter.info (Marco Ricci) Tue, 07 Jan 2025 23:36:49 +0100 43032ef813ac40a46e08eda067e015fafaa1475b Fix omissions of `tomli` (Python 3.9 and 3.10) and PyPy in the README https://git.schokokeks.org/derivepassphrase.git/commit/305e91f7e73693f0950def7f377273cad6286bb9 software@the13thletter.info (Marco Ricci) Tue, 07 Jan 2025 23:27:39 +0100 305e91f7e73693f0950def7f377273cad6286bb9 Add remaining re-linting changes (part 2 of 2) The remaining re-linting changes pertain to new linting codes: * TC006/runtime-cast-value (formerly TCH006) suggests that cast calls use stringified type declarations. Implemented. * B033/duplicate-value requires sets not to contain duplicate values. This is used in the `_types.js_truthiness` function to both test against and to document all of the falsy values except NaN. Ignored. * RUF043/pytest-raises-ambiguous-pattern requires patterns in the `match` argument of `pytest.raises` to be either raw strings, or passed through `re.escape`. Implemented. * RUF046/unnecessary-cast-to-int forbids explicitly casting the result of `math.ceil` to int. I believe `mypy`/`typeshed` originally had problems with this, but this no longer appears to be the case. Implemented. https://git.schokokeks.org/derivepassphrase.git/commit/b3fcb7eb5a39c0982bbcf859a7bfc0a3647093e4 software@the13thletter.info (Marco Ricci) Tue, 07 Jan 2025 22:44:39 +0100 b3fcb7eb5a39c0982bbcf859a7bfc0a3647093e4