Coder Social home page Coder Social logo

bad sigbloblen when using keyauth about ssh2 HOT 7 CLOSED

mscdex avatar mscdex commented on May 29, 2024
bad sigbloblen when using keyauth

from ssh2.

Comments (7)

mscdex avatar mscdex commented on May 29, 2024

Can you try this with the current master branch and let me know if the problem persists?

from ssh2.

arlac77 avatar arlac77 commented on May 29, 2024

Hello,
after updating ssh2 module with:

    npm -g install git://github.com/mscdex/ssh2.git

    MD5 (./agent.js) = e3172af239b72a8483e4afa781888915
    MD5 (./Channel.js) = 4b9ab56a22d5eb40498f76354fa03563
    MD5 (./Connection.js) = 376a4ea0be5c61b7338885dc10428920
    MD5 (./keyParser.js) = a91a87384f914af8f15612de7ea616c5
    MD5 (./Parser.constants.js) = c16627abcd1232d43677a16542061bfa
    MD5 (./Parser.js) = d137579bdedf7f018f284943ccd1ff86
    MD5 (./SFTP/SFTPv3.js) = dcbc25a5dd8e78283061202917de395c

I still get the

    sshd[4614]: fatal: bad sigbloblen 47 != SIGBLOB_LEN

error on the sshd server site.

Am 20.11.2012 um 23:30 schrieb Brian White [email protected]:

Can you try this with the current master branch and let me know if the problem persists?


Reply to this email directly or view it on GitHub.

from ssh2.

mscdex avatar mscdex commented on May 29, 2024

What size (bits) is the DSA key? DSA keys must be 1024 bits IIRC.

from ssh2.

mscdex avatar mscdex commented on May 29, 2024

Nevermind, I see the problem now. I will be pushing a fix for this shortly.

The technical explanation for this is OpenSSL is returning DER-encoded signed data, whereas OpenSSH is expecting just the raw values (two integers) back to back which should always be exactly 40 bytes.

from ssh2.

mscdex avatar mscdex commented on May 29, 2024

If you get a chance, can please try the current master branch again?

from ssh2.

arlac77 avatar arlac77 commented on May 29, 2024

Hello,
my (pub-)key has 1024 bits:

ssh-keygen -lf /Users/markus/.ssh/id_dsa.pub
1024 69:23:b3:d6:e9:44:59:76:4c:f3:ed:f4:32:18:06:a1 [email protected] (DSA)

Am 21.11.2012 um 18:37 schrieb Brian White [email protected]:

Nevermind, I see the problem now. I will be pushing a fix for this shortly.

The technical explanation for this is OpenSSL is returning DER-encoded signed data, whereas OpenSSH is expecting just the raw values (two integers) back to back which should always be exactly 40 bytes.


Reply to this email directly or view it on GitHub.

from ssh2.

arlac77 avatar arlac77 commented on May 29, 2024

works with version 0.1.1

from ssh2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.