We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 217432c commit b05bcf4Copy full SHA for b05bcf4
1 file changed
src/lib/ssh_agent_client.ts
@@ -256,7 +256,7 @@ export class SSHAgentClient {
256
key: SSHKey,
257
seed: string,
258
): Promise<{ cipherKey: crypto.KeyObject; ivLength: number }> {
259
- if (key.type !== 'ssh-rsa' && key.type !== 'ssh-ed25519') {
+ if (/ecdsa/iu.test(key.type)) {
260
throw new Error(`${key.type} key is forbidden, it always gives different signatures!`)
261
}
262
// Use SSH signature as decryption key
0 commit comments