Crate mnemossh

Source
Expand description

Mnemossh - A library for generating and managing Ed25519 SSH keys using BIP-39 mnemonic phrases

This library provides functionality to:

  • Generate SSH keys from mnemonic phrases
  • Create new mnemonic phrases and corresponding SSH keys
  • Save and load keys in OpenSSH format
  • Verify key integrity against mnemonic phrases
  • Handle keys securely in memory

Re-exports§

pub use crypto::keys::KeyPair;
pub use crypto::keys::generate_keypair_from_mnemonic;
pub use crypto::keys::generate_new_keypair_with_mnemonic;
pub use crypto::mnemonic::Mnemonic;
pub use crypto::mnemonic::MnemonicLength;

Modules§

cli
Command-line interface for the mnemossh utility Command-line interface for MnemoSSH.
crypto
Cryptographic functionality for mnemossh
utils
Utility functions for file operations, path handling, and other helpers

Structs§

KeyGenConfig
Core configuration for key generation

Enums§

Error
Error types for the mnemossh library

Functions§

default_ssh_key_path
Constructs a default path for storing SSH keys

Type Aliases§

Result
Main result type for the mnemossh library