Code Monkey home page Code Monkey logo

Comments (7)

Nihildum avatar Nihildum commented on May 24, 2024 1

Thanks for the answer. Using the compute to load the key solver the issue with the connection.

What do you mean in "bcrypt, which is a password hashing algorithm and is slow by design" with "slow by design". Slow in order to take long or slow because it needs a lot of computations?

Nevertheless, the application still hangs on the cat of the file.

from dartssh2.

Nihildum avatar Nihildum commented on May 24, 2024

P.S.: My ssh key is an 4096 RSA key. With https://pub.dev/packages/ssh2 I did not had these problem, but there the release version of my App was not working properly.

from dartssh2.

xtyxtyx avatar xtyxtyx commented on May 24, 2024

The algorithm used in encrypted private keys is bcrypt, which is a password hashing algorithm and is slow by design. You can use the compute function to move the computation to other isolates, as described in README.

from dartssh2.

vanlooverenkoen avatar vanlooverenkoen commented on May 24, 2024

@Nihildum did you find a solution? I have the same issue with any interaction of the package

from dartssh2.

Nihildum avatar Nihildum commented on May 24, 2024

I switched technology in my project. The ssh connection to the server was used in first prototype. When I implemented a real server with protobuf, I no longer neded the dartssh2 package.

from dartssh2.

vanlooverenkoen avatar vanlooverenkoen commented on May 24, 2024

Unfortunately I don't have that option

from dartssh2.

vanlooverenkoen avatar vanlooverenkoen commented on May 24, 2024

@xtyxtyx I am just using username & onPasswordRequest. Is there a way to prevent the main thread from blocking? Or do you have an idea on how we can prevent this in general?

from dartssh2.

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.