https://github.com/dnaeon/rust-sshkeys
Rust library for reading OpenSSH public keys and certificates
https://github.com/dnaeon/rust-sshkeys
openssh parsing rust ssh-keys
Last synced: 5 months ago
JSON representation
Rust library for reading OpenSSH public keys and certificates
- Host: GitHub
- URL: https://github.com/dnaeon/rust-sshkeys
- Owner: dnaeon
- License: other
- Created: 2017-10-06T14:23:16.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2025-06-27T09:00:33.000Z (6 months ago)
- Last Synced: 2025-07-01T09:45:21.987Z (6 months ago)
- Topics: openssh, parsing, rust, ssh-keys
- Language: Rust
- Size: 131 KB
- Stars: 16
- Watchers: 2
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
## sshkeys - Rust library for parsing OpenSSH public keys and certificates
[](https://github.com/dnaeon/rust-sshkeys/actions/workflows/test.yaml/badge.svg)
[](https://docs.rs/sshkeys/)
The `sshkeys` crate is a Rust library, which provides types and methods for
parsing OpenSSH public keys and certificates.
In order to use this crate in your project, simply add the following to your
`Cargo.toml` file.
```toml
[dependencies]
sshkeys = "0.3.3"
```
## Tests
In order to test this crate locally, execute the following command.
```bash
$ cargo test
```
## Documentation
The `sshkeys` crate has documentation, which you can build and view locally.
```bash
$ cargo doc --open
```
## Examples
For examples on how to use this crate, please refer to the `examples` directory.
In order to run an example, simply execute the following command.
```bash
$ cargo run --example
```
## Contributions
The `sshkeys` crate is hosted on [Github](https://github.com/dnaeon/rust-sshkeys).
Please contribute by reporting issues, suggesting features or by
sending patches using pull requests.
## License
This project is Open Source and licensed under the
[BSD License](http://opensource.org/licenses/BSD-2-Clause).