Skip to content

Commit

Permalink
Update server.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
Eugeny committed Dec 1, 2024
1 parent 22449e4 commit 469aa0c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions russh-keys/src/agent/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,9 @@ impl<S: AsyncRead + AsyncWrite + Send + Unpin + 'static, A: Agent + Send + Sync
writebuf.push(msg::SIGN_RESPONSE);
let data = Bytes::decode(r).unwrap();

dbg!(&key);
dbg!(&key.key_data());
dbg!(&data);
let signature = signature::Signer::try_sign(&*key, &data).unwrap();
signature.encoded().unwrap().encode(writebuf).unwrap();

Expand Down

0 comments on commit 469aa0c

Please sign in to comment.