Recent commits to derivepassphrase.git (0166a2edbd9c81df63e2d9fd5c057212d4ce6b45) https://git.schokokeks.org/derivepassphrase.git/tree/0166a2edbd9c81df63e2d9fd5c057212d4ce6b45 Recent commits feed provided by GitList. Allow testing for mismatched SSH agent communication Generalize the mocked SSH agent machinery for simulating error responses slightly, so that instead of passing one-to-one request/response pairs, we pass one-to-many request/list-of-responses pairs. Responses are kept on a queue, and the machinery asserts that the queue is empty at the end of the interaction. This new flexibility is not yet required anywhere, but will be used in the next commit. https://git.schokokeks.org/derivepassphrase.git/commit/0166a2edbd9c81df63e2d9fd5c057212d4ce6b45 software@the13thletter.info (Marco Ricci) Sat, 13 Jun 2026 18:52:55 +0200 0166a2edbd9c81df63e2d9fd5c057212d4ce6b45 Work around double-response for "query" extension from ssh-agent (OpenSSH 10.3) Detect and work around `ssh-agent` (OpenSSH 10.3 only) responding twice when answering a "query" extension request: once with the expected "extension response" or "success" message, and once with an unexpected/additional empty "success" message. We detect the extra empty "success" message in a generic and protocol compliant way, and re-align request-response-pair boundaries for any future requests. From the agent's perspective, the work-around does a read-only operation and should not change any permanent agent state, whether there are extra empty "success" messages or not. As written, the work-around tests specifically for output from OpenSSH 10.3, but is otherwise agnostic to the "extension response" message contents and could be easily adapted to trigger for other content patterns. https://git.schokokeks.org/derivepassphrase.git/commit/20bcd8f960b0655700905e9f20f807de15809188 software@the13thletter.info (Marco Ricci) Sat, 13 Jun 2026 18:52:55 +0200 20bcd8f960b0655700905e9f20f807de15809188 Split SSHAgentClient.request in two Factor out the serialization of the request message and the deserialization of the response message from `SSHAgentClient.request` into separate helper methods. `SSHAgentClient.request` now only contains the management of expected response codes, and the raising of errors if unexpected response codes are received. While this refactoring was unnecessary so far – requests and responses were always paired and aligned – the next piece of code I intend to commit requires handling unpaired responses, and will use only one of these helper methods. https://git.schokokeks.org/derivepassphrase.git/commit/ea78e13123d1ce64bf4e02c624497ae6c37a6b3f software@the13thletter.info (Marco Ricci) Sat, 13 Jun 2026 16:04:08 +0200 ea78e13123d1ce64bf4e02c624497ae6c37a6b3f Turn the SSH agent protocol message numbers into ints The `SSH_AGENT` and `SSH_AGENTC` types now inherit from `int`, because SSH agent protocol message numbers are 8-bit unsigned integers. This cuts down on a lot of (previously necessary) type conversion steps whenever mixed groups of message numbers were involved (e.g. the `SSHAgentClient.request` `response_code` argument), or when message numbers needed to be compared with each other (e.g. tests). https://git.schokokeks.org/derivepassphrase.git/commit/57e3b1ed832e865e9f9e8316f930b1beae3714f0 software@the13thletter.info (Marco Ricci) Sat, 13 Jun 2026 15:56:18 +0200 57e3b1ed832e865e9f9e8316f930b1beae3714f0 For SSH agent failures, print the raw response text For SSHAgentFailedError, include the raw response text in the error message. (Escaped, but not trimmed.) The response text is seldom textual in nature, and discarding non-printable parts of the text turns out to be much more of a hindrance than a help when debugging unexpected agent behavior. https://git.schokokeks.org/derivepassphrase.git/commit/6de63ce9751f3988ebd2255e169a4cc9d584c34f software@the13thletter.info (Marco Ricci) Sat, 13 Jun 2026 07:52:46 +0200 6de63ce9751f3988ebd2255e169a4cc9d584c34f Merge topic branch 'windows-named-pipes' into master * windows-named-pipes: Update the release checklist with PERMITTED_SSH_AGENTS and NON_REENTRANT_SSH_AGENTS https://git.schokokeks.org/derivepassphrase.git/commit/bb91119578d2d7e92ff5cb0f5954939a159871b1 software@the13thletter.info (Marco Ricci) Thu, 23 Apr 2026 19:31:54 +0200 bb91119578d2d7e92ff5cb0f5954939a159871b1 Merge topic branch 'documentation-todos' into master * documentation-todos: Document the choice between multiple master SSH keys/passphrases or not Document how to deal with regular passphrase rotation/rollover Document how to deal with "unsupported" special characters in derivepassphrase vault Document the tradeoffs between a master passphrase and a master SSH key Clean up future documentation ideas https://git.schokokeks.org/derivepassphrase.git/commit/4e8568da9db2b4fa4c6a61b9446088f750acb760 software@the13thletter.info (Marco Ricci) Mon, 06 Apr 2026 08:47:01 +0200 4e8568da9db2b4fa4c6a61b9446088f750acb760 Document the choice between multiple master SSH keys/passphrases or not Like the previous three documents, this one too is very preliminary, but the main points are all present. https://git.schokokeks.org/derivepassphrase.git/commit/6117ce9fda3a6ec5d686819b8ee7ca5f32bb0dc3 software@the13thletter.info (Marco Ricci) Sun, 05 Apr 2026 22:33:26 +0200 6117ce9fda3a6ec5d686819b8ee7ca5f32bb0dc3 Document how to deal with regular passphrase rotation/rollover Once more, the quality is "first draft" level, but the main points are all present. https://git.schokokeks.org/derivepassphrase.git/commit/3ebc21dca274dbbde24fd9a24349c87a8881d8ea software@the13thletter.info (Marco Ricci) Sun, 05 Apr 2026 21:50:47 +0200 3ebc21dca274dbbde24fd9a24349c87a8881d8ea Document how to deal with "unsupported" special characters in derivepassphrase vault Again, somewhat more of a first sketch than finished documentation, but the main points are present. https://git.schokokeks.org/derivepassphrase.git/commit/8777c7b774c03fa27eb2eadd7f45e6330056a563 software@the13thletter.info (Marco Ricci) Sun, 05 Apr 2026 21:02:18 +0200 8777c7b774c03fa27eb2eadd7f45e6330056a563