We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7598a17 commit 70c657bCopy full SHA for 70c657b
src/lib/ssh_agent_client.ts
@@ -151,7 +151,7 @@ export class SSHAgentClient {
151
let offset = writeHeader(req, Protocol.SSH2_AGENTC_SIGN_REQUEST)
152
offset = writeString(req, key.raw, offset)
153
offset = writeString(req, data, offset)
154
- req.writeUInt32BE(this.rsaSignatureFlag, offset)
+ req.writeUInt32BE(key.type === 'ssh-rsa' ? this.rsaSignatureFlag : 0, offset)
155
return req
156
}
157
0 commit comments