package ssh-agent
Build not checkedInstall
dune-project
Dependency
Authors
Maintainers
Sources
sha256=f3e931d8c7eeac926cf353079d653a2a2757e238af3a45555d5cab1d8460a956
sha512=66d520e731f04690baa846d78f1c01f9eefb7e61e58a2326725f96c174ecd43335982af33649f8ac34c952a7f45577f023a6a1856a41cc9fedc99770a5a2eca3
Description
Added to opam-repository:
README
OCaml ssh-agent
An ssh-agent protocol implementation in OCaml.
This library offers angstrom/faraday parsers/serializers for the ssh agent protocol as well as some helper functions for implementing an ssh-agent. In the cmd/ directory you find two simple example applications:
ssh_add: this application connects to$SSH_AUTH_SOCK, generates a private key (rsa or ed25519 are supported), adds it to the ssh-agent and exits. Note that it doesn't save the public key anywhere or removes it from the agent, and is only good for polluting your ssh-agent with random keys. You may want to write the public key to a file and then remove it from the agent usingssh-add -d path-to-key.pub.ssh_agent_server: this application listens on a socketocaml-ssh-agent.sockin CWD, and implements a very basic ssh-agent. It supports adding keys, removing keys and signing using rsa or ed25519 keys. It does not support concurrent connections and is not suitable for Production Use™.
These applications are not built by default. To build or run them using dune you must do so manually:
$ dune build cmd/ssh_add.exe cmd/ssh_agent_server.exe # to build
$ dune exec -- cmd/ssh_add.exe --help # to run ssh_add
$ dune exec -- cmd/ssh_agent_server.exe # to run ssh_agent_serverFor the Qubes OS unikernel using this library see qubes-mirage-ssh-agent.
Dependencies (9)
- cstruct
-
mirage-crypto-ec
< "1.0.0" -
mirage-crypto-pk
< "1.0.0" -
mirage-crypto
< "1.0.0" -
faraday
>= "0.6" -
angstrom
>= "0.15.0" -
ppx_cstruct
build & >= "5.2.0" -
dune
>= "1.0" -
ocaml
>= "4.08.0"
Dev Dependencies (2)
-
alcotest
with-test -
mirage-crypto-rng
with-test & < "0.11.0"
Optional Dependencies
None
Used by
None
Build status
Results of building ssh-agent with each compiler on check.ci.ocaml.org, run of against opam-repository 8d8d144. All results for this package.
Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.
This version is not in the latest run; the versions below are.
| Version | OCaml 4.11 | OCaml 4.14 | OCaml 5.2 | OCaml 5.4 | OCaml 5.5 |
|---|---|---|---|---|---|
| 0.5.0 | n/a | good | good | good | good |
| 0.4.1 | good | good | good | good | good |
- good Package successfully built
- partial One of the dependencies failed to build
- bad Package failed to build
- n/a Package is not available in this environment
- internal Internal failure