git.schokokeks.org
Repositories
Help
Report an Issue
derivepassphrase.git
Code
Commits
Branches
Tags
Suche
Strukturansicht:
0917c48
Branches
Tags
documentation-tree
master
unstable/cli-parser-state-machine
wishlist
0.1.0
0.1.1
0.1.2
0.1.3
0.2.0
0.3.0
0.3.1
0.3.2
0.3.3
0.4.0
0.5
0.5.1
0.5.2
0.6
0.6.1
ssh-agent-socket-provider-1.0
derivepassphrase.git
sshagentsocketprovider
tests
fixtures
example-provider
src
derivepassphrase_sshagentsocketprovider_example
__init__.py
Build a full example SSH agent socket provider, and integration test it
Marco Ricci
commited
0917c48
at 2026-08-30 18:14:44
__init__.py
Blame
History
Raw
# SPDX-FileCopyrightText: 2026 Marco Ricci <software@the13thletter.info> # # SPDX-License-Identifier: Unlicense """Example SSH agent providers. We package three examples: 1. The `stdin_stdout` example is the simplest useful one. The provider exposes a virtual socket such that reading from the virtual socket reads from `sys.stdin`, and writing to the virtual socket writes to `sys.stdout`. 2. The `failure_response` example is a somewhat more complicated, but also more useful one. The provider creates a pseudo socket which answers every request with an `SSH_AGENT_FAILURE` response. 3. The `always_fail` example is very simple, but not very useful. The provider always fails to construct a socket. See the respective submodule for the code. """ __version__ = "0.0.0"