openssh-keys
A pure-Rust library to handle OpenSSH public keys.
openssh-keys
can parse, print, and fingerprint OpenSSH public keys.
It supports the following algorithms:
- RSA
- DSA
- ECDSA (nistp256, nistp384, nistp521)
- ED25519
It can construct RSA and DSA keys from their components using the PublicKey::from_rsa()
and
PublicKey::from_dsa()
functions respectively.
Example
extern crate openssh_keys;
use ;
use BufRead;
Some more examples are available under examples.
Release process
Releases can be performed by creating a new release ticket and following the steps in the checklist there.
License
Licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.