Registry / crypto / openssh-keys

openssh-keys

JSON →
library0.6.5rscratesunverified

Read and write OpenSSH public keys in various formats.

# Cargo.toml [dependencies] openssh-keys = "0.6.5"
INSTALL
IMPORT
SIG · OPENSSH-KEYS
O
openssh-keys
cryptorustv0.6.5
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

PublicKey
use openssh_keys::PublicKey;

Parses an OpenSSH public key from PEM format and prints its comment.

use openssh_keys::PublicKey; fn main() { let pem = "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQ..."; let key = PublicKey::parse(pem).expect("valid key"); println!("Key comment: {:?}", key.comment()); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.6.5latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
8
Meta
2
Amazon
1
Resources
openssh-keys — cargo add openssh-keys · libregistry