Skip to content

Commit c66f4b0

Browse files
committed
fixed #198 - agent server - ed25519 key parsing
1 parent 43bdc07 commit c66f4b0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

russh-keys/src/agent/server.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,7 @@ impl<S: AsyncRead + AsyncWrite + Send + Unpin + 'static, A: Agent + Send + Sync
256256
let t = r.read_string()?;
257257
let (blob, key) = match t {
258258
b"ssh-ed25519" => {
259+
let _public = r.read_string()?;
259260
let pos1 = r.position;
260261
let concat = r.read_string()?;
261262
let _comment = r.read_string()?;

0 commit comments

Comments
 (0)