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.
Metadata
Release files for fakesshagent 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fakesshagent-0.1.tar.gz | 51.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fakesshagent-0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 77.8 kB
Release files / fakesshagent-0.1.tar.gz
| Download URL | fakesshagent-0.1.tar.gz |
|---|---|
| Size | 51.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
88a9f4f310df8ae4a621cfdcd740ed3322c2564926733ab90f5541197afce082
|
|
BLAKE2b-256 checksum How to use checksums |
5f2b77fb43d8fa780b3726c5c9d690ac2397f40ac5ada6ba7fab6d8182c9eb52
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / fakesshagent-0.1-py3-none-any.whl
| Download URL | fakesshagent-0.1-py3-none-any.whl |
|---|---|
| Size | 26.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ee3a41b7d4552986b3e5a6410bc8b05118771dbdc687fb4f5b058b7200eaf519
|
|
BLAKE2b-256 checksum How to use checksums |
2526affd2af1228f46e226f3e7758f51e1cf9d619326916ea17257c26bcc7fc4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|