fakesshagent
A non-hardened implementation of the SSH agent protocol, for use in testing.
fakesshagent was originally written to test derivepassphrase's SSH agent interactions.
As such, fakesshagent also registers as an abstract SSH agent socket provider for derivepassphrase.
(The implementation is based on memory buffers, not external I/O with sockets.)
In this first release, fakesshagent provides exactly the operations needed for use with derivepassphrase:
listing available keys, and deterministically signing a fixed message (if possible with this key type), for a set of known test keys.
See the wishlist for planned features of subsequent releases.
Installation
fakesshagent is a pure Python package, and may be easily installed with any pip-compatible Python package manager such as pip, pipx, or uv.
pip install fakesshagent
fakesshagent requires Python 3.9 or higher as well as the typing-extensions package and the derivepassphrase-sshagentsocketprovider package for its core functionality and programmatic interface.
License
fakesshagent is distributed under the terms of the zlib/libpng license.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fakesshagent-0.1.tar.gz.
File metadata
- Download URL: fakesshagent-0.1.tar.gz
- Upload date:
- Size: 51.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
Hatch/1.18.0 {"ci":null,"cpu":"x86_64","distro":{"id":"forky","libc":{"lib":"glibc","version":"2.42"},"name":"Debian GNU/Linux","version":"n/a"},"implementation":{"name":"CPython","version":"3.13.12"},"installer":{"name":"hatch","version":"1.18.0"},"openssl_version":"OpenSSL 3.6.2 7 Apr 2026","python":"3.13.12","system":{"name":"Linux","release":"7.0.7+deb14-amd64"}} HTTPX2/2.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
88a9f4f310df8ae4a621cfdcd740ed3322c2564926733ab90f5541197afce082
|
|
| MD5 |
f27a3125c4682a7831c8a1930f619591
|
|
| BLAKE2b-256 |
5f2b77fb43d8fa780b3726c5c9d690ac2397f40ac5ada6ba7fab6d8182c9eb52
|
File details
Details for the file fakesshagent-0.1-py3-none-any.whl.
File metadata
- Download URL: fakesshagent-0.1-py3-none-any.whl
- Upload date:
- Size: 26.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
Hatch/1.18.0 {"ci":null,"cpu":"x86_64","distro":{"id":"forky","libc":{"lib":"glibc","version":"2.42"},"name":"Debian GNU/Linux","version":"n/a"},"implementation":{"name":"CPython","version":"3.13.12"},"installer":{"name":"hatch","version":"1.18.0"},"openssl_version":"OpenSSL 3.6.2 7 Apr 2026","python":"3.13.12","system":{"name":"Linux","release":"7.0.7+deb14-amd64"}} HTTPX2/2.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ee3a41b7d4552986b3e5a6410bc8b05118771dbdc687fb4f5b058b7200eaf519
|
|
| MD5 |
20a7e354134683534d2785ec3a45739e
|
|
| BLAKE2b-256 |
2526affd2af1228f46e226f3e7758f51e1cf9d619326916ea17257c26bcc7fc4
|