mirror of
https://github.com/Noratrieb/cluelessh.git
synced 2026-01-16 09:25:04 +01:00
verify signature
This commit is contained in:
parent
ae425fdefa
commit
3124e6a2ab
14 changed files with 373 additions and 36 deletions
|
|
@ -1,15 +1,23 @@
|
|||
pub mod authorized_keys;
|
||||
mod crypto;
|
||||
pub mod signature;
|
||||
|
||||
use crypto::{Cipher, Kdf};
|
||||
use cluelessh_transport::{
|
||||
key::PublicKey,
|
||||
parse::{self, Parser, Writer},
|
||||
};
|
||||
use crypto::{Cipher, Kdf};
|
||||
|
||||
// TODO: good typed error messages so the user knows what's going on
|
||||
|
||||
pub use crypto::{KeyGenerationParams, KeyType};
|
||||
|
||||
#[derive(Debug, Clone, PartialEq)]
|
||||
pub struct PublicKeyWithComment {
|
||||
pub key: PublicKey,
|
||||
pub comment: String,
|
||||
}
|
||||
|
||||
pub struct EncryptedPrivateKeys {
|
||||
pub public_keys: Vec<PublicKey>,
|
||||
pub cipher: Cipher,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue