mirror of
https://github.com/Noratrieb/cluelessh.git
synced 2026-01-14 16:35:06 +01:00
improvements to privsep
This commit is contained in:
parent
85c4480938
commit
cbf00dc6ff
10 changed files with 689 additions and 282 deletions
|
|
@ -18,6 +18,7 @@ pub fn signature_data(session_id: [u8; 32], username: &str, pubkey: &PublicKey)
|
|||
s.finish()
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
pub enum Signature {
|
||||
Ed25519 { signature: ed25519_dalek::Signature },
|
||||
EcdsaSha2NistP256 { signature: p256::ecdsa::Signature },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue