Recent commits to derivepassphrase.git (51155a114a8eae81a0306fb4f266db4568683c90) https://git.schokokeks.org/derivepassphrase.git/tree/51155a114a8eae81a0306fb4f266db4568683c90 Recent commits feed provided by GitList. Recognize ssh-ed448 keys as deterministic https://git.schokokeks.org/derivepassphrase.git/commit/51155a114a8eae81a0306fb4f266db4568683c90 m@the13thletter.info (Marco Ricci) Sat, 08 Jun 2024 19:06:56 +0200 51155a114a8eae81a0306fb4f266db4568683c90 Fix documentation link to `sequin.Sequin` https://git.schokokeks.org/derivepassphrase.git/commit/a4df8dddcd5458e9fab8d41a3a3531daf88772c7 m@the13thletter.info (Marco Ricci) Sat, 08 Jun 2024 19:06:56 +0200 a4df8dddcd5458e9fab8d41a3a3531daf88772c7 Fix character set subtraction logic Use a static method, and treat both the original character set and the subtracted character set as sets (i.e. no repetitions allowed). https://git.schokokeks.org/derivepassphrase.git/commit/1e5d605177a2f2a4441c99ca1515efaa55449697 m@the13thletter.info (Marco Ricci) Sat, 08 Jun 2024 19:06:56 +0200 1e5d605177a2f2a4441c99ca1515efaa55449697 Fix repeated character detection logic in passphrase generation The prototype implementation is based off a JavaScript program, and is clumsy to read and hard to verify if translated directly to Python. (It also interacts badly with type checking.) Rewrite the check in a pythonic manner, from scratch, that is much easier to verify. https://git.schokokeks.org/derivepassphrase.git/commit/407bbddff031476549ae018bbe5de566a3b1f738 m@the13thletter.info (Marco Ricci) Sat, 08 Jun 2024 19:06:56 +0200 407bbddff031476549ae018bbe5de566a3b1f738 Use neutral arguments in `Vault.create_hash` signature Currently, when generating a passphrase from an SSH key signature, `derivepassphrase.Vault.create_hash` requires the user to know the role of the `key` and `message` arguments themselves; in particular, it requires the user to add the vault UUID to the message themselves. The fact that the vault UUID is added to the hashing input is an implementation detail, as should be the fact that one of the arguments is a key and the other is a salt value to a key-derivation function. Put these details only into the docstring's description section, not the argument names; rename them to `phrase` and `service`, respectively. https://git.schokokeks.org/derivepassphrase.git/commit/eb649f6489030b7e1ce4dc764713df4165725be5 m@the13thletter.info (Marco Ricci) Sat, 08 Jun 2024 19:06:56 +0200 eb649f6489030b7e1ce4dc764713df4165725be5 Add test for service name byte string types https://git.schokokeks.org/derivepassphrase.git/commit/a9eb9aefb6a0d9c5555e16141435664382cb1cbe m@the13thletter.info (Marco Ricci) Sat, 08 Jun 2024 19:06:56 +0200 a9eb9aefb6a0d9c5555e16141435664382cb1cbe Add unit tests, both new and doctest-converted doctests which are not pedagogical, but unit test-y in nature, are better off rewritten as proper unit tests. https://git.schokokeks.org/derivepassphrase.git/commit/5403acefe8c2e2872ab3f884401115ab2419caf5 m@the13thletter.info (Marco Ricci) Tue, 21 May 2024 00:40:13 +0200 5403acefe8c2e2872ab3f884401115ab2419caf5 Fix numerous argument type or range errors https://git.schokokeks.org/derivepassphrase.git/commit/50749ca2a633eb4d8275de7e9dff586417c79af6 m@the13thletter.info (Marco Ricci) Tue, 21 May 2024 00:40:13 +0200 50749ca2a633eb4d8275de7e9dff586417c79af6 Add prototype implementation Plumbing only; there is no user interface yet. The code type-checks, but has been only superficially tested for correctness in the Python interactive prompt. API documentation is written, but probably also of "first draft" quality, and other kinds of documentation (usage, design) are missing completely. https://git.schokokeks.org/derivepassphrase.git/commit/474934db470dda3de512b98eba629ba1a835ded5 m@the13thletter.info (Marco Ricci) Sun, 19 May 2024 00:24:09 +0200 474934db470dda3de512b98eba629ba1a835ded5 Import initial project files https://git.schokokeks.org/derivepassphrase.git/commit/16c26e1d7207f75f79d2f342bfa87913fa09a84d m@the13thletter.info (Marco Ricci) Sun, 05 May 2024 11:57:20 +0200 16c26e1d7207f75f79d2f342bfa87913fa09a84d