You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attempting to connect to SFTP server with the following setup, it seems that the algo value of sha1 is rejected by Deno during the verify call in crypto/sig.ts.
Funnily enough if I intercept the value and change it to sha-1 (by manually editing the call at verify in registry.npmjs.org/ssh2/1.15.0/lib/protocol/keyParser.js:408:18) it is accepted but then fails further in the code when creating a hash,
Version: Deno 1.44.0
Attempting to connect to SFTP server with the following setup, it seems that the algo value of
sha1
is rejected by Deno during the verify call incrypto/sig.ts
.Funnily enough if I intercept the value and change it to
sha-1
(by manually editing the call atverify
inregistry.npmjs.org/ssh2/1.15.0/lib/protocol/keyParser.js:408:18
) it is accepted but then fails further in the code when creating a hash,Fails with Unknown digest algorithm: sha1
Stacktrace if the algo value is changed to
sha-1
atregistry.npmjs.org/ssh2/1.15.0/lib/protocol/keyParser.js:408:18
I am able to connect to the SFTP server via sftp client (see FileZilla screenshot below)
Code sample
The text was updated successfully, but these errors were encountered: