Skip to main content

Module ssh

Module ssh 

Source
Expand description

Traits for converting keys to and from OpenSSH format.

Re-exportsยง

use tor_error::internal; ๐Ÿ”’
use tor_key_forge::ErasedKey; ๐Ÿ”’
use tor_key_forge::KeyType; ๐Ÿ”’
use tor_key_forge::SshKeyAlgorithm; ๐Ÿ”’
use tor_key_forge::SshKeyData; ๐Ÿ”’
use crate::Result; ๐Ÿ”’
use crate::keystore::arti::err::ArtiNativeKeystoreError; ๐Ÿ”’
use std::path::PathBuf; ๐Ÿ”’
use zeroize::Zeroizing; ๐Ÿ”’

Macrosยง

parse_openssh ๐Ÿ”’
Parse an OpenSSH key, returning its corresponding SshKeyData.

Structsยง

UnparsedOpenSshKey ๐Ÿ”’
An unparsed OpenSSH key.

Functionsยง

ssh_algorithm ๐Ÿ”’
Get the algorithm of this key type.