Skip to main content

fakesshagent

PyPI - Version PyPI - Python Version

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

fakesshagent-0.1.tar.gz (51.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fakesshagent-0.1-py3-none-any.whl (26.1 kB view details)

Uploaded Python 3

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

Hashes for fakesshagent-0.1.tar.gz
Algorithm Hash digest
SHA256 88a9f4f310df8ae4a621cfdcd740ed3322c2564926733ab90f5541197afce082
MD5 f27a3125c4682a7831c8a1930f619591
BLAKE2b-256 5f2b77fb43d8fa780b3726c5c9d690ac2397f40ac5ada6ba7fab6d8182c9eb52

See more details on using hashes here.

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

Hashes for fakesshagent-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ee3a41b7d4552986b3e5a6410bc8b05118771dbdc687fb4f5b058b7200eaf519
MD5 20a7e354134683534d2785ec3a45739e
BLAKE2b-256 2526affd2af1228f46e226f3e7758f51e1cf9d619326916ea17257c26bcc7fc4

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page